Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Adding sprites to a tile map

  1. #1

    Adding sprites to a tile map

    I am working on a project called "Simulant" which uses a rotated tile map engine (similar to Transport Tycoon and other games of that style).

    The problem we are facing is placing sprites (buildings, trees etc).

    We have got the actual map working but when we add sprites, the map scrolls but the buildings stay fixed on the screen. Its as if the buildings are possitioned relative to the camera and not the map itself.

    Is there any documentation that would assist the devlopers? I've been searching the 'net for a few days now but without much success.

    Any help on this would be gladly received.

    Thanks,
    Rob.

  2. #2
    Intern Newbie
    Join Date
    May 2001
    Location
    Austria
    Posts
    30

    Re: Adding sprites to a tile map

    Hello!

    Try searching on www.gamedev.net the Isometric/Tile-Based forums in the reference section. Maybe you will find your answer there...

    hope it helps, regards from Austria
    - Christoph -

  3. #3

    Re: Adding sprites to a tile map

    Thanks, I've managed to figure this out now.

    I've been using tutorials and articles on gamedev and eventually found some source that would show how it could be done but I couldn't get the sprite class to talk to the tile class... but some header file includes later and it now works...

    Now to implement the functionality in our own game.

    Tina - Programmer for Project Simulant
    Learning OpenGL while working on sourceforge projects:
    https://sourceforge.net/projects/simulant/ and
    https://sourceforge.net/projects/projectnova/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •