Linear Space Program
74 subscribers
162 photos
16 videos
11 files
49 links
Побочные эффекты игростроения на хаскеле.

https://icrbow.itch.io/

Чатик: @HaskellGameDev
Дискорд: https://discord.gg/vxpWtBA
Download Telegram
Linear Space Program
I'm about to fail my LD50 submission, but here's some FRP map with autotiling borders.
LD52 is about tiles again

(not really, it is about syncing CPU arrays to GPU textures)
10k sprites and a bunch of tiles jumping up and down at 200 fps on iGPU while on battery
Screenshot from 2023-02-17 22-49-33.png
31.7 KB
All the pieces so far:
- Dynamic tilemap.
- A minimap view synced to it (using 1px tile atlas for colors).
- Draggable viewport.
- Some animated sprites in world-space.
- Screen-space (yellow) and tile-space (blue) selection boxes.
- Status frames for sprites caught in selection.
- The window is still resizable (tilemap re-center appropriately and minimap sticks to its corner with a small padding).
Screenshot from 2023-02-18 22-49-28.png
49.2 KB
Implemented a 9-patch sprite slicer to make fancy viewport frames.
Screenshot from 2023-02-24 12-11-59.png
196.4 KB
Having fun with my new composition renderpass and postprocessing shader.

Left-to-right, tone mapping functions (with "default" parameters): none, reinhard, reinhard2, lottes, uchimura.
MULTI-TRACK GENERICS!
Marching squares
Dual contouring
New construction options
Making tools on the go
A-A-A-A-A*
Screenshot from 2023-05-02 00-18-06.png
354.9 KB
🔤*️⃣

(fast enough for a 1M-tile grid of random crap)
Please open Telegram to view this post
VIEW IN TELEGRAM
Awww yisss! Everything* I wanted feature-wise from this tileset:
- Map declared in Multicolor SDF (lava is the base layer, everything else is boolean'd together)
- 4-corner Wang tiles extracted from TileSetter project (no, I didn't do those 96 tiles by hand) (package pending)
- Per-tile attributes in the "free" vec4 slot. Here - tile speed (also used for passability).
- A* path-finding with per-tile travel costs (the truck on the screenshot prefers flat terrain as ridges are slow to crawl).

* I have unused alternative biome tiles... to spice up the landscape 😏
Screenshot_from_2023-05-08_15-04-49.png
215.7 KB
Visibility is surprisingly tricky. Lots of implementation options, semantic options and how to combine those.
Extracted tile "proxy" data from Tilesetter projects. Makes maps a little less bland even in extreme conditions.
This media is not supported in your browser
VIEW IN TELEGRAM
Subtleties of animation…
Had to slice the effect sprite into fg/bg parts and put them on different layers. And synchronize everything manually 😓