#HUD in a 2D space.
46 messages · Page 1 of 1 (latest)
what
Not really a "coin hud".
yes it is
The things you collect give you POINTS, not the amount you get.
How about you tell us what it's supposed to look like and what have you tried so far?
Well, we kinda did some placeholder art already.
We just need the coding part.
i dont know how to tell the draw event to follow the camera
Yeah.
what.
All HUD goes there most of the time.
oh
Racoon...
well my main problem was to follow the camera
The coordinates there range from 0/0 at the top-left and GUI width/height at the bottom-right.
Not affected by the camera.
We also kinda need help on how the Hell you actually code it in-
no i think i know how
Oh?
You sure?
Last time you said that it was a complete disaster.
draw_set_halign(fa_left);
draw_set_valign(fa_top);
draw_sprite(sCoins)```
like that
but
i dont really know what to exacly put in these 2
What "coins"-
The x and y coordinates to draw your sprite at.
And this 👆
OH
Also, draw_set_halign() and draw_set_valign() have nothing to do with sprites, those are for text.