My script had more features and worked fine when it had 2k linesSometimes it's better to make it work first, and then optimize![]()
Yep, 4k lines but the script is also responsible for entire instance system (waiting rooms, generating monsters, prizes, names and some other things).4k lines to generate 5 dungeons with same cave design? It can be done in less than 2k lines easily.
At the moment I'm working on simple terrain generator in C++, it will be able to generate islands, caves, mazes etc.What you guys think about create a Github place for that code?
At the moment I'm working on simple terrain generator in C++, it will be able to generate islands, caves, mazes etc.
Generator will be capable to export terrains to PNG, LUA, JSON and even OTBM.
Why C++? If we want to create quality terrains we have to use some CPU-intensive functions (for ex. terrain erosion).
As soon as I finish basic functions I'll create git repo for it and post link here.