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 / looking for away to make objects move back and forth by there self

Author
Message
vman187
4
Years of Service
User Offline
Joined: 21st Jan 2015
Location:
Posted: 21st Jan 2015 20:57
i just got darkbasic and have been messing with it for 2 weeks now trying to figure out a way to make objects move on the screen by there selves without input
WickedX
10
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 22nd Jan 2015 02:58 Edited at: 22nd Jan 2015 02:59
Something a little like this?

vman187
4
Years of Service
User Offline
Joined: 21st Jan 2015
Location:
Posted: 22nd Jan 2015 04:43
that works thanks
WickedX
10
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 23rd Jan 2015 01:36
np
WickedX
10
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 23rd Jan 2015 02:01
This code will cause the object to ping-pong back and forth without using the sin/cos functions. Just thought I would throw that out there.

Login to post a reply

Server time is: 2019-06-18 00:50:08
Your offset time is: 2019-06-18 00:50:08