Jump to content

Any tip on how to achieve the ONI pathfinding?


Recommended Posts

Hello, I'm a fun of ONI and game development, I'm so into the ONI type of games and I've tried many times (mostly adapting A-Star algorithm to platformer game characters with gravity and no jumping) on achieving the pathfinding feature similar to that of the ONI characters, but none succeeded.

I'm wondering if ONI developers could share some tips on how to do that, so I can enjoy not only playing such great game like ONI, but also the process of creating a similar feature.

Thank you very much.

Link to comment
Share on other sites

@UnityFan, I don't know of any existing detailed descriptions of ONI pathfinding.  I don't think ONI does anything much more fancy than A*.  But, if you really want to know you should be able to read the code directly.  I've followed the instructions for decompiling the game code described here: https://github.com/Cairath/Oxygen-Not-Included-Modding/wiki

It will get you the C# portion of the code base, which doesn't include some things (mostly, the heat and fluid/gas flow simulations) which are implemented in native code.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
×
  • Create New...