Of course, the occasional Infinite loop is also a common mistake to me... :V
Almost every time I go to iterate over an array with a while loop, I forget the "i++", resulting in a crashed Danmakufu and me smacking myself for forgetting it again. Considering that I always use arrays instead of tasks to handle multiple similar objects, this occurs with far too high a frequency. :V
I keep typing CreateShota myself :/
Why ascent/descent is superior.Don't think I've had a really stupid moment since getting my erase() call wrong, but sometimes it takes me far longer to iron out my math-generated constructs than it should.
What do you mean I forgot the angle and speed parameters mixed up?! a 90 speed flying red blur flying 4 degrees isnt as deadly as you think it is
I accidentally added an extra zero onto the laser length, which also meant that it stayed on-screen for ten times as long. Note the 600 DPS.
ascent (i in 0..36) { CreateShotA(1, GetX, GetY, 0); SetShotDataA(1, 0, 0, i*10, 0, 0.2, 8, GREEN21); }
Code: [Select] ascent (i in 0..36) { CreateShotA(1, GetX, GetY, 0); SetShotDataA(1, 0, 0, i*10, 0, 0.2, 8, GREEN21); }
I'll start.Once I took 16 hours over the course of two days to find out why my sprite wasn't appearing.The answer: Drawloop vs DrawLoop
while(Obj_BeDeleted(obj)==false){...
while(Obj_Delete(obj)==false){...