- Joined
- Feb 26, 2018
- Messages
- 15
- Reaction score
- 0
- First Language
- German
- Primarily Uses
- RMVXA
Sorry if I'm posting my thread in a wrong topic, but since Im still new I still need some time to adapt the structure of the site.
I have a huge project, where I make a pathfinder in RGSS3. So my problem is, if my dungeon is big ( for example 100x50 tiles), and the pathfinder event is far enough (ca. 50 tiles), it starts lagging, since the script is running as a paralell, repeat process, and the lagging occurs because it has to compute all the neighnour and parent tiles, so it has a lot to do, which needs time of course.
I found basic AStar pseudos around the internet, and I implemented one in RGSS3, so my script should be full and functional, with all the necessarily functions in it.
Is there a way to make the game smooth, without changing all my dungeons size?
I have a huge project, where I make a pathfinder in RGSS3. So my problem is, if my dungeon is big ( for example 100x50 tiles), and the pathfinder event is far enough (ca. 50 tiles), it starts lagging, since the script is running as a paralell, repeat process, and the lagging occurs because it has to compute all the neighnour and parent tiles, so it has a lot to do, which needs time of course.
I found basic AStar pseudos around the internet, and I implemented one in RGSS3, so my script should be full and functional, with all the necessarily functions in it.
Is there a way to make the game smooth, without changing all my dungeons size?
Last edited:



