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 / Please some ask - I need Help please

Author
Message
BigApe
16
Years of Service
User Offline
Joined: 13th Dec 2007
Location: Greece
Posted: 4th Jan 2008 18:31
* sorry on my english bad
* sorry on my much questions
-----------------------------------------
1- how I can make gravity ???
2- how I can make cursor ???
3- how I can position by 3d max make box
-----------------------------------------

BigApeSoft
www.AltraGames.jeeran.com
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 4th Jan 2008 23:23
Kalispéra, my fellow Greek.

1) Consider using Move Object Down on your objects. The speed should get greater over time.

2) What do you mean? Do you mean like the mouse?

3) Use Load Object, then Position Object

Your signature has been erased by a mod
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 5th Jan 2008 02:49 Edited at: 5th Jan 2008 02:52
2.) Best way is to make a sprite of the cursor and just reposition the sprite at MOUSEX(),MOUSEY() every loop.

Edit: Like this:



"Ok, so that wasn't funny. I don' have any good Christmas jokes."
BigApe
16
Years of Service
User Offline
Joined: 13th Dec 2007
Location: Greece
Posted: 5th Jan 2008 03:23
thank you Zotoaster and bmaczero

BigApeSoft
www.AltraGames.jeeran.com
BigApe
16
Years of Service
User Offline
Joined: 13th Dec 2007
Location: Greece
Posted: 5th Jan 2008 04:10
Zotoaster ...
I used Move Object Down but not collision
its down continue until with collision for object

BigApeSoft
www.AltraGames.jeeran.com
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 5th Jan 2008 17:18
Ok, collision can be tricky in DarkBasic.

Use the Intersect Object command (or download Sparky's DLL, it has similar and faster commands).

It will make an imaginary line from Point A to Point B. If it intersects any polygons it will return the distance between Point A and the intersection.

So you can do this:


Your signature has been erased by a mod

Login to post a reply

Server time is: 2024-09-27 10:36:37
Your offset time is: 2024-09-27 10:36:37