Fangames > Programming Questions
show step counter
Sudnep:
Are you using the built in timeline in gamemaker?
Or are you using something like this
--- Code: ---STEPCOUNTER += 1
switch(STEPCOUNTER) {
case 1:
rngCherryAttack();
break;
}
--- End code ---
or this
--- Code: ---STEPCOUNTER += 1
if STEPCOUNTER = 1 { rngCherryAttack() };
--- End code ---
----------------------------
If you're using the built in timeline's provided by gamemaker (im dumb and mis-read what you typed. this is probably what you want):
--- Code: ---draw_set_alpha(1);
draw_set_color(c_black); // change color depending on what the background color is
draw_text(x,y,object.timeline_position); // change object to whatever object is running the timeline
--- End code ---
Taprus:
Wow, thank you, it works now! :atkHappy: I was using the built in timeline function.
Im just bad with GM, so yeah
Navigation
[0] Message Index
[*] Previous page
Go to full version