• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

SOLVED A Problem About Draw Event

GryAsl

Member
Actually i dont know how to say this problem to you guys, but I have videos!



When i do something about camera in game everything in draw events is go to a little bit left. how can I fix this?
 
Last edited:

Nocturne

Friendly Tyrant
Forum Staff
Admin
It's the text alignment. You must be setting it before you draw the text box that pops up but NOT before the HUD text, so the HUD text then gets the new alignment from the text box. By default text will be left aligned (which is what your HUD appears to be), but if you set it anywhere else, then all text will be drawn with the new alignment. So, basically, always add draw_set_halign() before drawing text. :)
 
Top