Game Maker help..

For discussion of non-Wonderland topics - please read rules!

Moderators: ~xpr'd~, tyteen4a03, Stinky, Emerald141, Qloof234, jdl

Post Reply
User avatar
Sammy_P
Rainbow SuperStar
Posts: 2903
Joined: Fri May 11, 2007 9:01 pm
Location: he/they land
Contact:

Game Maker help..

Post by Sammy_P » Tue Apr 19, 2011 12:51 am

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. :)
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Tue Apr 19, 2011 12:53 am

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
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Tue Apr 19, 2011 12:54 am

Whoops... The smilies are supposed to be 8)
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Tue Apr 19, 2011 12:54 am

See, this is one of the many reasons why we need the edit button back.
User avatar
Sammy_P
Rainbow SuperStar
Posts: 2903
Joined: Fri May 11, 2007 9:01 pm
Location: he/they land
Contact:

Post by Sammy_P » Tue Apr 19, 2011 12:56 am

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?
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Tue Apr 19, 2011 1:00 am

Yes, but that's pseudocode. You'll need to do the thing using the drag and drop.
Post Reply