The return of AStrat

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

The return of AStrat

Post 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 322 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. ;)
Help us help you: attach a .love.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: The return of AStrat

Post by GijsB »

that's pretty, and the coolest thing was that i had a kingdom kinda like UK :3
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: The return of AStrat

Post by kikito »

I liked the provinces. Is there a phase 7, or is the "conquering provinces" part infinite?
When I write def I mean function.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: The return of AStrat

Post 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.)
Help us help you: attach a .love.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: The return of AStrat

Post 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.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: The return of AStrat

Post 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. :)
Help us help you: attach a .love.
User avatar
felix24
Party member
Posts: 163
Joined: Tue Jul 26, 2011 4:51 pm
Contact:

Re: The return of AStrat

Post by felix24 »

that's incredibly nifty. nice work!!
User avatar
hryx
Party member
Posts: 110
Joined: Mon Mar 29, 2010 2:28 am
Location: SF<CA<USA

Re: The return of AStrat

Post by hryx »

Crap, can't play. I don't have framebuffers. Even though that test .love from that forum thread/poll said I do.
User avatar
slime
Solid Snayke
Posts: 3134
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: The return of AStrat

Post 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?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: The return of AStrat

Post by Robin »

Nope, it uses PO2 framebuffers. But it does use 8 framebuffers, maybe you don't support that many?
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Hydrogen Maniac and 57 guests