Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Showing my pic on the screen.

Author
Message
doffer
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location:
Posted: 8th Jan 2004 21:24
Hi.

I am making a little program where the user shall give the program some information. When the program loads the data together to write something on the sreen i would like to ´have a Load pic on while it's loading. What is the "show image" command?

Denmark Denmark Denmark.
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 8th Jan 2004 22:02
Load bitmap "name.bmp" ....A Picture

Load whatever you are loading here

Put a timer here because some computers are so fast that the picture will dissapear almost right away....


T=Timer()+5000

Repeat
Until T<= Timer()


Pincho.

Penfold
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 8th Jan 2004 22:56
If your using bitmap use
load bitmap "your image name.bmp",0

if your using jpg use
load image "your image name.jpg",1
paste image 1,0,0


then put your code in you want to load in here.

then for timers you can use as Pincho said
T=Timer()+5000
Repeat
Until T<= Timer()


or

sleep 1000 1000 = 1 second

or

wait 100 *not sure what 100 is

then your program could continue running

Ok so its not a mouse.
doffer
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location:
Posted: 8th Jan 2004 23:09
Thanks i got it now.

Denmark Denmark Denmark.
Penfold
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 8th Jan 2004 23:18
Woohoo I helped someone else...

thats twice now.. I must be getting better..

Ok so its not a mouse.

Login to post a reply

Server time is: 2024-05-11 22:20:07
Your offset time is: 2024-05-11 22:20:07