Add flythrough mode #383

Closed
kduske opened this Issue Mar 1, 2013 · 7 comments

Comments

Projects
None yet
2 participants
Owner

kduske commented Mar 1, 2013

Hit m to toggle, then use the cursor keys (or whatever the user set up) to move the camera and the mouse to look around.

  • Don't react to movement keys when app is not focused
  • Allow customization of movement keys

kduske was assigned Mar 1, 2013

Contributor

necros0 commented Mar 1, 2013

Editing should still work in this mode, right?

Owner

kduske commented Mar 1, 2013

I don't see how it could, though because the mouse is hard-wired to changing the view direction. How would we handle the cursor in this mode, anyway?

Contributor

necros0 commented Mar 2, 2013

I've played some games like Myst 4 where you could either play with the mouse unlocked from the view (and so you see a cursor move around the screen and you can click on objects) or while the mouse is locked, so your cursor is the center of the screen.
I imagine in flythrough mode, if you clicked, the click ray would just come from the center of the viewport (you'd need to draw some kind of crosshair during flythrough mode of course).

Owner

kduske commented Mar 2, 2013

Okay, I we can play around with this and see if it works. I know that the Sauerbraten editor works like this all the time.

Owner

kduske commented Apr 23, 2013

Don't react to WASD keys if the app isn't focused.

Owner

kduske commented Apr 23, 2013

Allow customization of movement keys

Owner

kduske commented May 1, 2013

Done, but it's less powerful than in Radiant (I can't grab the mouse input in wxWidgets).

kduske closed this May 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment