Page 1 of 1

Game Maker help..

Posted: Tue Apr 19, 2011 12:51 am
by Sammy_P
I need help to keep stuff at the top-left part of the screen..
Like in ET2, where your gropple counter and your health is at the top-left part of the screen all the time..help?

I'll thank you. :)

Posted: Tue Apr 19, 2011 12:53 am
by MyNameIsKooky
My code for displaying the Gropples (this is in a Draw event, by the way):

at position (view_xview+6,view_yview+8) draw text: Gropples:
at position (view_xview+80,view_yview+8) draw the value of: global.gropples

Posted: Tue Apr 19, 2011 12:54 am
by MyNameIsKooky
Whoops... The smilies are supposed to be 8)

Posted: Tue Apr 19, 2011 12:54 am
by MyNameIsKooky
See, this is one of the many reasons why we need the edit button back.

Posted: Tue Apr 19, 2011 12:56 am
by Sammy_P
at position (view_xview+6,view_yview+8) draw text: Gropples:
at position (view_xview+80,view_yview+8) draw the value of: global.gropples


Does this work?

Posted: Tue Apr 19, 2011 1:00 am
by MyNameIsKooky
Yes, but that's pseudocode. You'll need to do the thing using the drag and drop.