Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Anyone creating an isometric RTS game?  (Read 9511 times)

0 Members and 1 Guest are viewing this topic.

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
Anyone creating an isometric RTS game?
« on: March 04, 2010, 02:13:32 pm »
Really wonder why some project like this hasn't come up yet :?:

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
Anyone creating an isometric RTS game?
« Reply #1 on: March 04, 2010, 11:50:04 pm »
I guess maybe because they are really hard to do?

There is a discussion on it over here, and it certainly does sound like there is a lot more to it than one would expect, at first glance.

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
Anyone creating an isometric RTS game?
« Reply #2 on: March 05, 2010, 01:36:49 am »
Yeah it isn't trivial but not impossible :)
It just would be cool if there were some other guys here doing something like that to discuss certain things.

Currently I'm thinking about how to properly combine animated sprites with the corresponding movement so e.g. walking looks natural.

Grandmaster B

  • Newbie
  • *
  • Posts: 7
    • View Profile
Anyone creating an isometric RTS game?
« Reply #3 on: March 17, 2010, 10:15:25 pm »
Im making a iso RTS, maybe we can share experience. I've the iso map ready and also need animated sprites. I've made a exporter for Blender that exports proper isometric sprites. But no code to load and display them yet.

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
Anyone creating an isometric RTS game?
« Reply #4 on: March 17, 2010, 10:26:25 pm »
That's cool! :)

I also have some code to generate staggered and diamond iso maps. Currently I'm writing all the entity classes to handle game characters, buildings etc.
For animated sprites in general I adapted this excellent code: http://www.sfml-dev.org/wiki/en/sources/anisprite


That's what it currently looks like, the tiles are chosen randomly:

http://trass3r.xentax.com/node/5

Grandmaster B

  • Newbie
  • *
  • Posts: 7
    • View Profile
Anyone creating an isometric RTS game?
« Reply #5 on: March 18, 2010, 10:44:41 am »
Hey, thanks for pointing me to that code. You game looks nice so far, i've basically the same FPS.

I see you are using D, does it work good with SFML? What version of D you are using?

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
Anyone creating an isometric RTS game?
« Reply #6 on: March 18, 2010, 01:17:32 pm »
Yeah, it's nice code, though I wonder if it is possible to replace the local clock used in each AnimSprite instance with a global one for performance reasons (less system calls).

Currently I magically get up to 700 fps, don't know why.

I've completely switched to D2, always using the latest version. It works like a charm so far :)

Grandmaster B

  • Newbie
  • *
  • Posts: 7
    • View Profile
Anyone creating an isometric RTS game?
« Reply #7 on: March 18, 2010, 02:38:55 pm »
Quote from: "Trass3r"
Yeah, it's nice code, though I wonder if it is possible to replace the local clock used in each AnimSprite instance with a global one for performance reasons (less system calls).


Yes i second that. I'm using a single timer in my game-loops and call all update() functions with that timer.