Still didn't work a lot, but got a lot done
I spent the day taking care of my self care routine. I went for a 6 mile mountain bike ride in 37 minutes. I cleaned my car. I put the bikes in storage and did some grocery shopping. Now that everything is mostly out of the way (oil change tomorrow, and possibly haircut,) I can start hammering it out. Progress has been pretty good today, even though I didn't work much and had to make it a late night (3am posting this.)
I wrote some automation to take over the rest of the animation issue. Here's a little gif of the transition automation :D
This automation automates exactly 481 transitions. I also made one to automate creating the states themselves. That one just isn't as fun to look at. That button clears 481 transitions and generating them creates the defined conditions. You can set the conditions intuitively in the inspector. Maybe I will show more pictures of it. It was really fun to make. I think it was my second favorite thing I made today.
With that out of the way, it was possible to make the character animate:
This was using inspector tools. But I then wrote an observer for the input. We gots input! :D I accidently deleted the healthbars and player name, so I had to redo that too. But now you can join the game, and your guy persists into the game, with a character controller on it. The controller is my first favorite. It's pretty freaking sick, dude.
For the character controller, I used a state pattern. The animations for idle, death, roll and walk are just about finished. After the animations are finished, I have to add movement to the character and figure out the aiming.
As it stands now, if a player kills you, it will wait until the animation is finished playing, then follow the player who killed you. There needs to be logic for how long that is, so right now I just made it 1 second, to get the flow going.
After aiming is finished, we will get the bullet exchanging health (the health/shield system is already set up.) Then, we will be able to kill each other. That is when I feel it's ready to post my first build. It's a long stretch, but I am going to try to get that out by tomorrow night.
Here's the folder structure for my states. Probably not final, but the implementation is solid af
Get Multiplayer Top Down Shooter
Multiplayer Top Down Shooter
Multiplayer 2D shooter from a 1 week gamejam
Status | In development |
Author | Mike |
Genre | Shooter |
More posts
- Forgot to post buildJun 25, 2023
- Wax on...Jun 22, 2023
- RestructuringJun 21, 2023
- First Build (windows only) - gameplay gifJun 17, 2023
- Power outage broke my routerJun 15, 2023
- Internet is downJun 15, 2023
- Innerspection (?)Jun 13, 2023
- Ability GIF BombJun 12, 2023
- Failure or Prototype?Jun 10, 2023
Leave a comment
Log in with itch.io to leave a comment.