JohnnyFun / dirtball

simple game built with babylonjs game engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plot

You are Dirtball. A highly-trained ball of sludge and spit on his first mission.

Play the game here: https://johnschottler.com/projects/dirtball/index.html

game-play

Tech stuff

  • babylonjs
    • game engine
      • rendering meshes and textures
      • lighting, shadows
      • keyboard control helpers
  • cannonjs
    • physics
      • collision detection and reactions
      • gravity

Running locally

TODO:

  • confirm works and renders/loads quickly on non-beast computer
  • extract components from index.js, so more organized and manageable as it gets more complex
  • code-split, using dynamic imports
    • see junk.txt...
    • refactor code first
      • separate out character and other distinct game components accordingly
      • dynamic import major game components
      • later on, lazy-load levels as user progresses through game
  • smarter camera
    • when character changes direction, rotate accordingly
  • get .glb files to download when not running locally
    • glb won't load from nano-server IIS. registered mime, still nothin
  • repeat stone material and possibly down-size texture images
  • generate random mazes for dirtball to roam through
    • make concept of levels
    • pause menu
    • life bar
      • hurt when hit surface hard. take more life depending on how quickly dirtball slowed down
      • maybe spawn characters who can attack dirtball
    • other common game features...
  • make him leave trails of sludge whereever he goes lol

About

simple game built with babylonjs game engine


Languages

Language:JavaScript 85.5%Language:HTML 14.5%