Page 1 of 1

The return of AStrat

Posted: Fri Sep 16, 2011 10:10 pm
by Robin
You might remember AStrat, or you might not.

Anyway, I thought of a good way to make conquest work during breakfast the other day. I fixed heaps of bugs I still had, added some other features and cringed at the awful, awful code I produced last year.

The result is this:
astrat.love
Requires 8 or so Framebuffers. 0.7 only.
(3.63 KiB) Downloaded 339 times
Click on the mode you want to start. The process is fully automatic from then on. Escape quits. M cycles through some viewing modes, Shift+M cycles in reverse. N resets to normal mode.

Enjoy. ;)

Re: The return of AStrat

Posted: Fri Sep 16, 2011 10:47 pm
by GijsB
that's pretty, and the coolest thing was that i had a kingdom kinda like UK :3

Re: The return of AStrat

Posted: Sat Sep 17, 2011 12:19 am
by kikito
I liked the provinces. Is there a phase 7, or is the "conquering provinces" part infinite?

Re: The return of AStrat

Posted: Sat Sep 17, 2011 9:14 am
by Robin
kikito wrote:I liked the provinces. Is there a phase 7, or is the "conquering provinces" part infinite?
Phase 7 is when a single colour has all the provinces. Which never happens if the empires happen to be split across several islands, because they can't cross water (at least for now, if/when I figure out an elegant way to do that, I might just add it.)

Re: The return of AStrat

Posted: Sat Sep 17, 2011 11:43 am
by thelinx
Once again, an excellent time waster.

...but can you make it go faster? Even using LuaJIT it takes ages to just grow the empires with pixel size 1 on a blockland.

Re: The return of AStrat

Posted: Sat Sep 17, 2011 1:18 pm
by Robin
thelinx wrote:Once again, an excellent time waster.
:nyu:
thelinx wrote:...but can you make it go faster? Even using LuaJIT it takes ages to just grow the empires with pixel size 1 on a blockland.
Not drawing the pixels to framebuffers should help. I could make it work something like the growing the provinces (which used to be even worse until I deferred drawing the pixels until the end). Of course, that means that waiting while the empires grow becomes dead boring.

If anyone has a better suggestion to speed it up, I'd like to hear your ideas. :)

Re: The return of AStrat

Posted: Sat Sep 17, 2011 7:49 pm
by felix24
that's incredibly nifty. nice work!!

Re: The return of AStrat

Posted: Mon Sep 19, 2011 12:22 pm
by hryx
Crap, can't play. I don't have framebuffers. Even though that test .love from that forum thread/poll said I do.

Re: The return of AStrat

Posted: Mon Sep 19, 2011 2:37 pm
by slime
hryx wrote:Crap, can't play. I don't have framebuffers. Even though that test .love from that forum thread/poll said I do.
Maybe AStrat uses non power-of-two framebuffers?

Re: The return of AStrat

Posted: Mon Sep 19, 2011 3:37 pm
by Robin
Nope, it uses PO2 framebuffers. But it does use 8 framebuffers, maybe you don't support that many?