123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|423|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> radar in 3d space....

Thu, 27 Mar 2008, 21:40
Orion Pax
Any ideas on a good way to do a radar with all 3 axis or the best idea you can come up with? I am thinking it wont be very good since we have a lot of Y movement here.

I have tried a second cam on ortho view with a view port in the corner and facing down on my ship. But I am just not feeling it.
Fri, 28 Mar 2008, 03:24
Yo! Wazzup?
I'm pretty sure there's something for this in the BB.com Code Archives.

-=-=-
Hi everyone! I'm new to Blitz and only 10 years old so all things coding is gush to me
Fri, 28 Mar 2008, 03:50
Orion Pax
I've looked but its all for FPS games. Meaning ground. Something my game doesnt have. Thought maybe some one would have a different idea for this as it includes all 3 axis.
Fri, 28 Mar 2008, 04:46
Paul
Maybe, instead of having a circle you could have an alphablended green sphere?
Fri, 28 Mar 2008, 05:33
JL235
There must be some nice tutorials on how to make an Elite style radar. That always worked well.
Fri, 28 Mar 2008, 06:09
Jayenkai


You'd have to make it 99* more complex for proper 3D rotations and things, and probably scale it down so's it fits in your HUD.. And maybe draw an actual radar screen instead of using that in-blitz one.. Make it a bit fancier!

Either way, if memory serves me correctly, that's pretty much how the Elite one worked..

-=-=-
''Load, Next List!''
Fri, 28 Mar 2008, 12:51
Forklift_Fred
That's how I remember it, as well as other similar games back in the Spectrum days! Vertical lines to represent hight.

An easier alternative, though probably not so intuitive to use, is to have a colour scale for the y-axis, maybe as simply as 255,0,0 for the highest traceable distance through 128,0,128 at your level, to 0,0,255 for the lowest. Perhaps with an optional number readout

Building on Jay's quickly...



|EDIT| something doesn't look right there, but hopefully you get the idea...

-=-=-
Come rain or shine...