Tell me, what will be the code hero in a level from a json file (or any other option supported by R. U. B. E). For example - If a hero consists of 10 bodies.
in the description https://www.iforce2d.net/b2djson/ - every body and the connection need to upload separately? then combine... Yes?
Load hero from to game from RUBE
Re: Load hero from to game from RUBE
Normally you would make the character in one file, and the level in another file.
You can load a file into an existing world using the method mentioned on this page in the section titled "Merging files into the same world"
http://www.iforce2d.net/b2djson/#merging
You can load a file into an existing world using the method mentioned on this page in the section titled "Merging files into the same world"
http://www.iforce2d.net/b2djson/#merging