Page 7 of 10
Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:30 pm
by JKos
WOW, that's really awesome. And you are lightning fast.
Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:32 pm
by JKos
How about onKeyPress(key) hook? I can bring you moar glögg (pirusti lisää glögiä). I live in Espoo

Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:32 pm
by Diarmuid
Whaaaat? Crazy! Petri you are amazing.
Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:36 pm
by thomson
Amazing piece of fine work. I bow to your superb coding skills, sir!
Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:37 pm
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?
Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:39 pm
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.
Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:40 pm
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

.
Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:45 pm
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!

Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:47 pm
by Kuningas
Bad news, I don't have any Glögg.
The good news is that amazing things are happening in this topic!
Re: Petri consumes glögg and codes with you
Posted: Tue Dec 04, 2012 9:48 pm
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!
