The end of the second day of the gamejam is here and all I’ve been doing are art assets [>__O]. I underestimated the amount of time to learn Godot and making the assets themselves. Despite the hardship, I’m actually stoked that I am able to animate my sprites within Godot after an ungodly amount of time going through forum posts and tutorials. Here are the steps I had to do:
- Make the spritesheet and export it as a PNG (I use Autodesk Sketchbook on my old Samsung Tab Pro).
- Put the PNG file into the working project folder in Godot.
- Now, create a new node - a KinematicBody2D
- Select the asset on the Texture slot of the sprite node. Or just drag and drop it on the main window. Make sure the new node is a child of the KinematicBody2D.
- Click on the sprite node and select 'TextureRegion' then 'Snap Mode:' dropdown menu should be placed as 'Auto Slice'
- On the Inspector window, enable the checkbox that says 'Region.' This will show the sprite as an individual on your working window.
- To animate, create another child called 'AnimationPlayer' under the KinematicBody2D node. Click on the new 'AnimationPlayer' node and create a new animation by clicking Animation>New then name your new animation.
- Add a track by going to Add track>Property Track>nameofyourspritenode>region_rect
- Set the update mode of the region_rect track to 'Discrete'
- Start inserting the sprite by clicking the sprite you want to place within the TextureRegion window and going back to the Animation window and right-clicking then pressing 'Insert Key' on the track. Rinse and repeat.
I got a chicken punching going on there. Also a chick which is supposed to shoot LAZERS from its mouth and a rolling egg. I’d like to implement some actions for each character/sprite at least. There is still so much to do such as level desgin, scripting, and story segments. My brother, who’s in charge of music, is MIA. So no music lol.
Making a game is definitely a lot of work. No wonder solo devs take a long time to finish their games. They have to take care of all the design, coding, assets, marketing, etc. Props to the people who make games weekly. You guys are an awesome dedicated bunch! Anyways, one more day to go!