Petri consumes glögg and codes with you
- JohnWordsworth
- Posts: 1397
- Joined: Fri Sep 14, 2012 4:19 pm
- Location: Devon, United Kingdom
- Contact:
Re: Petri consumes glögg and codes with you
Would it be possible to display a cinematic mid-game?
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
Re: Petri consumes glögg and codes with you
I say doors alternate directions if not too big to handle...petri wrote:Cheers JohnWordsworth !
Hmm, what next...? dialoque & ai requests are too big to handle right now...
And i second this proposal.JohnWordsworth wrote:Would it be possible to display a cinematic mid-game?
Cutscenes support would be great to have !
Last edited by LordYig on Tue Dec 04, 2012 8:29 pm, edited 1 time in total.
Re: Petri consumes glögg and codes with you
If you ever are at an empty queue (somehow, I doubt), a way to enumerate and remove connectors could be helpful.
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
Re: Petri consumes glögg and codes with you
@Petri, thanks a lot for doing this.
It shows a picture for duration seconds and returns (x,y) pair when clicked. If the timing is a problem, even simpler showImage("something.tga") would do.
That would be sufficient to do scripted events (extremely useful for EOB events). We could than draw as many buttons as we want and get them "clicked".
p.s.
Does it mean that if you ship more glögg to you, you'll do more coding with us?
This can be even simpler: showImage("dumdedum.tga", duration);JohnWordsworth wrote:@Xanathar: I like it! Either that or showDialog("background.tga", {"button01.tga", x, y, "button02.tga", x2, y2}, function(buttonIndex)); {Where the function is a callback that takes the clicked button index}.
It shows a picture for duration seconds and returns (x,y) pair when clicked. If the timing is a problem, even simpler showImage("something.tga") would do.
That would be sufficient to do scripted events (extremely useful for EOB events). We could than draw as many buttons as we want and get them "clicked".
p.s.
Does it mean that if you ship more glögg to you, you'll do more coding with us?
Re: Petri consumes glögg and codes with you
They don't?! Better fix it then - we want those twin fireball shooters, don't we?JKos wrote:Or you can just remove all offset arguments because they don't seem to work Anyway thanks a lot!petri wrote:
Ok, added optional 15th (!!) argument championOrdinal to shootProjectile.
shootProjectile should really use named arguments......
Re: Petri consumes glögg and codes with you
A related question, is it possible to view cinematics from the editor without having to export the dungeon?JohnWordsworth wrote:Would it be possible to display a cinematic mid-game?
Re: Petri consumes glögg and codes with you
Done:
- bug fix: shootProjectile's offsetX, offsetY, offsetZ parameters don't work
- bug fix: shootProjectile's offsetX, offsetY, offsetZ parameters don't work
Re: Petri consumes glögg and codes with you
I could really use some help with viewtopic.php?f=14&t=4437 this, if you have a moment to look.
Basically it's a variation on the "is the right item in the alcove" puzzle, but with 3 items, 6 alcoves and 2 solutions. Grimwold gave me a bit of code, but it threw an error. Sorry if it's too noob. Thanks for your time!
Basically it's a variation on the "is the right item in the alcove" puzzle, but with 3 items, 6 alcoves and 2 solutions. Grimwold gave me a bit of code, but it threw an error. Sorry if it's too noob. Thanks for your time!
My finished mods:
A Curious Conundrum http://grimrock.nexusmods.com/mods/135 also on Steam Workshop
Current WIP:
Lair of Unarak http://grimrock.nexusmods.com/mods/137
A Curious Conundrum http://grimrock.nexusmods.com/mods/135 also on Steam Workshop
Current WIP:
Lair of Unarak http://grimrock.nexusmods.com/mods/137
Re: Petri consumes glögg and codes with you
What about showing a single image + returning clicked position on it? That's a bare minimum to implement dialogues.petri wrote:Hmm, what next...? dialoque & ai requests are too big to handle right now...
If it's too big now, please think about this later. It seems simple to implement and would be extremely powerful - scripted events, dialogues, choices, shops, zoom-ins on mechanisms etc.
Re: Petri consumes glögg and codes with you
Custom gui/dialogue support, I would like to do this at some point but it's easily lot more work than it initially seems....