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 / Array Manipulation problems

Author
Message
Dr BOK
21
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 26th May 2003 16:07
I coded a user defined array for a skill system. The problem is I cant edit the values in the array within the do..loop. It works if I add in
"If spacekey() then Skills(1).level=Skills(1).level+1"
but then it increments so fast it makes white squares
(numbers blurring). Otherwise the value wont change at all. Source provided below. Thanks.
Flawless Designs
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 26th May 2003 16:38
i'd do a timer delay thing like this:
Dr BOK
21
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 26th May 2003 17:36
Thanks

Flawless Designs

Login to post a reply

Server time is: 2024-09-20 09:50:05
Your offset time is: 2024-09-20 09:50:05