Inspiration
Wanting to dip my foot into game development and explore a new language such as JavaScript. The inspiration for this type of game is the nostalgia from playing 2D scroll games like Mario or Flappy Bird growing up.
What it does
The game is a fun little obstacle runner using 2D scroll techniques to move along the screen.
How I built it
I built it using Mostly JavaScript for both the design and logic. It uses numerous png files designed specifically to fit the game and create animations for the character and for the platform and background. The game runs via VSCode Live server by linking the JS file to an HTML file.
Challenges I ran into
The challenges I ran into consist mostly of creating new graphics for the game and allowing for different states of the game. I was unable to make a state machine so the game is just all in one file with constant looping for only one screen. A working state machine would allow for more levels and different screens (i.e. a start screen when launching or an end screen when winning or dying). As well, I was also unable to incorporate the use of a different sprite which I was planning on using. I wanted to have different characters along with the astronaut but I was having a lot of issues trying to use a different sprite sheet for the animations.
Accomplishments that I'm proud of
I'm proud that I have a somewhat working version of this game based on the short time limit. I am still very new to JavaScript and game development so I was happy to get something working. I am also proud of being able to complete this and expand my knowledge in these fields of programming on my own, and even though I didn't reach my full ambitions I am still proud of what I accomplished.
What we learned
I learned how JavaScript works and learned a lot more about game Development. I also learned a lot about design animation and photoshopping when creating images.
What's next for Space-Run Game
What's next for Space-Run Game is being able to create more levels and expand the game along with incorporating a lot more features for the game. For instance, with the hopes I can get my dinosaur sprite working in the future, I am hoping to create meteors falling for more obstacles.
Built With
- gimp
- github
- html
- javascript
- vscode
Log in or sign up for Devpost to join the conversation.