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 / Enter the Matrix ... and select a cell?

Author
Message
Social Disease
21
Years of Service
User Offline
Joined: 30th Sep 2003
Location: State of Confusion, beyond Denial...
Posted: 4th Oct 2003 15:50
Anybody have any ideas on how to zoom around a matrix and select the cell you are centered on?

I got the swooping part (see code)
but I want to be able to select certain cells and set them to be walls, floors, so on... in order to make a kind of simplistic 3d level editor for a dungeon game.

Am i re-inventing the wheel? can anyone help?


So many games... so little time!
Social Disease
21
Years of Service
User Offline
Joined: 30th Sep 2003
Location: State of Confusion, beyond Denial...
Posted: 4th Oct 2003 15:53
ummm... about that code I posted earlier, ignore the randomize matrix 1, 250. I was playing around




So many games... so little time!
HardBoot
21
Years of Service
User Offline
Joined: 10th Sep 2003
Location: Earth
Posted: 4th Oct 2003 18:25 Edited at: 4th Oct 2003 18:28
newb here, but..
You should be able to.. i think.

Super-Duper Simple version -

load object wall
POS=camera positon
if Mkey then duplicate wall : position wall at POS

GL

edit-
better do a get ground height in there too
Might also be worth getting the matrix 'cell' thats at your camera position.
Social Disease
21
Years of Service
User Offline
Joined: 30th Sep 2003
Location: State of Confusion, beyond Denial...
Posted: 4th Oct 2003 23:57
Thanx Hardboot,
What we need is a good Matrix tutorial. I saw a pretty good one for DBc a while back, but i haven't seen any for DBpro. Can anyone direct me to one?
thanx!


So many games... so little time!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 5th Oct 2003 03:33
Matrices are pretty much the same in DBC and DBP, just toy around with it a bit.

RPGamer

Current Project: Eternal Destiny
We need a texture artist!
If your interested email me - Johnrocs@aol.com
Social Disease
21
Years of Service
User Offline
Joined: 30th Sep 2003
Location: State of Confusion, beyond Denial...
Posted: 6th Oct 2003 22:57
Hrm... can't find that old tutorial.
can anyone point me to one?
specifically one that demonstrates how to find what cell# is a a particular place on the screen?


So many games... so little time!
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 7th Oct 2003 00:52
I knocked this up for someone a while back but should do the trick



If your mansion house needs haunting, just call Rentaghost!

Login to post a reply

Server time is: 2024-11-10 21:21:04
Your offset time is: 2024-11-10 21:21:04