Lush 64 (demo)
A small game engine written in Javascript.
Just a small project to test my skills.
Note: exporting games is not a thing yet.
Includes:
- Code Editor (f2)
- Sprite Editor (f3)
- Map Editor (f4)
- Terminal (f1)
- Game Mode (f5)
Lush API Documentation:
spr(id, x, y) - draw sprites with the given sprite id (default x and y is 0).
map(id, x, y) - draw maps with the given id.
cls(color) - clears the whole map or fill (optional) with the given color.
lush.fps = num - set the fps for _draw.
lush.logic_fps = num - set the fps for _update.
printl(text, x, y) - print text using context fillText
print(text, x, y) - print text using bitmap font (only a-z and 0-9 available)
btn(key_code) - check if button is pressed.
0 = left
1 = up
2 = right
3 = down
4 = x
5 = z
key(key_code) - check if key is pressed
randn(min, max) - returns a random number.
lush.runl(function, ms) - creates a new setInterval.
lush.endl(function_name) - ends a setInterval.
lush.timer(function, ms) - creates a setTimeout.
flr = Math.floor
rnd = Math.round
ceil = Math.ceil
sqrt = Math.sqrt
pow = Math.pow
sin = Math.sin
cos = Math.cos
tan = Math.tan
Updated | 10 hours ago |
Status | In development |
Category | Tool |
Platforms | HTML5 |
Author | derukaeru |
Tags | 1-bit, Cozy, Game engine, lush-64, Pixel Art, Text based |
Average session | A few seconds |
Inputs | Keyboard, Mouse |
Accessibility | Color-blind friendly |
Download
Download NowName your own price
Click download now to get access to the following files:
lush64_source.v1.5.zip 48 kB
Comments
Log in with itch.io to leave a comment.
this is quite impressive :D keep it up! love the editor's new color scheme btw, it's easier on the eyes. good job
Amazing work!