Echoes of the Imperium (4X Strategy Game)

Show off your games, demos and other (playable) creations.
User avatar
BlackBulletIV
Inner party member
Posts: 1260
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: 4X Space Game (Tech Demo Released)

Post by BlackBulletIV » Sun Jul 10, 2011 2:29 am

slime wrote:
Lap wrote:It's actually not possible to have a framebuffer that isn't po2 compatible. Love requires it.
Huh? No it doesn't. I use screen-sized (non-PO2) framebuffers in my personal code all the time. All this power-of-two and framebuffer shenanigans really depends on your video card and video drivers.
That's correct.

User avatar
Lap
Party member
Posts: 256
Joined: Fri Apr 30, 2010 3:46 pm

Re: 4X Space Game (Tech Demo Released)

Post by Lap » Sun Jul 10, 2011 2:42 am

wtf? My graphics card can play Crysis 2 on high without issue, but apparently non po2 framebuffers are just too hard for it? I figured if that beast of a video card could play just about everything on the market that it must be a restriction with love.

I guess this really changes nothing though as there seems to be no reason not to continue using po2 framebuffers to support more cards.

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: 4X Space Game (Tech Demo Released)

Post by bartbes » Sun Jul 10, 2011 7:06 am

Well, of course most high-end GPUs focus on DirectX performance, not OpenGL performance.

User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: 4X Space Game (Tech Demo Released)

Post by appleide » Sun Jul 10, 2011 8:25 am

Lap wrote:It was a tough decision on whether or not to use framebuffers at first. I don't want to exclude all the older laptops that should by all means be able to play a 2D turn based game. After I saw the FPS boost I got there was no turning back. 40 FPS -> 250+ FPS. Now I have framebuffers all over the place and they are just way too handy not to have.

If anyone is still interested in helping out with code or drawing sprites/icons let me know. It's coming along nicely, but there is still plenty to do.
It's a 2009 Macbook Pro though. :( It can play starcraft 2 just fine. Blah oh well.

It could've had like a pcall and test if framebuffers were supported, if not then use the normal love drawing, but to change it now would be too much effort.

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: 4X Space Game (Tech Demo Released)

Post by Robin » Sun Jul 10, 2011 8:48 am

Lap wrote:and I'll get 640.
Of course, 640 is not a power of two, so you'll get 512 when seeking the next PO2 from 500.
Help us help you: attach a .love.

User avatar
Lap
Party member
Posts: 256
Joined: Fri Apr 30, 2010 3:46 pm

Re: 4X Space Game (Tech Demo Released)

Post by Lap » Sun Jul 10, 2011 1:53 pm

could've had like a pcall and test if framebuffers were supported, if not then use the normal love drawing, but to change it now would be too much effort.
It's doable, but it means a lot of extra code as I have stuck a FB almost everywhere I could. Whenever I throw out a more working release candidate I'll have to revaluate how man people would benefitfrom me going back and using love's draw function.

On an unrelated note I just got most of my basic editor done. I should be able to create new planets in minutes now.

Image

User avatar
Lap
Party member
Posts: 256
Joined: Fri Apr 30, 2010 3:46 pm

Re: Echoes of the Imperium (4X Strategy Game)

Post by Lap » Sat Jul 19, 2014 1:43 am

So most of the game is spent looking at a Civilization style board. There are cities/regions and they can continue a certain amount of buildings each (about 6 max). One question I have is how to represent the type and amount of buildings in icon form.

One option is to have each building actually shown in a small cluster. This can get kind of cluttered, but it does allow you to see much more information without using an infobox to look closer. This method also depends on mostly perfect information (no fog of war).

[Click for enlarged]

Image

Another option is to have a single icon represent all the buildings. In this method I would make some system that would judge how industrial a place was as well as how many buildings are there. The icon displayed could also be increased in size to represent a more developed area. This method is harder to see what is in a region.

Image

At this point in this project I have dozens of little decisions like these I need to make. I would love it if anyone was up for getting more involved by letting me run ideas by them.

gestaltist
Prole
Posts: 49
Joined: Thu May 29, 2014 10:56 am

Re: Echoes of the Imperium (4X Strategy Game)

Post by gestaltist » Sat Jul 19, 2014 11:53 pm

Wow Lap.

This editor looks really good.

May I ask how you have achieved this terrain? Is this procedurally generated or are these images (for the whole mountain, for example).

User avatar
Lap
Party member
Posts: 256
Joined: Fri Apr 30, 2010 3:46 pm

Re: Echoes of the Imperium (4X Strategy Game)

Post by Lap » Sun Jul 20, 2014 3:05 am

They are procedurally generated, just not in Love. I used l3DT to make the terrain. It's just a scrolling image in Love.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 6 guests