Zabicka
Member
Create Event:
Step Event:
I was using this piece of code for multiple things in my projects
and I was wondering if I could make it smaller or just more compact.
Is there a different way to do this?
Code:
timer = 0;
Code:
if (timer < 0) {
timer = 10;
// Some other code
} else {
--timer;
}
and I was wondering if I could make it smaller or just more compact.
Is there a different way to do this?