Monkey
Store
Community
Apps
Contact
Login or Signup

stack question

Monkey Programming Forums/Monkey Programming/stack question

silentshark(Posted 1+ years ago) 
Just trying to debug some of my code..

one line is confusing me. I'm using "Push" to create a new sprite object - here's the code - bullets.Push New Bullet_Sprite

This works fine most of the time.

This afternoon, though, I got an "Array index out of range" error on this line? Any thoughts, guys?

(have seen the error in HTML5 and Flash)