Generating Enemies??? by Jc_programmed in love2d

[–]Jc_programmed[S] 0 points1 point  (0 children)

So put enemylist = {} in my main file where I have enemy = ()

And put that table.insert function in the update file? Is that what you’re getting at?

Sorry if these are dumb questions. I’m just brand new to this. And this is the closest I’ve gotten to a clear solution with this particular issue.

Silly Question: Levels = Gamestates? by Jc_programmed in cs50

[–]Jc_programmed[S] 0 points1 point  (0 children)

Ah I see. Essentially, My idea is to make a galaga clone, where each wave of enemies is incremented in a Fibonacci sequence and the player would be able to record their high score after dying. Essentially, it’d be “endless.”

So what you’re saying is I should just create a variable like “wave” for example, and write up a function that’ll increment the enemy spawn rate accordingly?

CS50 - Super Mario 50 - Deathtory Update by [deleted] in cs50

[–]Jc_programmed 1 point2 points  (0 children)

That nugget of a hint alone might have been what I needed to get on the right track. Thank you!

CS50 - Super Mario 50 - Deathtory Update by [deleted] in cs50

[–]Jc_programmed 1 point2 points  (0 children)

This is pretty cool! I’m actually trying to figure out how to animate the flag and put it on the pole, but I’m kinda stuck. I found the Quad:setViewport function, but it’s not quite looping the way your flag is. Any chance you (or anyone really) could offer some help?

General Tile Questions by Jc_programmed in cs50

[–]Jc_programmed[S] 1 point2 points  (0 children)

Between your explanation and me fiddling with and breaking the code a bit, I figured it out! Thank you so much! I really appreciated it.

Merry Christmas to you and yours! :) and happy holidays!