User Tag List

Results 1 to 6 of 6

Thread: NPCs out of bounds

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Keese Just registered
    Join Date
    Jan 2018
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    316
    Level
    6
    vBActivity - Bars
    Lv. Percent
    50.58%
    https://youtu.be/XdOC1VVwKro

    Here is a short example video of what I'm talking about. The "Sniper Joe" NPC just barely goes off screen when jumping off the ledge and disappears. Just drawing an offset or hitbox adjustment would not solve this problem. I would need to save Joe's current HP and everything else and then respawn another clone NPC in it's place to remedy this situation. If the NPC would just not get erased until a half screen or full screen away it would remedy this problem.

    https://youtu.be/RptpEH6LUIE
    Here is another example video of putting the NPC back onto the screen after it gets erased.
    guys.cpp is messed up... Through a series of debugging I learned that when the enemy despawns from going off screen it's X coordinates are set to -3XXX something.. lol
    I did, however, accomplish the effect I was going for. Thanks for your input anyway.
    Last edited by Downloader; 12-25-2018 at 04:58 PM.

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social