Dynamic Load

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

Dynamic Load

Postby riobros76 » Mon May 12, 2008 12:46 pm

This is a tutorial that lacked
with a loading bar, music and percentage

For you friends.

http://www.mediacompoint.it/amitaly/tutorial/dynamicload.zip
Attachments
load.jpg
load.jpg (10.36 KiB) Viewed 6500 times
Code Pure for Adventure Maker
_________________
www.beliceweb.it
User avatar
riobros76
Code Master
 
Posts: 154
Joined: Sat Oct 16, 2004 6:18 pm
Location: Italy

Postby GM-Support » Mon May 12, 2008 1:43 pm

Thanks
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby Imari » Mon May 12, 2008 1:58 pm

Very nice, Ros! Once again, thank you.
User avatar
Imari
VIP
 
Posts: 872
Joined: Fri Jun 20, 2003 4:49 pm
Location: Virginia, USA

Postby Mystery » Mon May 12, 2008 9:27 pm

Thanks riobros :D
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby Lyberodoggy » Tue May 13, 2008 7:37 am

Hehe! Nice! Thanks a lot.
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby Imari » Tue May 13, 2008 2:34 pm

I think that I've found all of the "pieces" that make up what Rosario's done, but I have a question for someone who understands how this is done. What exactly is being timed in his code below? Thanks.

Code: Select all
Sub Carica()
Hotspot(1).width= lod
Text(1).caption=int(lod/45)&"%"
lod=lod+35
If lod > 4550 then GoToFrame "A1",1,1
End Sub
User avatar
Imari
VIP
 
Posts: 872
Joined: Fri Jun 20, 2003 4:49 pm
Location: Virginia, USA

Postby riobros76 » Tue May 13, 2008 3:08 pm

Hello Imari, :P

Sub Carica() 'Call the sub from frame Start -> Prop. -> Advanced

Hotspot(1).width= lod 'setup width <-> of hotspot = 1 (go in Project propierties -> Advaced)


Text(1).caption=int(lod/45)&"%" 'Show text top hotspot for number and percentuage and divides for 45

lod=lod+35 'Add +35 in width hostspot for every second. This is method enhances hotspot for infinity

If lod > 4550 then GoToFrame "A1",1,1 'This line stop infitnity +35 and when then arrives to 4550 (45.5*100) go in the frame A1

End Sub 'Close the sub


-------------------
Sorry for my English
Code Pure for Adventure Maker
_________________
www.beliceweb.it
User avatar
riobros76
Code Master
 
Posts: 154
Joined: Sat Oct 16, 2004 6:18 pm
Location: Italy

Postby Imari » Wed May 14, 2008 4:43 am

Thanks, Ros. That helps. :D
User avatar
Imari
VIP
 
Posts: 872
Joined: Fri Jun 20, 2003 4:49 pm
Location: Virginia, USA

Postby riobros76 » Sun May 18, 2008 11:37 am

Thanks :wink:
Code Pure for Adventure Maker
_________________
www.beliceweb.it
User avatar
riobros76
Code Master
 
Posts: 154
Joined: Sat Oct 16, 2004 6:18 pm
Location: Italy


Return to Post Your Own Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests

cron