SpriteRTS

From ClanLib Game SDK

You can choose the target renderer by enabling the #define in program.cpp.

For OpenGL 2 and above:

  1. define USE_OPENGL_2 (default)

For OpenGL 1.3 and above:

  1. define USE_OPENGL_1

For Software renderer

  1. define USE_SOFTWARE_RENDERER


Demonstrates sprites in a simple RTS engine

Left click on unit to select Left click and drag mouse to select area Hold shift to add to selection Left click on nothing to deselect

Right click on landscape to move Right click on other unit to attack Shift right click to force attack Ctrl and shift to fire nuke

Escape to quit


Example Window
.