is there a way to make the draw event mot a step event because i want to add money to the amount of money in the game but it adds that amont of money every step. and it needs to be in the draw event because the money is only given if a certain thing is drawn
draw event help
Started by Kill..., May 17 2012 12:14 AM
4 replies to this topic
#1
Posted 17 May 2012 - 12:14 AM
#2
Posted 17 May 2012 - 01:08 AM
You can't make the draw event not run every frame (your objects won't be drawn then...)
It does not actually have to be in the draw event for that though. There are probably a few ways of doing it, but I will have to know a little bit more. Could you post your code?
It does not actually have to be in the draw event for that though. There are probably a few ways of doing it, but I will have to know a little bit more. Could you post your code?
#3
Posted 17 May 2012 - 01:20 AM
never mind i just figured it out, but thxYou can't make the draw event not run every frame (your objects won't be drawn then...)
It does not actually have to be in the draw event for that though. There are probably a few ways of doing it, but I will have to know a little bit more. Could you post your code?
#4
Posted 17 May 2012 - 04:51 PM
You can disable the draw event with set_automatic_draw (false) and use screen_redraw () to draw the screen at any time you want.
#5
Posted 18 May 2012 - 09:02 AM
This question does not follow the Advanced Section Rules. Please post in the correct forum in future.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











