Posts

Showing posts from February, 2020

February 26th (Week 5)

Image
This week I worked on animation cycles for the character turning, updated the movement code, updated the shooting code, and created a running animation. First I started out in asperite again and had to create a sprite based on each direction so simply 8 sprites for each direction including diagonals. The character animation will play frame by frame of each direction which will create the illusion of turning. The character will also have a walking animation based on each direction which will look a little different for each way the player moves. This will be controlled in unity by a blend tree which takes the input of the player and will output the animation based on their direction. I also updated the movement code which will now use the animator function which can access the blend trees to update the players animation instead of doing it by code. I also fixed the shooting code which now shoots based on the direction of the cursor instead of just one direction and will also have to cre...

February 19th (Week 4)

Image
This week I created an enemy model, which I am probably going to change, but its okay to use for a place holder right now while I figure how to make the enemy AI search a room for the player. I will probably make the enemy shoot at the players position, but add a delay so the player has time to avoid incoming fire from the enemy. The enemy model was originally going to be a skeleton, but since I am not that great at creating pixel art I ended up with a ninja instead. I also worked on the direction shooting system which will make it so the player will shoot wherever the mouse is, where as before the shooting was just the same direction only moving to the right. I also cut the staff in half so that when the players mouse is going to the left it will switch hands and not make the whole character model have to switch views. I also imported the enemy into unity and will start researching how to create an okay enemy script. I think it will be a lot less complicated unlike the 3d game which h...

February 11 (Week 3)

Image
Worked on the projectile systems for the game. I created a simple version just to get the projectiles started and to see how they looked. I think i will additionally add a sprite sheet so the orb animates as its moving as well. I created the orb in asperite and then went into unity and created a code for shooting projectiles. Later I will add a empty object which will allow the object to follow the players mouse which will also control the players hand position and will turn them based off of the direction of the empty fire point. I also created a force to act on the orb so when it fires it will move whichever direction it is shot in. I might have come up with a solution for the orb hitting the player causing the camera to spin. The orb will also destroy itself when it hits anything with just a simple collision checker. Next week I plan on polishing the aiming and firing system and working on some animation to make the game look better. Then I will try to implement some enemies and the...

February 3rd (Week 2)

Image
This week I created a character and some movement. The character I could not find the best reference image for what I was trying to create, so I used a multitude of reference images to create a pixel mage. The movement was relatively simple I used unity's built in controls scheme to allow the character to move vertically and horizontally. when the WASD keys are pressed the character has a force act on him which moves him in that direction. Once I create a few more sprites of the pixel mage I can make him animate when he is walking. I hope to have the mouse control where his projectiles will shoot, but will have to figure out a way to blend that with the movement animations as well. The character also has a changeable speed variable and I also have to figure how to fix a bug where the camera will sometimes spin, which I think is caused by the rigid body rotating in unity and the camera is attached to it which causes the camera to rotate with the player's body. Next week I will t...

February 3rd (Week 1)

Image
This semester I am going to try and finish a few games and practice on other aspects of programming and modeling. This first project I am working on is a 2-D game and I am going for a pixel art style so it should be easier to animate and create items for the game. This first week I watched a tutorial got a nice pixel editor and started creating a tiles to use for the game. I created tiles that are repeatable without showing too much of a pattern. This helps make levels easier because I am able to reuse textures and make maps without putting in too much effort. I also created dungeon walls which are also repeatable. I then opened unity and started creating a tilemap which is a built in unity function which allows me to place down the new tiles I created on a grid and snaps them into place allowing for a quick map editor. I am just creating a small level to test mechanics and get the core gameplay functions working. I hope to create a few levels and have a dungeon crawler rogue lite game...