How to do click-and walk in an Iso 3D RPG

Started by
11 comments, last by MasterInsan0 22 years, 3 months ago
as stated above a few times, you can use picking (someone said directX has it, and I know for sure that OpenGL does) or the converting to map co-ordinates.

If it is a true ISO engine, then you can just convert the mouse axis to screen coordinates.

In a perspective engine, you can stil convert it (much harder though) or you can just use picking. I recommend picking personnally. Works well (although it uses an extra frame, atleast under OpenGL)


Beer - the love catalyst
good ol'' homepage
Beer - the love catalystgood ol' homepage
Advertisement
Thanks for all of your responses! They''ve helped a ton!
Justin O'ConnerProducer, Designer, ProgrammerUnseen Studios
Hello there,

if your using OpenGL you can use gluUnProject
with screen X,Y and the value of the Z buffer,
which can be obtained by using glReadPixels
with the format of GL_DEPTH_COMPONENT.

Hope it helps

Mark.

This topic is closed to new replies.

Advertisement