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???
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???
I'm not sure what you asking for?
Simply a GOD beast...
My Tutorials
A text rpg... what function can i use that will wait for me to enter a command... i havent found any...
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?
Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
Originally Posted by #srl"A programmer is just a tool which converts caffeine into code"
@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?
You will want to learn everything about Forms and Events. The way you will "wait" for commands is to wait for events.
By the way, reading the SRL docs won't help you with making a text-based rpg.
Last edited by ShawnjohnSJ; 04-15-2012 at 09:59 PM.
Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
Originally Posted by #srl"A programmer is just a tool which converts caffeine into code"
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!
For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip
It's not too practical in simba, but by no means impossible, or all that challenging (though perhaps a bit tedious). Anyways, you could useSimba Code:something := ReadLn()
case something of
1://blah
2://blah
3://blahor a form, which you can learn how to make over in the scripting tutorials section.Simba Code:while not iskeydown() do wait(100) //then have various options that each key corresponds to
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).
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
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.
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!
For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip
My scripts: LunarPlanker
---
My Utilities: Cross Platform, Open Source, SPS Path Generator
Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.
I would love to test this if and when you complete this!
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)