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 / help with this code

Author
Message
MORPG programmer
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location: runescape
Posted: 9th Feb 2006 00:39
hello, i'm trying to make a 3D modeler but nothings working can someone help me?

i've tried switching the 0.2 and the i but still doesn't work. it compiles fine, but it doesnt work.


Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Feb 2006 04:54
That for/next loop only runs one time then ends. You need a do/loop to repeat it over and over again. Also the for/next needs to be gotten rid of and just use a variable for the object numbers and increase it when the mouse is clicked.




Unseen Ghost
22
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 9th Feb 2006 04:59
Hi,

It might be working and you don't know it because all your objects are created in the same spot the way you have your code set up.

I never put the 0 before the decimal for any number less than 1.

make object cube i,.2
MORPG programmer
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location: runescape
Posted: 11th Feb 2006 18:54
wow thanks grueslayer!!!

LOL, i was about to ask why it only made one cube then i remembered i had to position it to mouse x and y LOL
MORPG programmer
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location: runescape
Posted: 11th Feb 2006 22:52
ok i'm using your code it just blinks then dissappears, been debugging it for quite a bit still cant find out why!! heres my code



thanks!!!
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 12th Feb 2006 13:07 Edited at: 12th Feb 2006 13:11
Possibly the z co-ordinate is too close to the camera?

(And: Welcome back DB Newb3...)
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 12th Feb 2006 14:30
Quote: "Welcome back DB Newb3..."

umm...what?

oh...his location...

Good job hiding your past identities


Hippopotomonstrosesquippedaliophobia-Fear of long words
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 12th Feb 2006 16:42 Edited at: 12th Feb 2006 16:43
using the ID hashes RPGamer mentioned in the thread called something like EDU forums... try looking at DB Newb3's hash, look who it comes back as...

But yes the location made me a little curious... - I think I've just earned my place in MI6...
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 12th Feb 2006 18:38
@dbnewbe 3
Why do you keep registering? the mods just ban accounts anyway

@Mods
Didn't mean to sound harsh was just pointing out the truth

Theme park simulator 15% Currently making object selection
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 12th Feb 2006 20:08
Ban? has the new game maker man done anything wrong yet?
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 12th Feb 2006 21:20
no it's just his last 3 accounts got banned

Theme park simulator 15% Currently making object selection
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 12th Feb 2006 23:56
@ game maker man

Sorry I didn't reply right away. Positioning a 3D object with the mouse is not impossible but it's difficult.

This code snip is just to show you what your code is doing right now so you can see where it's really putting the boxes. (I increased the size a bit):




MORPG programmer
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location: runescape
Posted: 13th Feb 2006 00:18
thank you!!!
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 13th Feb 2006 14:26 Edited at: 13th Feb 2006 14:29
Game Maker Man = (DBNewb3) ----->(Dumbo) or (!!!) or (Game Maker Man) or maybe (the BEST programmer)

Lol. JK. (This is considering you ARE dumbo...)

If you ever find one of my posts offencive, and have a reason, I will get rid of it.


Hippopotomonstrosesquippedaliophobia-Fear of long words
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 13th Feb 2006 20:11
we need a way to know when its him , i mean as for me , i dont care , its ok.. , but so many accounts...

x1bwork
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 13th Feb 2006 20:31
a little off topic, but your english is really improving,dodic.
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 14th Feb 2006 12:18
yea nice to see you've learnt

Theme park simulator 15% Currently making object selection
Spunky sk8er
19
Years of Service
User Offline
Joined: 22nd Feb 2006
Location: Ehm.... no
Posted: 23rd Feb 2006 03:01
hehe this topic got off topic way quick...

Login to post a reply

Server time is: 2025-05-23 14:49:16
Your offset time is: 2025-05-23 14:49:16