Edit built-in behaviour (e.g. pathfinding to adjust virtual cell width and height but without rotation)

Hello everybody. I would like to use 8-directional pathfinding (which basically works) but the path is not very smooth and the character changes direction very frequently, so the animation looks nervous. It might help if I could edit the virtual cell height and width without enabling rotation (currently it’s either both or none). Is there a) a way to set a smoother path or b) a possibility to edit an existing behaviour or c) where are existing behaviours stored so I could edit a copy of it? Any hints and help welcome. Cheers. Llalundo

Hey!
Base extensions are in JavaScript and modifiable on the Github repository of GDevelop. You can also share your modifications and make them official. If you only want to make some local tweaks, they are located at /your/gdveleop/installation/path/resources/GDJS/Runtime/Extensions/<extensionname>/<behaviorname>runtimebehavior.js

Hi Arthur. Thanks a lot for the path and the hint about Github. I’ll check it out (first locally). I first have to see if I can figure out how to implement a variant of that behaviour. If something useful comes from it I will try to share. Cheers. Llalundo

1 Like