Axe Software Forums
  Quest Developer Forum
  Tips & Tricks?


Author Topic:   Tips & Tricks?
Pikaflare posted 17-04-2001 19:24 GMT     
Does anybody know where I can get scripts for commands such as typing two or three commands on the same line? Like this:
get the orange. get the apple. get the banana.
I think that would help out my games a lot. I've got a question for MaDbRiT. Where did you learn to code ASL? From the ASL manual? I hope some people play my games. They aren't that good. I'm working on an actual game. It's quite big, but I've only started around last week. Thanks for everyone's help.
Thanx
Pikaflare-- [email protected]
MaDbRiT posted 17-04-2001 19:48 GMT          
quote:

Does anybody know where I can get scripts for commands such as typing two or three commands on the same line? Like this:
get the orange. get the apple. get the banana. I think that would help out my games a lot.

If you want that kind of input possibility you would need to do some serious 'pre-parsing' of the player's input in ASL and then submit the results to Quest's standard parser. It would NOT be an easy task, but it's not impossible either.

However - I coded a 'take all' command - which is just a case of including the library containing the ASL code to use. You could incorporate that - then take a look at the code and see how I did it, that might help short term and point you in the right direction.

quote:
I've got a question for MaDbRiT. Where did you learn to code ASL? From the ASL manual?

I learned to code WAY WAY before Quest ASL arrived.. I taught myself the fundamentals of coding by programming ballistics data onto a Sinclair ZX81 in Z80 Assembler back in 1981 or thereabouts!

So I already knew how to code - I just had to learn the syntax of Quest's A.S.L. which is where the manual came in.

Have fun..

Al

Alex posted 17-04-2001 21:39 GMT          
I've not tried it but adding support for "get the orange. get the apple. get the banana" *should* be as simple as:

command <#thing1#. #thing2> {
exec <#thing1>
exec <#thing2> }

Pikaflare posted 18-04-2001 21:47 GMT          
MaDbRiT,
Your previous knowledge is the reason you know so much about ASL? Mostly all that is the same between what I'm used to is the "if" statement, variables, etc. I'm getting used to ASL now, and I've started a project for a game. It's not like my Earthquake! games at all. This one is an actual game. It's quite large, but I'm hoping not to let it go over 1.5 megabytes. Has anyone tried out my games yet? And the question I've been trying to get answered is if there are any other tips & tricks pages for Quest around here. I found Standard.lib to be extremely helpful. I hope I get some replys soon.
Thanx
Pikaflare-- [email protected]
Pikaflare posted 18-04-2001 21:48 GMT          
MaDbRiT,
Your previous knowledge is the reason you know so much about ASL? Mostly all that is the same between what I'm used to is the "if" statement, variables, etc. I'm getting used to ASL now, and I've started a project for a game. It's not like my Earthquake! games at all. This one is an actual game. It's quite large, but I'm hoping not to let it go over 1.5 megabytes. Has anyone tried out my games yet? And the question I've been trying to get answered is if there are any other tips & tricks pages for Quest around here. I found Standard.lib to be extremely helpful. I hope I get some replys soon.
Thanx
Pikaflare-- [email protected]