graninas/The-Amoeba-World

Current stage question and graphics engine change offer

Closed this issue · 6 comments

Any live action in current version of game?
When Amoeba running, i'm see only static picture with 10 rects.
In GameFlow1.hs i'm only found page switching (with click).
In GameFlow2.hs also no visible action.
It's normal?
If no real action or world changing realized, then maybe better replace sdl with gloss?
As documented in http://hackage.haskell.org/package/gloss-1.8.1.2/docs/Graphics-Gloss.html, all drawing and "processing" done by play function, need only 3 pure function: drawing world, changing world by events (generating new world from old), changing world by tick (also new world). IMHO this method is much simpler and righter.

That's normal, there is no interaction in the game now. And yes, it's correct behavior of the 'game flows' (well, 'correct' means 'as it was done by me'). I encountered some conceptual troubles with netwire and decided to investigate this library and it's good using model.

Gloss looks interesting! Let me try it next week (I'm busy due to my presentation for students this saturday).

Thanks for the answer

I'll try to replace SDL by Gloss in an experiment branch.

Other promising engine - free-game. It is more monadic.

Thanks. I researched gloss, and it is cool to create small applications without advanced IO, as it supposed to happen in my case. So, my choice now is still netwire, but unfortunately I didn't found a good using model yet. I'll see what free-game is looks like though.

Well, I finally found a good FRP netwire-featured model. No need gloss or free-game now.
Issue closed.