So would table.insert(listofEnemies, Enemy()) go in my update function on main? Underneath Enemy:update(dt)?
I'm sorry If this is a dumb question. I'm still trying to wrap my head around coding as a whole.
Search found 2 matches
- Mon Jan 11, 2021 6:26 pm
- Forum: Support and Development
- Topic: Help Generating Enemies from Enemy Class
- Replies: 3
- Views: 5707
- Sun Jan 10, 2021 9:36 pm
- Forum: Support and Development
- Topic: Help Generating Enemies from Enemy Class
- Replies: 3
- Views: 5707
Help Generating Enemies from Enemy Class
Hey everyone. This is my first time posting anything on this forum. The long story short, I've taken on CS50 through Harvard and I've made it all the way to the final project. And here is where the problem arises: I'm creating a sort of Galaga clone for my final project, and I've hit a major road bl...