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. #3
    Keese Just registered
    Join Date
    Jan 2018
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    314
    Level
    6
    vBActivity - Bars
    Lv. Percent
    49.33%
    Quote Originally Posted by ZoriaRPG View Post
    You can move HitXOffset and DrawXOffset, coupled with HitYOffset and DrawYOffset--instead of raw X, and Y--to do this, by script.

    Now that we have npc scripts, I would prefer not to make the guys.cpp stuff any more absurd.
    Yes, I could keep the actual NPC on screen and just draw and hit offset, but then I would have to do weird things to the NPC behavior functions I wrote when it comes to them bumping into walls and things like that..
    It is not that drawing offscreen or otherwise having their hitboxes offscreen is the issue, it is the fact that ZC erases the NPC when it goes offscreen, and I would have to write up a method to save their current stats and then put them back onto the screen after they are erased.
    Last edited by Downloader; 12-25-2018 at 03:08 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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