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

https://icrbow.itch.io/

Чатик: @HaskellGameDev
Дискорд: https://discord.gg/vxpWtBA
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
🎶 Блуждают тени возле дома... 🎶
Subtle...
12 hours to setup devices and presentation stuff.
2 hours to setup shader pipeline.

I'm getting better at this.
This media is not supported in your browser
VIEW IN TELEGRAM
STM wrapped buffer didn't cut it. Had to fall back to MVars due to GPU buffers have to be either updated or discarded, depending on new collection length.

I don't like this. But the collections are persistent and don't have to be emitted every frame.
Added staged buffers and a few more wrappers to draw them.

It appears that coherent/staged is a more useful separation than vertex/index/uniform/etc.

Having a storage type kind is fun, but breaks collections-of-collections flow, so more typeclasses and singletons are in order.
Tracking some LEO objects with https://hackage.haskell.org/package/orbits

It's a first time I used units to catch errors. Good: converting SDL ticks to SI and "deconverting" kilometers to scene space. Bad: I still managed to put Sun mass instead of Earth's and got wild orbital periods.
A few more 🛰 around a sphere I haven't been able to properly fake in 2D 🌐
Linear Space Program
A few more 🛰 around a sphere I haven't been able to properly fake in 2D 🌐
This doesn't look right. Those are all 45°-inclined objects at even longitudes. Where are their above-the-equator bits? 🤔
linear 1 : geomancy 3
Simple directional lighting makes things look normal
Cubemapping unit spheres is easy
cris_moore_cube.gif
544.5 KB
You'd think living in a 3-star world would be difficult? How about 4?

https://math.ucr.edu/home/baez/week234.html