2D Game Development – Main Character and First Script
Day 011 #100DaysOfGameDev
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/01/2020-01-15_course_beginner_2D-gamedev_Main-Character-First-Script_started.png?resize=800%2C144&ssl=1)
![](https://i2.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/01/2020-01-15_course_beginner_2D-gamedev_Character-Controller-Keyboard-Input.png?fit=800%2C120&ssl=1)
Using the course Ruby’s Adventure: 2D Beginner in Unity Learn, I was taught how to import an external image as a character sprite and write a basic C# script to get that sprite to move around the screen via keyboard controls.
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/01/2020-01-15_course_beginner_2D-gamedev_unity-screen_debug_movement.png?fit=800%2C433&ssl=1)
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/01/unity_Ruby_keyboard_control.gif?resize=376%2C329&ssl=1)
I was introduced to new types, variables, and components in Unity to get character movement working.