Search found 3 matches
- Tue Mar 14, 2017 12:48 pm
- Forum: Support and Development
- Topic: Help: Spawning multiple enemies at set locations
- Replies: 4
- Views: 3873
Re: Help: Spawning multiple enemies at set locations
Oh, sorry. I figured it out I think. It had something to do with my directories in my ide. It was running a different version of my main.lua which did not have any of the changes to spawn the enemies. Thank you for the help.
- Tue Mar 14, 2017 12:42 pm
- Forum: Support and Development
- Topic: Help: Spawning multiple enemies at set locations
- Replies: 4
- Views: 3873
Re: Help: Spawning multiple enemies at set locations
That was a typo from retyping the code a few times. However, I put in two calls to the spawnEnemy, but it is still not spawning more than one. I am thinking that it is just drawing it with the draw function, but somehow the logic for the spawnEnemy function is not working. I can get one to spawn, bu...
- Mon Mar 13, 2017 8:29 pm
- Forum: Support and Development
- Topic: Help: Spawning multiple enemies at set locations
- Replies: 4
- Views: 3873
Help: Spawning multiple enemies at set locations
Hello. I am trying to learn love2d, and decided to follow a youtube tutorial (https://www.youtube.com/watch?v=FeLljv5clnw&t=689s). However, I cannot get multiple enemies to spawn, and I am pretty sure I am following the instructions correctly. Please take a look at my code and let me know what I...