XNA RPG Part 5 (More Scripting and putting things together)
Uploader Comments (Spinja12)
All Comments (10)
-
That music is absolutely amazing.
-
God that engine looks sleek. I would love to see a more polished map, though. Keep up the good work! :]
-
can you please make a tutorial on it
-
Can't wait for a new video myself.
-
Keep up the good work !
Cant wait for new vid !
-
Yup i was going the same route,
although the way i was parsing the string to get a number was basically me reinventing the wheel, i just found out today that int had a method call int.parse(string) that does all the work, i created a method that broke down strings into an array a characters getting their digits place getting their numeric representation doing a bunch of crap than finally spitting out the correct representation. I felt dumb when i found out that int.parse() does everything haha
-
That is fuckin slick. Im an artist dont know much about pixel art but Id like to see if i could possibly help.
Really nice job
I did a similar input box system
except mine was a cheap version
I would add keywords that would trigger an action or delegate, but once inside it would use switch statements on an array filled with the string split at certain characters, it would either read numbers or strings at certain positions.
I was very proud of it but is definatley no real interpreter or virtual machine, is that what your is. Yours seems extremely badass like a real interpreter.
TledgEs 2 years ago
The Scripts do get parsed and tokens are created. It doesn't use reflection though. It uses string comparison to determine the actual function calls. So the map object calls "CreateMultiStateObject" based on a Function token which holds the function name as a string. So its about half and half.
Spinja12 2 years ago