RTS: Moon Project v0.5 released!

Game development specific discussions.
Post Reply
TbbW
Posts: 348
Joined: Aug 19, 2005 10:08
Contact:

Post by TbbW »

i remember someone posted a formation code here on the forum.

make the units stay i formation in i.e a RTS.
the code was wery well written.
just search the forum for RTS :)
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Post by Dr_D »

I was just curious if you're going to go ahead and use opengl? Also, what size do you want to use? They'll need to be a power of two with gl, but you probably already knew that. :p I'd recommend something like 256x256... they'll look fine scaling down, just not so great scaling up.
Anyway, I made another test building. Only problem is, it looks more like a hut than a moon base. Now that I've got the alpha channel stuff worked out though, I can make some better designs. ;)

Image
Lachie Dazdarian
Posts: 2338
Joined: May 31, 2005 9:59
Location: Croatia
Contact:

Post by Lachie Dazdarian »

Stop pushing OpenGL. Or else.... :P
Deleter
Posts: 975
Joined: Jun 22, 2005 22:33

Post by Deleter »

Lachie Dazdarian wrote:Stop pushing OpenGL. Or else.... :P
Keep pushing it, or else. >>
TbbW wrote:i remember someone posted a formation code here on the forum.
http://www.freebasic.net/forum/viewtopic.php?t=7554
perhaps?
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Post by Dr_D »

This one needs more work on the alpha, but I think it looks pretty good. How do you like this style?

Image
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Post by 1000101 »

Edit: People seem to have found my code offensive so it is removed.

----------------

Edit: Just incase people thought I was being offensive to AlexZ, I removed that comment too.
Last edited by 1000101 on Aug 18, 2007 2:22, edited 2 times in total.
TbbW
Posts: 348
Joined: Aug 19, 2005 10:08
Contact:

Post by TbbW »

Deleter wrote:
TbbW wrote:i remember someone posted a formation code here on the forum.
http://www.freebasic.net/forum/viewtopic.php?t=7554
perhaps?
yeh, that whas the one... thanks for finding it ( i were to lazy to ) :)
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Post by Dr_D »

Edit: Well, so it was binding the same exact texture on each iteration of that for...next loop. So what? It was an old example that I quickly coded to show somebody an alpha sorting trick. Anyway, there was another thread started here: http://c0de.aknerd.com/index.php?topic=199.0
That topic has some more optimized examples that still don't run worth a crap on Lachie's card. I really don't think they had much in the way of alpha suppport in 98... or something. :p
Frank Dodd
Posts: 444
Joined: Mar 10, 2006 19:22

Post by Frank Dodd »

Great work on those modules Dr D I think they look great! They would really add to the impact of the game.
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Post by Dr_D »

Thanks Frank! They're really fun to make. :)
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Post by 1000101 »

Edit: Removed
Last edited by 1000101 on Aug 18, 2007 2:22, edited 1 time in total.
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Post by Dr_D »

Well, like I said before... I should have written a new program or modified that one with old hardware in mind. Instead, I showed him a link to some code I wrote months ago, for clarity. Which happened to have no optimization. It had a display list, but that's just because I didn't want to type glvertex all the time. :p


Anywho... AlexZ, any news?
AlexZ
Posts: 55
Joined: Aug 09, 2007 9:23

Post by AlexZ »

Hey,

Dr_D, the second image is incredible! and yes, I'm definitely going to use OpenGL now :-) Been thinking about the texture size, if you recommend 256x256 then I think let's use that. I will look at your code samples at c0de.aknerd.com and also the formation code and work on it as soon as possible. Please continue with the buildings, it will definitely be worth it.

Thanks
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Post by Dr_D »

Ok... That's good news. We'll do it then! :D
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Post by Dr_D »

Well, I made a water pump. It could use a little more deatil, but this can be animated to look like it's pumping, so that should make it look pretty interesting. ;)

Image
Post Reply