Touch Joystick with C# & Godot [Andromedoom Dev Log 1]
Polysthetic
๐พWelcome to the Andromedoom dev logs! In episode 1, I'm presenting a tutorial on how I built the mobile touch joystick with my Android. In the dev log, I will be discussing the graphics and gameplay design, and the intended programme to completion. I hope you enjoy this video series and stick around for the game's development! ๐
โฑ๏ธ Timestamps: 0:00 Intro 1:12 Game scene structure 1:25 Building the joystick UI - Joystick base 4:15 Building the joystick UI - Touch Screen Button 5:35 Scripting - Finding touch screen position 9:50 Scripting - Correcting touch screen button centre point 11:50 Scripting - Constraining the joystick to the base 14:30 Scripting - Returning joystick to centre on release 17:45 Scripting - Connecting the joystick to the player pad using signals 22:05 Scripting - Player movement script 26:03 Scripting - Correcting for multiple touches using an ignore zone 29:46 A word from our sponsor 30:09 Dev Log - Graphics design 31:25 Dev Log - Gameplay design 33:16 Dev Log - Weapons system 33:55 Dev Log - Level progression 34:36 Dev Log - The vertical slice 35:00 Dev Log - Project management 36:00 Dev Log - Gantt chart 38:55 Dev Log - Music and sound design 39:50 Thank you for watching
๐ป Addenda:
- You can use Normal.GetSize() and assign that to the buttonSize or use it directly instead of assigning GetHeight() and GetWidth() to a new vector.
- To get the player node, you can simply use GetNode(/root/...) instead of using GetTree().Root.GetNode(... ).
- Note that player movement doesn't take into account the rotation of the player pad. I will cover this in the next episode, but this can simply be solved by using Transform.Basis.Xform(movementVector). This multiplies the movement vector by the basis matrix of the object which can then be fed into the MoveAndCollide function.
๐ถ Music tracks from:
- C4C - The Pursuit of Simplicity
- Provided by Lofi Girl
- Watch: https://www.youtube.com/watch?v=SnO8bTZFEjs
- Listen: https://open.spotify.com/album/5HGJRqEZRojg2gBJCqjue7
You can also visit me at: WEBSITE ๐ https://polysthetic.com THREADLESS ๐ถ๏ธ https://polysthetic.threadless.com DRIBBBLE ๐ https://dribbble.com/polysthetic YOUTUBE ๐ฅ https://youtube.com/c/polysthetic AUDIOMACK ๐ผ https://audiomack.com/polysthetic ... https://www.youtube.com/watch?v=mdPyZ9qiAIY
255849575 Bytes