TGC Codebase Backup



Db/Dbpro by Dodic

2nd Mar 2006 14:14
Summary

This is an progress bar script ! Edit to make it better if you wish,contains a window-like graphical interface, and you can write the window "title" just edit the line wh



Description

This is an progress bar script ! Edit to make it better if you wish,contains a window-like graphical interface, and you can write the window "title" just edit the line where it says print "Progress bar simulation" to loading please wait, or something like that.



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    `draw a window
ink rgb(124,124,124),142
box 155,220,460,350
ink 255,142
box 155,220,460,235
set cursor 155,220
ink 1,142
print "Progress bar simulation"
ink 255,142
box 165,270,435,295
ink rgb(255,200,255),142
box 165,270,x2,295

progress=0

for progress=0 to 100
x2=166+progress*2.68
box 165,270,x2,295
next progress