kumarabhirup / dont_touch_the_ground

A fun Koji game that helps spongebob not burn his pants on ground. Built on p5.js

Home Page:https://withkoji.com/~kumar_abhirup/don-t-touch-the-ground-spongebob-squarepants-version-

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🍏 Don't touch the ground!

🀠 Instructions

  • Let the ball not hit the ground!

  • Drag the platform brick to save the ball from ground.

  • The more you keep the ball in the air, the higher you score!

  • If the ball remains stagnant, score decreases.

πŸ˜ƒ Getting Started

Main code is in frontend/app/index.js.

I've provided comments in the most important parts of the code, so you don't get lost.

Feel free to modify anything, upgrade the game, add more stuff!

πŸ–₯️ Spin up the game locally

  • Run
$ git clone <YOUR_REMIXED_REMOTE_URL> <PROJECT_NAME>
$ cd <PROJECT_NAME>/frontend
$ npm i
$ npm start

βš’οΈ Customizations

Things that can be customized:

Colors

  • Background color
  • Instructions text color
  • Score text color
  • Highscore text color
  • And so much more!
  • Take a look at the Koji Color VCC to see what colors can be altered.

Images

  • Object Image
  • Platform Image
  • Life Icon
  • Sound Image
  • Mute Image
  • Background

Sounds

  • Background music

Game Settings

  • strings.json: objectShape πŸ‘‰ either rectangle or circle
  • strings.json: scoreIncreaseSpeed πŸ‘‰ integer to increase the score by when the object is in the air.
  • strings.json: scoreDecreaseSpeed πŸ‘‰ integer to decrease the score by when the object is stagnant.

πŸ“– Notes

Avoid resizing the game window while playing, weird stuff happens.

Few Koji Visual Customization Controls are already there for you to use. They were put together by @Svarog and @kumar_abhirup on Koji platform.

πŸ€™ Wanna contribute?

Just shoot a Pull Request at the official GitHub repository of this game πŸ“¦

Or follow me and DM on Twitter @kumar_abhirup πŸ™Œ

Or hit me up on Koji's official Discord server, username: kumar_abhirup 🌱

πŸ“ Licence

GPL Β© Kumar Abhirup

Follow me πŸ‘‹ on Twitter β†’ Twitter

Credits for assets

OpenGameArt πŸ‘‰ https://opengameart.org

About

A fun Koji game that helps spongebob not burn his pants on ground. Built on p5.js

https://withkoji.com/~kumar_abhirup/don-t-touch-the-ground-spongebob-squarepants-version-

License:GNU General Public License v3.0


Languages

Language:JavaScript 93.6%Language:HTML 3.8%Language:CSS 1.6%Language:Dockerfile 1.0%Language:Shell 0.1%