1. ## Simba Text Rpg

Hello i am interested in making a text adventure and id prefer it on simba... may someone give me advise as to how to display and also have input and stuff for commands???

2. I'm not sure what you asking for?

3. A text rpg... what function can i use that will wait for me to enter a command... i havent found any...

4. You aren't being very clear. What method is being used to enter a command? You can make a form with a text box and a canvas or something?

5. Originally Posted by wantonman
A text rpg... what function can i use that will wait for me to enter a command... i havent found any...
Check the Simba Documentation and the SRL5 Documentation

6. @sex yes but would that be parcticle as to an entire text rpg? is there any simple console commant-type interface i can use???

what if i have two option go left or go right? simba needs to either accept left or right... and thats it... c++ might be better huh?

7. You will want to learn everything about Forms and Events. The way you will "wait" for commands is to wait for events.

Last edited by ShawnjohnSJ; 04-15-2012 at 09:59 PM.

8. Originally Posted by wantonman
@sex yes but would that be parcticle as to an entire text rpg? is there any simple console commant-type interface i can use???

what if i have two option go left or go right? simba needs to either accept left or right... and thats it... c++ might be better huh?
No, you would be better off using a different language. We don't have anything like curses.

9. I don't know about making it through simba, as regular readln's do not function, but text forms do.
You should make it the old fashion - pascal way! They are really time consuming, boring and copy-pasting(ish), but they get the job done!

10. It's not too practical in simba, but by no means impossible, or all that challenging (though perhaps a bit tedious). Anyways, you could use
Simba Code:
something := ReadLn()case something of1://blah2://blah3://blah
Simba Code:
while not iskeydown() do wait(100) //then have various options that each key corresponds to
or a form, which you can learn how to make over in the scripting tutorials section.

11. A text RPG (a.k.a Multi-User Dungeon (M.U.D.))? Very possible in almost every language

Google should provide you with a wealth of examples in the Pascal (and others) programming language (which you can later apply to Simba).

12. Use the new delphi xe2. Pascal was born from delphi so language is just the same has an easy to use IDE providing fast production of simple apps and games.
With this program you could just use an edit bot and keep checking it for entered text.

But I also recommend looking into databases and msql if your wanting to make it online research make notes of what needs to be done and work on one at a time be patient don't look for the easy option have a look on 3Dbuzz I learned a lot when I started from there videos I'm guessing they have a lot more to offer now.
Anyway good luck and don't give up.

13. Made a Text adventure game recently, only 3 rooms worth though. Made it through pascal. If you need help, feel free to ask.

Remember though, ALOT of If-Then-Else statements!

14. Originally Posted by joeygupta
Made a Text adventure game recently, only 3 rooms worth though. Made it through pascal. If you need help, feel free to ask.

Remember though, ALOT of If-Then-Else statements!
You could use game states, and make the rooms objects, that way the current game state can be calculated. ;]

less ifs, and more flexible

15. Banned
Join Date
Apr 2012
Location
Cell beside Joe
Posts
102
Mentioned
0 Post(s)
Quoted
0 Post(s)
I would love to test this if and when you complete this!

16. Originally Posted by CRU1Z1N
Use the new delphi xe2. Pascal was born from delphi so language is just the same has an easy to use IDE providing fast production of simple apps and games.
With this program you could just use an edit bot and keep checking it for entered text.

But I also recommend looking into databases and msql if your wanting to make it online research make notes of what needs to be done and work on one at a time be patient don't look for the easy option have a look on 3Dbuzz I learned a lot when I started from there videos I'm guessing they have a lot more to offer now.
Anyway good luck and don't give up.
What?? lol.

17. You could just as easily use FPC if you'd like to use Pascal, then it's as simple as readln/writeln.

Simba also has the MessageBox and MessageDlg commands which you may find useful.