Thread: game programming borders without a good shape

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,735
    My suggestion, make all of the parts normalised areas, so for example:

    map uses context as it's normalised area
    each individual map square (so turns, corridors etc) uses the map as it's normalised area, add the map position to it's own when passing the vertices, I count about 31 pieces vertically, I would expect the same horizontally
    actors use the map pieces as their normalised space, would have to examine up to 3 pieces away for borders since the actors will overshoot the normalised boundaries, maybe about 2.5 width & height?

  2. #2
    Registered User
    Join Date
    Jan 2022
    Posts
    6
    Quote Originally Posted by awsdert View Post
    My suggestion, make all of the parts normalised areas, so for example:

    map uses context as it's normalised area
    each individual map square (so turns, corridors etc) uses the map as it's normalised area, add the map position to it's own when passing the vertices, I count about 31 pieces vertically, I would expect the same horizontally
    actors use the map pieces as their normalised space, would have to examine up to 3 pieces away for borders since the actors will overshoot the normalised boundaries, maybe about 2.5 width & height?
    I fixed it, thanks.game programming borders without a good shape-pacman-gif

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 09-11-2012, 01:03 AM
  2. Good link for game programming
    By VirtualAce in forum Game Programming
    Replies: 1
    Last Post: 04-24-2006, 06:12 PM
  3. Good books on Game Programming
    By deadfingers in forum Game Programming
    Replies: 3
    Last Post: 03-14-2005, 08:24 PM
  4. I'm looking for a good book on 3D game programming
    By Music_Man in forum Game Programming
    Replies: 2
    Last Post: 09-09-2001, 09:29 PM
  5. Looking for a good book on 3D game programming
    By Music_Man in forum C++ Programming
    Replies: 2
    Last Post: 09-09-2001, 09:28 PM

Tags for this Thread