ct.js tutorial: how to make character and make it move (part 1)
[ Disclaimer: I have 0 knowledge about game programming, I don't understand the original tutorial since I don't have a single clue about programming . I just randomly stumble left and right, and somehow got the answer right(?). I made this tutorial for my future self, in case I forgot how to make it again. This blog post maybe edited in future.
If there is anything wrong feel free to correct me or feel free to add more tips. ]
I learn from: https://www.youtube.com/user/BatteryProductions/videos & official tutorial.
Cheatsheet: https://comigo.itch.io/ct-cheat-sheet
1.5 Changing placeholder into your character
- Go to texture, and click generate a place holder
- Fill the info, click save, and you have your character!
1.5 Changing placeholder into your character
- Click replace it, and click to your character image.
- Right click it, and choose create a type from it.
- Click Project, and catmods to make sure the keyboard is in check mark.
- Click Action and Input methods
- Click Add an input method.
- Select right keyboard, click select.
- Add an input method. Select left keyboard, click select.
- Don't forget to change the multiplier like the picture below.
- Add more action, and name it MoveY, and do it similarly to MoveX except it is up keyboard, and down keyboard.
- Don't forget to change the multiplier like the picture below.