Coding & Logic & Fantastic Flights

Flying away~

My list of work this week has been less visual or exciting so I haven’t posted much of it here.

First I created the bits of code that control the character. This is very much a work in progress, but the character can be controlled with the WASD keys, space, and the mouse.

Next I created code that allowed the player to pick up various items and store them in a C# list. I didn’t decide on an inventory for this game, but it’s still very much in the cards.

The third item, which I’m still working on, is the enemy movement.

As you can see in the tweet above, it hasn’t been going smoothly. My current struggle is figuring out how to code it so that the keyper can knock the player back when they collide.

The idea is that the keyper rushes into you, knocks you down, and takes the keys away from you.

Then it will rush around returning the keys to their starting positions.

Author: Ean

Dork.