Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Thu Nov 15, 2018 10:54 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Nov 15, 2009 10:39 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Mon Jun 09, 2008 12:25 pm
Posts: 217
Location: Earth, I think
I wrote this:
Code:
Start:
TextWindow.WriteLine(".")
TextWindow.Clear()
Timer.Interval = 1000
TextWindow.WriteLine(" .")
TextWindow.Clear()
Timer.Interval = 1000
TextWindow.WriteLine("  .")
TextWindow.Clear()
Timer.Interval = 1000
Goto start


You can see what I'm trying to do.
The only problem is that it does it really fast. Even when I add more zero's.
Is there any other way to slow it down to about a second?


Edit : This is one of my first scripts, so I'm noob with this.

_________________
DO NOT CLICK HERE. YOU HAVE BEEN WARNED
Got a PS3? PM me your PSN.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 16, 2009 12:57 am 
Offline
Komrade
Komrade
User avatar

Joined: Tue Mar 27, 2007 6:23 pm
Posts: 1354
Location: Mario Raceway, 1509.831, 217.198, -564.429
Title: Mario Kart 64 Hacker
You've mistaken setting the Timer.Interval attribute for a delay. The timer probably has some kind of callback when the interval passes that you should use. You're also inserting a line into the box, then immediately removing it again.

You might also note what language this is.

_________________
Image 143
HyperNova Software is now live (but may take a few tries to load) currently down; check out my PSP/DS/Game Boy/Windows/Linux homebrew, ROM hacks, and Gameshark codes!


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 16, 2009 11:30 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Mon Jun 09, 2008 12:25 pm
Posts: 217
Location: Earth, I think
I want it to clear everything, I just want to delay the clearing and the showing of the dots.

EDIT: I used small basic's. It's like a learner version of visual basics.

_________________
DO NOT CLICK HERE. YOU HAVE BEEN WARNED
Got a PS3? PM me your PSN.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 16, 2009 10:30 pm 
Offline
Komrade
Komrade
User avatar

Joined: Tue Mar 27, 2007 6:23 pm
Posts: 1354
Location: Mario Raceway, 1509.831, 217.198, -564.429
Title: Mario Kart 64 Hacker
But what you're doing is:

1) Draw dots
2) Erase dots
3) Delay
4) Repeat

The dots will only be on the screen for a tiny fraction of a second. Steps 2 and 3 need to be swapped.

That alone won't help though, because you're not actually delaying. You're just repeatedly configuring some timer somewhere to fire at 1000ms intervals.

_________________
Image 143
HyperNova Software is now live (but may take a few tries to load) currently down; check out my PSP/DS/Game Boy/Windows/Linux homebrew, ROM hacks, and Gameshark codes!


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 17, 2009 10:29 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Mon Jun 09, 2008 12:25 pm
Posts: 217
Location: Earth, I think
O.k. then thanks.

But, How do I delay the dots from showing up?

_________________
DO NOT CLICK HERE. YOU HAVE BEEN WARNED
Got a PS3? PM me your PSN.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 17, 2009 9:27 pm 
Offline
Komrade
Komrade
User avatar

Joined: Tue Mar 27, 2007 6:23 pm
Posts: 1354
Location: Mario Raceway, 1509.831, 217.198, -564.429
Title: Mario Kart 64 Hacker
Look up how to actually use the timer instead of just changing its attributes.

_________________
Image 143
HyperNova Software is now live (but may take a few tries to load) currently down; check out my PSP/DS/Game Boy/Windows/Linux homebrew, ROM hacks, and Gameshark codes!


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 18, 2009 11:59 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Mon Jun 09, 2008 12:25 pm
Posts: 217
Location: Earth, I think
Ok, I'll try and see If google can do that, hopefully it can.

_________________
DO NOT CLICK HERE. YOU HAVE BEEN WARNED
Got a PS3? PM me your PSN.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group