Your inventory space is your HP.
Manage your life priorities vs earnings in this dark adventure game
- WASD, ZQSD, or Arrow keys to move.
- Press J or K to attack
- S (while on ground) to block with shield
- basic platformer
- moving camera
- switch between hub world and dungeon
- procedural enemies by level
- procedural traps by level
- procedural loots on fixed map layout
- toggle off abilities by taking damage
- level generation and progression
- score system
- friends and family and doctor
- player can do
- poking sword
- sword hurting enemies (and cause knockbacks)
- shooting magic
- block with shield
- block with armor
- climbing walls
- getting items
- see color
- use torch to see further
- cure venom with potion
- dash
- hear enemies
- speak
- love one another
- heal from friends and family
- poking sword
- inventory queue linked to hp
- become invincible when taking damage
- knockbacks
- enemies behaviors
- w = walk
- m = melee (leap 1 block, body cannot touch)
- l = leap higher when attack
- f = fly
- s = shooty
- reorganize items in queue
- items to get (treasure box, sword and wands)
- discarding health card unlocks more health cards
- discard multiple health cards to unlock a card
- animations for unlocking cards
- cutscene for discarding life cards
- additional enemy behaviors
- a = armor? (allow hp+3)
- e = element! (diff+3, take 0 or take 2 instead of take 1 damage)
- v = venom (every 3 second, have a low chance to take damage)
- y = heavy (cannot be knocked back)
- p = patrol
- h = hang
- z = laser
- x = explosion
- MVP done
- after playtest,
- optional curse of binding and optional losing self or mind
- curses occur if player hasn't been injured for certain time
- procedural dungeon?
- oneway platform
- mobile ui?
- line-of-sight enemies
- load pixel sprites
- optional curse of binding and optional losing self or mind
https://xem.github.io/mini2DPlatformer (https://github.com/xem/mini2DPlatformer)
https://github.com/sz-piotr/js13k-webpack-starter
(Notes: Size is 889 bytes (6.68%) without game code)
This project aims to be a foundation for creating a game for the js13k game competition. As such it provides tools such as a > development server, automatic code minification and archive creation.
- JS & CSS minification
- Code inlining (the entire application is a single
index.html
file)- Development server with source maps
- Generation of submission files (including the
.zip
file)- ES2015 module support through webpack
- Tree shaking and module concatenation
The first thing you need to do is make sure you have node.js installed. Then clone the project and in the root > directory run the following command:
npm install
This should install all the required dependencies for developing the project. After the installation finishes you will be able to run the included npm > scripts.
After going through the installation just run the following command:
npm start
This will setup a server listening at
http://localhost:8080/
.You can pass an argument to the development server specifying the interface to listen on.
npm start -- --host=0.0.0.0
This command will start the development server listening on all interfaces. Having a device on the same network you will be able to view the webpage at >
http://[yourLocalIP]:8080
for examplehttp://192.168.1.1:8080
.This project provides a npm script for building your application. Just run:
npm run build
This will generate two files
index.html
andbuild.zip
both located in thedist/
folder. The zip file contains only the generatedindex.html
. The > output from the command also tells you how large is the generated zip file.
- Webpack https://webpack.js.org/