Make your games more interesting

This forum is meant for people to share their knowledge by writing their own tutorials for Adventure Maker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Make your games more interesting

Postby Lyberodoggy » Fri Feb 23, 2007 10:50 pm

Here is a way to make puzzles that must be solved within a time limit:

Write in the advanced tab of the frame properties
___________________________________
DO
A=A+1
LOOP WHILE A<1001
___________________________________
The code above will keep the vbs engine busy for a while. You can replace 1001 with any number you want. After the delay code, write any code you want, for example make the puzzle end unsolved.

hope I helped...
User avatar
Lyberodoggy
Administrator
 
Posts: 2519
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby ShadowHunter » Sat Feb 24, 2007 3:10 pm

Hi,

Nice of you to post a tutorial :D

However I advice never to use a "Loop" and if you want implement a loop always use a "Do Events" in between otherwhise you end up using lots of resources. Loop is a dangerous function in VB 8)

I recon a recommanded way to do this is by using a timed-event.

Kind regards,

ShAdOwHuNtEr
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium


Return to Post Your Own Tutorials

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron