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

Author Topic: Isometric RTS  (Read 1366 times)

0 Members and 1 Guest are viewing this topic.

Switchboy

  • Newbie
  • *
  • Posts: 4
    • View Profile
Isometric RTS
« on: June 02, 2020, 04:29:30 pm »
About my project
For the last couple of months, I’ve been working in my spare time to create an isometrically projected RTS a la Age of Empires. Development has been on and off depending on how busy real life is. Bear is mind this is my second big project in C++. I've made an RPG roguelike before (which was quite far in development) but that codebase became such a mess that in the end I had to abandon it. So rather then start from scratch I decided to create another game in another (in my opinion underdeveloped by indie developers) genre.
 


The project goals that have been reached:
- Create a custom game engine based upon an isomorphic projection.
- Have actors move around in this world by issuing mouse commands.
- For pathfinding use A-star and or bidirectional A-star.
- Add collectable resources to the world
- Make villagers gather the different resources and bring them to a ‘town center’
- Use these resources to build different buildings
- Require specific buildings to house new population
- Make certain the buildings produce units
- Implement Fog of war
- Interact like an RTS game
- Robust villager AI for doing a task
- Show different animations for these resources
- Generate random map on game startup
- Make the units able fight each other using melee
- Make the actors fight each other using ranged attacks
- Make certain buildings able to perform a ranged attack
- Working minimap

Attainable project goals for the near future:
- Fighting animations
- Different units
- More buildings then houses and town centers
- Different colors on units and buildings for the eight teams
- Implant a basic Rock/Paper/Scissors for damage calculations during battle
- Researchable upgrades for units and buildings
- Flesh out the research with a tech tree
- Basic AI to play against
- Add sounds

Aim for the moon project goal:
- Working netcode to play against friends!

Cool! So where is the code?
https://github.com/switchboy/IsoRTS

Allright, I want to see it in action!
To show off some of the current gameplay I’ve attached a devlog video. For those of you who do not speak dutch it is better to watch it without sound :P

https://www.youtube.com/watch?v=XsZtY1JZatI

What do you think?

Sub

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: Isometric RTS
« Reply #1 on: June 03, 2020, 10:33:47 pm »
This is awesome and impressive.  Well done

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9845
    • View Profile
    • development blog
    • Email
Re: Isometric RTS
« Reply #2 on: June 04, 2020, 10:12:11 am »
Really cool project, totally feeling the AoE inspiration in this one :)

Also it's always funny how much Dutch I can understand as a Swiss person. Dutch has so many German/Swiss-German and English words. :D
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

Switchboy

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Isometric RTS
« Reply #3 on: June 16, 2020, 10:30:46 pm »
I finally made some progress with drawing sprites, which is not my strongest point. So I could add more buildings to my game:
Mill
Receives food, will allow the construction of farms and food related research. For now I am goin to borrow the concept from age of Empires. But I will look into another way of implementing farms when the game is more mature
Lumber camp
Receives wood and allows research of wood gathering technology

Barracks
Will train melee soldiers and allows for melee related research

Both the mill and lumbercamp are animated sprites:



I am already regretting the way I wrote my buttons and buildings classes. It is really a lot of work to add new stuff this way. I have to edit five files to do so. But it is a good learning experience to bump your head a couple of times for future projects!


New playable release:
https://github.com/switchboy/IsoRTS/releases/tag/melee
« Last Edit: June 17, 2020, 01:28:45 pm by Switchboy »

 

anything