Mobile Controls
SPACE JAMMED - Free Asset Pack » Devlog
I added mobile controls to the game that are intended to work regardless of the device, in the same fashion as one another.
Using Input.GetTouch(int).deltaPosition.normalized I was able to get a value between -1 and 1 depending on the last touchPosition. This gives it a joystick feeling. The ship moves along positions on a rail, so I use this value to move forward and backward along those rails.
Files
Build.zip Play in browser
11 hours ago
Get SPACE JAMMED - Free Asset Pack
Download NowName your own price
SPACE JAMMED - Free Asset Pack
Status | Released |
Category | Assets |
Publisher | |
Author | ForwardSlashGames |
Tags | 16-bit, 16x16, 2D, Asset Pack, Pixel Art, Shoot 'Em Up, Space, Sprites, Top-Down |
Languages | English |
Accessibility | High-contrast, One button |
More posts
- Game Over Screen6 hours ago
- LootLocker1 day ago
- Boss Rush Jam4 days ago
Leave a comment
Log in with itch.io to leave a comment.