Echoes of the Imperium (4X Strategy Game)

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

Re: 4X Space Game (Tech Demo Released)

Post by BlackBulletIV »

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 »

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 »

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 »

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 »

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 »

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.
CgXKvl.jpg
CgXKvl.jpg (69.17 KiB) Viewed 997 times
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 »

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).
i4G9ax7.png
i4G9ax7.png (1.39 MiB) Viewed 996 times
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.
0uuMah2.png
0uuMah2.png (1.45 MiB) Viewed 996 times
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 »

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 »

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: No registered users and 3 guests