Search found 3 matches
- Sat May 20, 2017 8:44 pm
- Forum: Support and Development
- Topic: Bullets Disappearing when removing them during ipairs loop.
- Replies: 2
- Views: 2353
Bullets Disappearing when removing them during ipairs loop.
Hello! I'm having an issue that you may be able to notice with this file . When bullets are colliding with minions or enemies, sometimes but not every time there are extra bullets off to the side that are removed which shouldn't be. The relevant line of code is likely line 30 of bullet.lua. That's w...
- Tue Jan 31, 2017 5:26 pm
- Forum: Support and Development
- Topic: Bug trying to spawn bullets from a specific enemy position
- Replies: 3
- Views: 5394
Re: Bug trying to spawn bullets from a specific enemy position
Wow thanks! I don't know if I would have ever noticed that...
I'm not really concerned with optimization/good programming techniques for this game, so I've sort of just been making spaghetti code. That's why nothing is ideal/looks good haha. Thanks!
I'm not really concerned with optimization/good programming techniques for this game, so I've sort of just been making spaghetti code. That's why nothing is ideal/looks good haha. Thanks!
- Tue Jan 31, 2017 1:24 am
- Forum: Support and Development
- Topic: Bug trying to spawn bullets from a specific enemy position
- Replies: 3
- Views: 5394
Bug trying to spawn bullets from a specific enemy position
My issue is in enemy.lua and I have commented where the bug is. I have enemies in an arrangement, a timer counts down and it picks a random enemy to spawn the bullet from. Global bullet timer, random enemy each time. Seemingly at random, it crashes the game. Spawning minions might make crashes more ...