Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Anyone know a cool program for editing datafiles?

$
0
0

I am learning programming and have built a small game that uses data files. Basically I wanted to edit text files and have them read instead of hardcoding everything into the code. So like I could have a text file called "room1, room2, room3" etc.

I made my own text file for this... basically it uses a "key" string. The code can either grab the single line (omitting the key) or grab all the lines between to keys...

something like this. (This is just sudo code)

//Line String -:blah blah blah blah blah blah blah blah blah blah blah blah …

Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>