Week #2 – Alpha
|
Compared to my first week I implemented a ton more & learnt twice that. ![]() Week #2 – My Activities and Progress What did I do last Week? What have I done this week? How did I Program Everything? *Enemy 2: The Second Enemy I implemented with a bit more code/assets to it. For this Enemy I wanted it to fly withing range of the Player to shoot at it, stop a certain distance away from the Player, and finally have it retreat when the player moved towards it. I plan on coming back to this code eventually as I believe there were many different ways I could have handled the way I coded the enemy, currently there is way too much code and I am sure that once I get better I can improve the quality of its movement as right now it feels very static and boring. I mostly used player location to code every part of the enemy movement + shooting. *Enemy 2 Projectile: This projectile once shot by the enemy will move to player position when it was fired and once it reaches its destination will explode. Any player hit by the projectile + the explosion will sustain much more damage than one that only gets hit by the explosion. The coding for this was fairly simple and was mostly unworthy of mentioning specifics. *Teleportation: This was by far the most fun bit of coding I have had to figure out so far! We wanted our Player to be able to teleport to the mouse position by spending Aether (our in game mana) and deal damage to all enemies upon arrival. This was done simply by finding the mouse position, converting its coordinates to the player coordinates, and then simple as that the ship moves. Once the ship has teleported I basically reused the code for the enemy projectile explosion so our ship could hard enemies upon arrival. To use this ability in the first place the Player has to spend aether which created another side coding job where I had to make sure the ship spent aether/Was unable to teleport if it had none left. Implementing our Aether bar made for some interesting errors in our project. ![]() I will have to come back to this code every week as adding assets the ship could potentially teleport into and collision boxes we don’t want them to cross will create a whole lot of issues for future game play. We plan on making our game with a somewhat open world the player can explore and as it stands currently, the Player could use teleport to leave our game world and travel elsewhere. *Updated Other: Otherwise I mostly worked on making other elements of our game feel good mechanically. Initially we had a lot of issues with how our game felt which lead to use disliking the way our ship moved. As I have worked more on this game I have started to see the value of mechanics more & more, because they are a valuable component in how the game feels to play. We need the Players to feel as if they are flying a steampunk ship through the sky. Summary of the Second week: Am I happy with my Work so Far? What to Expect for Week 3? See you next time!
|


