Thread: Tile Engine in Direct3D

  1. #1

    Tile Engine in Direct3D

    I'm starting a tile engine and I got stuck at this point. How do I store the vertices for the tiles? Can I throw them all into a big vertex buffer or something?

    I'm using DirectX 9.

  2. #2
    I figured it out. I just throw all the vertices into my vertex buffer and use an index buffer and DrawIndexedPrimitive() to draw the tiles.

  3. #3
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    You forgot to trancend the tri-dionamic recall. Check for manifested memory transfers.
    If you ever need a hug, just ask.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need testers for editor
    By VirtualAce in forum Game Programming
    Replies: 43
    Last Post: 07-10-2006, 08:00 AM
  2. tile engine view area
    By Punksocko in forum Game Programming
    Replies: 15
    Last Post: 10-26-2005, 10:53 PM
  3. DirectX engine nearing completion
    By VirtualAce in forum Game Programming
    Replies: 2
    Last Post: 01-12-2004, 05:07 PM
  4. Tile Engine Scripting Idea. Suggestions?
    By napkin111 in forum Game Programming
    Replies: 8
    Last Post: 07-28-2003, 02:01 PM
  5. Need lots of help with tile engine
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 06-12-2002, 01:54 AM