Day 4 - Board display
Lisp vs Blub Empire » Devlog
First day of programming. I removed the old not-yet-working space invader from the project and started implementing a tiled board display.
What the project looked like when I picked it up from the dust:
What I had at the end of the day:
I'm using an old project that was a proof of concept of a WebAssembly transpiler.
I only have the basics pieces to work with:
- a simple `for` loop (I can't nest them, gotta be creative with that limitation...)
- local variables in functions, but they must be declared at the beginning of the function definition
- somewhat handy way to setup initial data and keep flags to some addresses (instead of relying on comments and magical values) using a hash table
- only 32bits integers
- `(if cond body ...)` and `(if cond (then body ...) (else body ...)`
- no way of loading images, gotta write them by hand in binary
- async interface with javascript (js can call wasm and wasm can call js)
- a simple FPS limited loop in js
Lisp vs Blub Empire
One language to rule them all!
Status | Prototype |
Author | Zoé Bourdon |
Genre | Strategy |
Tags | 2D, jam, Pixel Art, Turn-based Strategy |
More posts
- Postmortem - What I'd like to addMay 02, 2018
- Day 9 - Final rush for the AIApr 30, 2018
- Days 7 & 8 - Blue vs RedApr 30, 2018
- Days 1, 2 & 3 - DesignApr 26, 2018
- Day 6 - Action!Apr 26, 2018
- Day 5 - First interactivityApr 25, 2018
Leave a comment
Log in with itch.io to leave a comment.