Search the Community
Showing results for tags 'pathfinding'.
Found 5 results
-
https://castiger.itch.io/kotc-optimized-pathfinding-system An adaptation of the AStar pathfinding library for maximal optimized usage within Rpg Maker MV and Rpg Maker MZ, also used in my game Knight of the Celestial. I released this because after looking at all the other pathfinding scripts, I felt the community needed one that keeps the FPS high, and one that can find paths immediately and exactly to wherever one pleases, including random locations on the map, or near a target coordinates or target event. Unlike other pathfinding scripts, while anything is pathfinding, including the player, it will ignore collisions with other events if they're in the way,, passing through them without using Through, and without triggering unwanted touch events. Features: -Works on player as well, if anything ever throws it off course, it auto adjusts. -Highly optimized pathfinding with minimal to no impact on cpu usage. -Events stop pathing when in a menu, and continue when menu is closed. -No range limit, can path across a huge complicated map with no impact on performance. -Path to random walkable location on map.- -Path to random location in a chosen radius of the x y location chosen on map. -Path to target event or player. -Path to random location in a chosen radius of the target event or player.
-
https://castiger.itch.io/kotc-optimized-pathfinding-system An adaptation of the AStar pathfinding library for maximal optimized usage within Rpg Maker MV and Rpg Maker MZ, also used in my game Knight of the Celestial. I released this because after looking at all the other pathfinding scripts, I felt the community needed one that keeps the FPS high, and one that can find paths immediately and exactly to wherever one pleases, including random locations on the map, or near a target coordinates or target event. Unlike other pathfinding scripts, while anything is pathfinding, including the player, it will ignore collisions with other events if they're in the way,, passing through them without using Through, and without triggering unwanted touch events. Features: -Works on player as well, if anything ever throws it off course, it auto adjusts. -Highly optimized pathfinding with minimal to no impact on cpu usage. -Events stop pathing when in a menu, and continue when menu is closed. -No range limit, can path across a huge complicated map with no impact on performance. -Path to random walkable location on map.- -Path to random location in a chosen radius of the x y location chosen on map. -Path to target event or player. -Path to random location in a chosen radius of the target event or player.
-
- rpg maker mz
- rpg maker mv
- (and 7 more)
-
Hello everyone, I don't know if my question is going to sound weird, I'm trying to make a game with a real time system (I'm inspired by Zelda Majora's Mask), I know it's not really possible, but I would like keep its appearance. I know that events outside the map where the player is do not exist, they are not instantiated. We cannot for example trigger an event move, change the map, and when returning, the movement continued during this time. That said, even within a map it does not work as I would like. If I trigger an event (in parallel process) which is supposed to carry out a displacement (pathfinding), the displacement will be carried out only if the event enters the screen area of the player. This can give rise to inconsistencies such as for example: a guard patrols around the city, he passes in front of the player and leaves the screen, the player takes the opposite direction and expects to find him along the way , but in fact the guard stopped immediately after leaving the screen and waited for us to get closer to resume his patrol. I wonder two things: 1 / Is this problem an inherent part of the software limits or a script could solve it? 2 / Otherwise, do you have any ideas to get around the problem and maintain a semblance of life in real time in the game? I had thought of transporting the event case by case depending on if the player is supposed to cross his path at this time, but it seems really too heavy and complicated. I hope I have been as clear as possible, thanks for your attention!
- 13 replies
-
- event movement
- pathfinding
-
(and 1 more)
Tagged with:
-
Script Name JPS Pathfinding v 1.3 Script Link http://pastebin.com/raw.php?i=rdxSMW5m Credits By ChrisClark13 Based off of the Pathfinding script by Jet10985 & Venima Terms of Use Don't post this under your own name and credit me and the others if used. Introduction This script allows Events and the Player to use JPS Pathfinding (an extra fast optimization of regular A* Pathfinding) to avoid obstacles while going to a specified point on the map (or within a certain distance if the dist parameter is used). Features: • Uses speedy JPS Pathfinding, which is faster than A* by several times in most cases. • Only recalculates path when it absolutely has to based on if the path is blocked or not (configurable how far down the path it checks). • The find_path command can be seamlessly inserted into MoveRoutes and Event pages. • Includes a command (setup_patrol_routes) that will set up a basic patrol route given a list of coordinates inside of a Move Route. • Can be set up to call bits of code (see Proc objects in the Standard Library/callbacks) when the path either succeeds or fails. Also when a step is taken along the path or when the path gets blocked. * Has an option to instead path to the closest spot possible To install just put the script under Materials and above Main. Copied from the script's How to section: Compatibility Issues Likely to conflict with other pathfinding scripts and will not work properly with Pixel/Free Movement scripts or other scripts that alter movement. Will likely ignore diagonal movement scripts. Possible Upcoming Features Proc for when it has to start a new path or recalculates a path, if requested. FAQ None so far. Changelog
- 23 replies
-
- 3
-
-
- routes
- pathfinding
- (and 4 more)
-
OK so I am still unable to fix a glitch I keep getting. Instead of screenshots I'll just link you a zip that has the map and glitch in question. As I was taking screenshots it hit me that the events are to long, and to really get the problem you had to see it as well as the full events. However as I don't want a random viewer to steal my game I just took the single map, scripts, and basically copied them into a new project file. A lot safer and it makes it easier for you guys to test it out. So the glitch---if you pick up a item the killer NPC will either A, automatically see you even if he's 2 walls away from you. Or B and more commonly, he walks downward into the wall and completely stops moving. I CAN NOT FIX THIS NO MATTER WHAT I DO! If you just follow behind him it works just find, but there's enough room to go around him and catch him off guard. So can someone download the game and tell me what's the deal with this? You can see the script I'm using for pathfinding in the file, but here it is anyways (it's not the problem tho as this glitch was present way before I found the script). I don't want a new pathfinding script as it'll just result in the same exact glitch I'm betting, plus this was the only script I could ever get to work. I know it's not the problem, but just because "somebody" will ask for it rather than look in the zip...yeah this glitch has me very annoyed. XD I know it's not the script because before it I used events only for the pathfinding and the problem was exactly the same. http://www.mediafire.com/file/xu4z61v6u748kvt/Glitch_Testing.zip
- 11 replies
-
- vx ace
- darkness void
-
(and 3 more)
Tagged with: