Petri consumes glögg and codes with you

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: Petri consumes glögg and codes with you

Post by JKos »

WOW, that's really awesome. And you are lightning fast.
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: Petri consumes glögg and codes with you

Post by JKos »

How about onKeyPress(key) hook? I can bring you moar glögg (pirusti lisää glögiä). I live in Espoo :D
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
User avatar
Diarmuid
Posts: 807
Joined: Thu Nov 22, 2012 6:59 am
Location: Montreal, Canada
Contact:

Re: Petri consumes glögg and codes with you

Post by Diarmuid »

Whaaaat? Crazy! Petri you are amazing.
User avatar
thomson
Posts: 337
Joined: Thu Sep 13, 2012 9:55 pm
Location: R'lyeh
Contact:

Re: Petri consumes glögg and codes with you

Post by thomson »

petri wrote:http://i.imgur.com/VdTj3.jpg
And this is how it's done:
Amazing piece of fine work. I bow to your superb coding skills, sir!
[MOD] Eye of the Beholder: Waterdeep sewers forum sources; Grimtools (LoG1 -> LoG2 converter) sources
User avatar
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

Post by JohnWordsworth »

*Bows down to Petri*

That's really awesome. With that in mind a party:onShowMenu(menuScreen={inventory, map}) and party:onHideMenu() hook would be super cool, because then we could show screen elements only when in the inventory (water meter). (Might be possible already?)

Just a quick thought, would the screen coordinates be better as normalised values (0-1) or perhaps we will need a getScreenSize() method to do this ourselves?
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Petri consumes glögg and codes with you

Post by petri »

JohnWordsworth wrote:Just a quick thought, would the screen coordinates be better as normalised values (0-1) or perhaps we will need a getScreenSize() method to do this ourselves?
g.width and g.height return the screen dimensions.
User avatar
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

Post by JohnWordsworth »

petri wrote:g.width and g.height return the screen dimensions.
Of course you'd thought of that - I should never had doubted you! :p

Oh man, that GUI code sets everything free. You'll be able to have all sorts of puzzles and even animated items / bars on the GUI. I can picture books of lore and all sorts appearing now :).
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
User avatar
thomson
Posts: 337
Joined: Thu Sep 13, 2012 9:55 pm
Location: R'lyeh
Contact:

Re: Petri consumes glögg and codes with you

Post by thomson »

JohnWordsworth wrote:... because then we could show screen elements only when in the inventory (water meter). (Might be possible already?)
We'll soon be able to die out of thirst! Yay! :)
[MOD] Eye of the Beholder: Waterdeep sewers forum sources; Grimtools (LoG1 -> LoG2 converter) sources
User avatar
Kuningas
Posts: 268
Joined: Wed Apr 11, 2012 10:29 pm
Location: Northern Finland

Re: Petri consumes glögg and codes with you

Post by Kuningas »

Bad news, I don't have any Glögg.

The good news is that amazing things are happening in this topic!
BASILEUS
User avatar
crisman
Posts: 305
Joined: Sat Sep 22, 2012 9:23 pm
Location: Italy

Re: Petri consumes glögg and codes with you

Post by crisman »

thomson wrote:
JohnWordsworth wrote:... because then we could show screen elements only when in the inventory (water meter). (Might be possible already?)
We'll soon be able to die out of thirst! Yay! :)
Ah, a water bar is exactly what I need for my thirsty script!! ^_^

Anyway, good job Petri! :D
Post Reply