Posts

04/04/2019

Image
I spent today creating the layout of my stage today. I decided to make the first stage a stage where you can't attack enemies so it will be a bigger platforming challenge rather than attacking. To that end, I was going to make it so the enemy bullets stay in place so there will be a bigger challenge since the enemies are chasing you, however, somehow the problem fixed itself and the bullets actually travel towards the player. One issue that I had was that one of my platforms would disappear and for a short while I wasn't able to figure out why it disappeared, however, I was able to figure it out. The problem was that the platform had gravity on it so it fell through the map when you start the stage. To fix this I just removed the rigid body component that was attached to the platform. The next thing I did was download assets of enemy spaceships. I intend to use them as enemies in later stages, however, I chose to use one as a platform that will occasionally shoot in...

28/03/2019

I have managed to fix the glitch that messed up the camera by making the camera to rotate with the player when it turns around. I have made it so after a bullet is fired it will be deleted after one second by connecting the fire button to a button that deletes the object. I made the delete button have a delay so that the bullet wouldn't be deleted instantly. I have also made it so the backgrounds are on different layers so that they scroll at different speeds which is something that would realistically happen. I have also placed a health bar that is above both the enemy and player, it follows them wherever they go and it will begin to empty when they take damage. It is locked to the top of their heads which means if they rotate the health bar will also be where the head is. I have also made it so that the player will die after being hit by the enemy too much. I have added the ability to shoot to enemies, however, their bullets don't move and will stay in place. Becau...

07/03/2019

Image
I started to make an enemy that is able to fly after the player. I made it so the enemy is able to collide with both the player and environment and made the enemy able to track the player by following their movements and updating where they are moving to once every two seconds. I noticed that the enemy bounces back whenever they make contact with me. I will remove this feature but will make a weapon that allows for this to happen again and also do damage. I also made so the bullets from my weapon disappear when they hit an object like an enemy or a platform, but I still need to make them delete themselves after a while. After this, I set out to try and fix the error with my firing. At first, when I made it so the camera would change with the player all it did was flip the whole game and made things like platforms and enemies invisible to me. Then I tried making a new camera that would follow the player but wouldn't be directly connected to the player, however, it would ...

Project Report 07/02/2019

Image
This week I was able to program a way for my player to be able to fire projectiles that fly forward, however, these projectiles do not despawn and will keep flying forever and every time a fire it spawns another that will also fly forever and not despawn. Also whenever I face to the left and fire the bullet will always travel right even though I am facing left.

Project Report 31/01/2019

This week I was mostly busy with the two assignments that are due in, one that was due in on Monday and the other which is due in next week. However, I have managed to fully set up the main character, how fast it moves, how fast it falls, the respawn feature, the camera that follows the main character, music that plays and restarts upon death and a death box which kills the main character if he descends to an altitude that it is too low. I have also started to make the background for the level I am currently working on and having platforms that match the level's environment.

Project Report 24/01/2019

I have decided to use Unity and have started to make the project with it. Since there were so many 2D sprites that could be found on the asset store. I managed to create the playable character and modify them to be more controllable for how I wish for them to play.

Project Report 10/01/2019

Today I was working on my assignment that was set by Wayne and the assignment that was set by James that are both due in soon. Based upon my progress current project, I have decided to simplify my project by having basic 3D models since I can download these models off of a asset store for free which would reduce the amount of time I would spend on creating 2D sprites which would waste more of my, I will also reduce the amount of stages that I will make. I might also change game engines from Unity to Unreal Engine since it might be easier to create a 2D game with 3D models and because I am more experience with Unreal, however, I will have to test Unity to determine this.