visual studio - How can i add external configuration files to a c++ project? -
i made r-type game using c++, coding visual studio on windows, , wanted know if possible add together external configuration files project: in main.cpp using lot of methods created in other classes set evrything in place game. have grouping of methods create patterns of enemies, other 1 allow me decide when create them move , collide,etc...
at moment have 1 level. want have config file named isntance level1, in set things related level, , read code in , proceed in main...
so, possible such thing? if is, how can accomplish it?
yes, possible. need decide info helps define level. need create file type (perhaps using pre-existing formatting xml or ini) puts of info files. have 1 file per level, or multiple levels in 1 file. @ point can read in @ origin of level, or @ other time.
c++ visual-studio configuration-files
No comments:
Post a Comment