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 / Matrix questions

Author
Message
Ant
19
Years of Service
User Offline
Joined: 27th Nov 2004
Location:
Posted: 9th Aug 2006 18:31
Hi all

This is my first real attempt at a matrix. So I was wondering if you could advise me on some basics, like how I can make the object follow the matrix contour. And also how do I stop the object from going out of the matrix area. I would appreciate a little help on this one.

Thank you

Ant

Oh and it's DBP !!!

Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 10th Aug 2006 01:15 Edited at: 10th Aug 2006 01:16
Alright, here is your code, changed a little. The unfirmiliar comments are by me. Read them, they have a few things. Anyway, here is your changed code. I fixed your camera.


Ant
19
Years of Service
User Offline
Joined: 27th Nov 2004
Location:
Posted: 10th Aug 2006 23:38
Hey Thanks Sixty
Ant
19
Years of Service
User Offline
Joined: 27th Nov 2004
Location:
Posted: 13th Aug 2006 01:28
Hi all !

Just been playing around with this code, and just wondered if anyone could help me out with the code for jumping. Also maybe you could include code for say maybe a jetpack ? An explanation would also be good.

Not too much to ask I hope !! lol

Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 13th Aug 2006 02:29 Edited at: 14th Aug 2006 04:03
Here's something I was working on an hour ago lol. It includes 2 examples. just run the code and see the "Matrix With Gravity" example. Then, in the source code just look for that example. Shouldn't be too hard to find. Anyway, here are the 2 examples: you'll see why it's so long when you run it
And don't worry, it's also the REMS that make it long. Hope it's not too complex for you... If you want I can make an easier one.





And here is the source code that you want alone. LOTS easier to read:




Ant
19
Years of Service
User Offline
Joined: 27th Nov 2004
Location:
Posted: 14th Aug 2006 20:42
Thanks again Sixty, good example ! When I get time I'll have a look at it in more depth.

That's the only problem I don't get much time, hence my extremely long learning curve.

But thanks for the advice.
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 14th Aug 2006 21:55 Edited at: 15th Aug 2006 04:56
No problem If you like the menu I have an example of how to do that in the code snippets board:

http://forum.thegamecreators.com/?m=forum_view&t=86469&b=6

Of course I did add a few things in the menu you saw here

Login to post a reply

Server time is: 2024-09-25 05:32:58
Your offset time is: 2024-09-25 05:32:58