#582 closed task (fixed)
Add camera reset command
Reported by: | Philip Taylor | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 4 |
Component: | Atlas editor | Keywords: | simple |
Cc: | Patch: |
Description
In the map editor, sometimes you can get the camera lost (badly rotated or scrolled off the side of the world) so it's hard to recover. There should be some way (hotkey? button? menu command?) to reset the camera to an on-world position and default orientation.
Also there should probably be a way to reset to the game's default camera orientation without changing position, so designers can see the same perspective players will usually see. Maybe this should be combined with the recovery thing - always reset to default orientation, and if the camera's still off the side of the map then move it back on.
Attachments (1)
Change History (8)
comment:1 by , 14 years ago
Milestone: | Unclassified |
---|
comment:2 by , 14 years ago
Milestone: | → Backlog |
---|
by , 13 years ago
Attachment: | cam_reset.patch added |
---|
comment:4 by , 13 years ago
Milestone: | Backlog → Alpha 4 |
---|
Thanks, looks good! Applied with a few trivial changes:
- Changed the 'c' to be recognised in
OnChar
- that seems a more appropriate place thanKeyScroll
since this isn't really scrolling. - Changed the
POST_MESSAGE
second argument to()
instead of being empty - doesn't make any real difference but it looks less weird. - Fixed some whitespace to be more consistent with the existing code (e.g. no space before the
(
in function declarations). - Changed the
MESSAGEHANDLER
to only callGetFocus
once, sinceGetFocus
does quite a lot of work. - Moved the
MESSAGE
to be with the other camera control messages rather than cinematics messages.
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 13 years ago
(Oops, yes - see r8911 (I forgot to use the right keyword to automatically close the ticket))
comment:7 by , 8 years ago
Keywords: | review removed |
---|
Milestone Unclassified deleted