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.

Newcomers DBPro Corner / [LOCKED] why is this so slow

Author
Message
Hunter H111
17
Years of Service
User Offline
Joined: 29th Jun 2007
Location: United States
Posted: 29th Jun 2007 21:03
-why does the ship move so slow?



sync on
do
hide mouse

load image "0123.bmp", 1

set image colorkey 0,255,0

sprite 1,200,200,1
set sprite priority 1,1
scale sprite 1,30

sprite 1,mousex(),mousey(),1

sync
loop

Attachments

Login to view attachments
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 29th Jun 2007 23:52 Edited at: 29th Jun 2007 23:55
Hmmm, works fine for me.

However it may help if you put some of those commands before the do command (i.e. The loop starts), I mean you don't need to hide the mouse on every single loop do you?

edit: Also, new users have their posts moderated before they appear on the board so there is no need to submit it twice if 'it doesn't appear instantly' as it results in a double post.

Text adventure competition 2007 - Click here to find out more

Login to post a reply

Server time is: 2024-11-25 15:43:27
Your offset time is: 2024-11-25 15:43:27