Player Movement


Player movement Devlog

In the original concept the player movement was going to allow the player to move in four directions.

a - d   keys for movement left and right

w - s   keys for up and down

But to keep with the original concept the player is only able to move left and right using the a and d keys. The first thought was to use the unity input system(unity 2022) for the player movement, but after consideration of the advice given from people that know a lot more than me and research I ended up utilizing a player movement script which can be modified on the fly as other features are added.


The player still needs to be restricted to stay within the screen bounds, but the speed of the player movement seems to be right and there isnt any lag when the key is pressed or released.

Still unsure on the background and the player sprite, below is a screen shot of Galaga(Galaga2 2022) which is one of the inspiration ideas for the game


The next plan for the gae is the scrolling background and the basic level blocking, that is if I can stop playing the original game since I have a copy for research :)


References

(Galaga2022). "Namco." from https://en.wikipedia.org/wiki/Namco#External_links.

(Unity2022)https://docs.unity3d.com/Packages/com.unity.inputsystem@1.4/manual/index.html

Leave a comment

Log in with itch.io to leave a comment.