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.

3 Dimensional Chat / Breakout help!!!!

Author
Message
j4cK4zz
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: Norway
Posted: 20th Feb 2003 09:36
ok!! I'm done with the basics (i think) i have created the objects; bat,ball,brick,level.

but i dont know exactly how to make the bat move left or right when i move the mouse.. like in dx-ball..

am i supposed to write:



but that doesnt work for me....

how am i supposed to o that??
BackBONE
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location:
Posted: 20th Feb 2003 13:47
use

x=x+mousemovex()

Chears
j4cK4zz
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: Norway
Posted: 20th Feb 2003 21:19
okay.. but um.... where am i supposed to write that??

like this:??



????
i dont understand.... (I havn't used the mouse before, i can use the keyboard thought, but that won't be the same)
BackBONE
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location:
Posted: 20th Feb 2003 22:38
nope
do it like:

do
x#=x#+mousemovex()
position object 1,x#,0,0
loop

and make shure the y and z coords are right for your situation.

Login to post a reply

Server time is: 2024-03-28 22:59:03
Your offset time is: 2024-03-28 22:59:03