Devlog #1: Everything before I put this on itch


So, As you can see, I made a game. So, How did I do it?

Well... First, I made a player, originally it used WASD controls to move. Then I made the Red Square Enemies. These Guys move Towards the player, trying to ram into them. Then I made the bluey greeny triangle  guy, They are like the Red Square But they move to where they think the player will be. This took a lot of work, figuring out how it would work, now, I'm no Mathematician, but luckily, this awesome guy I know, Is, so I asked him for help and he worked hard, and I was very confused as I watched him write letters and numbers on a page. After a few attempts he was surprised at how difficult the problem was, so I did what I did before asking that guy to help, I googled it again, and found a super simple algorithm, that, while it is really easy to Implement, Isn't that accurate. But worked so I went with it. Next was the background character AI(You can't actually find them in the game as of now, but I will add them in future) they basically have three behaviors: Move To A Point, Dodge Obstacles and Move In The Same Direction As Everyone Else. These behaviors all have weights which is basically how much they prioritize a certain behavior. Then Came The Pink Diamond Enemy. I have died to this enemy much more than any other, they basically use the same prediction algorithm as the Triangle Enemy but shoot projectiles at that spot instead of moving to it. Then, Originally there was going to be an enemy that would pick up other enemies and YEET them at the player as hard as they could, but there were a lot of bugs like how it would strangely throw the enemies too fast and insta-kill the player if they got too close, so I scrapped that enemy, maybe It'll appear in the game in the future, I don't know. Then came the dropper(the purple rectangle), The player moves far too fast for the dropper to catch up to them, so the dropper itself will rarely kill you, but the dropper is very dangerous, it spawns other enemies around itself which will then try to kill the player. Then came the camera shake, I looked this one up and found a small tutorial which I then proceeded to Ignore and spend half an hour writing my own script. Because, y'know, efficiency. And then I coded up a win state, which throws the player into a new randomly generated level. And a lose state, In which the player is sent back to the main menu. Then I made some small changes like how if there is only one enemy left the game spawns another one so you can actually win the level, and I also made it so enemies will not spawn too close to the player because every now and again you would enter a level and instantly die because an enemy spawned on you or within a centimeter of you.

Files

Roguelike Game.zip 11 MB
Jan 05, 2022

Get The Creation Engine

Leave a comment

Log in with itch.io to leave a comment.