Text game arrow keys
On my 50000 line text game i am still writing in C++ I am stumped on how to implement the arrow keys in my program.
I think it may have somthing to with a class or maybe a windows function, am I correct here:
// user presses up arrow key
return response x;
I'm developing a rather complicated Java system, and it's not even 20000 lines long yet. What on earth are you doing in all of these lines?
XD, my text-based RPG isn't even 300 lines but I just started it yesterday.
He probably "hard-coded every single rat." ;)
Ha Ha very funny you lot! LOL! The reason it so big is becuase I am making it a version playable with 4 different characters, each with there owm seperate story line.
When I have finshed and debugged it I will post it on the GameBaord then you can have a go if you wish. I am currently developing the 'BOSS' class as I write this. Pretty complicated.
I want to move away from Console programming after this and try my hand at OpenGl or Direct X so I can add graphics and create more visual games
So? And if there were 100 characters, it shouldn't make on iota of difference to 2 (or actually even 1) character. Data, it's all about the data.
Meaning that the program should load data files, not have all the data in the program code.