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.

DarkBASIC Discussion / Array question.

Author
Message
Zeus
17
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 26th Jun 2009 02:05
I have used arrays to store player position data and I used a simple system to try and mess around arrays because I have never used them before and was making a circle in the player(1,1) and player(2,1) positions but it would position the circle on 0,0 when it should be positioning it on 100,265. Why doesn't this code work?

Brick Break
User Banned
Posted: 26th Jun 2009 02:10 Edited at: 26th Jun 2009 02:11
Your array code looks fine, and it positions correctly for me. You're using DB 1.21 (1.14) right?

Zeus
17
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 26th Jun 2009 02:11 Edited at: 26th Jun 2009 02:15
Yes I am.

[edit]
Hmm, that is odd. It is working now, oh well.
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 26th Jun 2009 02:12
works fine for me

There are only 10 kinds of people in the world, those who understand binary and those who dont
Brick Break
User Banned
Posted: 26th Jun 2009 02:12
Well, I really don't know what do tell you then. It works.

Login to post a reply

Server time is: 2024-05-20 10:41:08
Your offset time is: 2024-05-20 10:41:08