Player Movement_Wk8
This is the first devlog for Willie, Fetch! This week I have been making little prototypes for Player Movement, Enemy Spawning, and Sprites.
Player Movement:
Firstly, I set up a temporary Willie sprite on a platform. This sprite moves along the x-axis, using A D or the left and right arrow. I used a tutorial by Game Code Library on YouTube to script these movements. Additionally, I have invisible walls to make sure Willie does not disappear off screen.
Enemy Spawning:
Through the week I also started to explore enemy movement. I created a spawner using the script from Tutorial 8. Overall, I felt like the rate at which enemies spawned was a bit slow. Rather then one at a time I wanted multiple to spawn. So, I added a line of code that increases the value of enemies spawned at one time. (The video below captures the earlier script where one enemy spawns at one time). While playing around with the enemies, I thought that I might want to have the enemy speed increase the longer you play.
I also experimented with the Game Code Library script for enemy spawn. I definitely prefer how the falling feels smooth compared to my current spawning. However, it is super fast. Next week I'll work on refining this script, and then compare with my other spawner.
Sprite Design:
Also, I've done a bit of sprite testing. I've used GIMP to clean up my hand drawn characters. By using the threshold, I was able to remove grid lines and create a sprite that has a transparent background. I used grid paper to hopefully maintain scale when I start drawing different frames for Willie.
Now I know that I can combine hand drawn and digital techniques, I can start drawing Willie's sprite sheet for animation.
Feedback:
I have not made a build yet, so I currently have no feedback. I'd like to first implement a 'Destroy on Collision' script for the enemies so the game does not get too cluttered.
References:
I acknowledge that I have used ChatGPT to help create a line of script on 'SpawnEnemy'. https://chatgpt.com/share/680df4ab-b120-8007-a8cd-2ea27e80f0d5
Game Code Library. "Make a game in under 15 minutes! - Unity 2D". June 9, 2023. Educational Video, 14:27.
Willie, Fetch!
Status | In development |
Author | Hippias_EV |
More posts
- AT2_Game Concept Devlog15 days ago
Leave a comment
Log in with itch.io to leave a comment.