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.

Code Snippets / Making & Collecting Crystals(types/arrays)

Author
Message
Moondog
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: outside the box
Posted: 27th Oct 2005 19:21
Just a simple program that creates a bunch of crystals and then you guide a character around to collect them. The code is commented and easy to understand:
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 27th Oct 2005 23:16
it doen't work.

Our aim is to keep the loo's clean, your aim can help.
Moondog
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: outside the box
Posted: 28th Oct 2005 01:55
works fine fore me...

to better understand what's going on, please define:
Quote: "it doen't work."


wise yoda
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 28th Oct 2005 17:36
Maybe cause this only works in DBP (Types remember).

Works fine for me too.

Immunity and Annihalation makes Immunihalation...
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 28th Oct 2005 18:09
RND(3) produces a number from 0 to 3, not 1 to 3 like you think. If you want a number from 1 to 3 you need RND(2)+1 - this will stop those rouge white crystals appearing with random points.

Boo!

Login to post a reply

Server time is: 2024-11-23 11:10:31
Your offset time is: 2024-11-23 11:10:31