| Anonymous | Login | Signup for a new account | 2010-09-08 00:13 CEST | ![]() |
| Main | My View | View Issues |
| View Issue Details [ Jump to Notes ] | [ << ] [ >> ] | [ Issue History ] [ Print ] | |||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0000130 | OpenClonk | Engine - Graphics | public | 2010-02-07 14:32 | 2010-08-23 13:50 | ||||||
| Reporter | Newton | ||||||||||
| Assigned To | |||||||||||
| Priority | high | Severity | minor | Reproducibility | have not tried | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Fixed in Version | |||||||||||
| Summary | 0000130: C4D_Foreground affects position | ||||||||||
| Description | C4D_Foreground Object is always in the foreground, even before global particles. If something is C4D_foreground, it seems to also move with paralaxity even if it is not C4D_Parallax. It seems to be another Zoom problem. | ||||||||||
| Additional Information | How to reproduce my concrete problem: 1. until this bug http://bugs.openclonk.org/view.php?id=129 [^] is not fixed yet: open PlayerControls.txt in System.c4g, copy the complete GamepadSNES control set into the WASD_Mouse control set and change its info to [ControlSet] Name=WASD_Mouse Keyboard=1 Mouse=0 Gamepad=1 (mouse disabled, gamepad enabled) 2. Start the game. You need a controller. Start to aim with a bow. You'll see a cursor appear. Pause the game. 3. Now, select the cursor and type SetCategory(GetCategory() | C4D_Foreground); 4. You can see the bug if you zoom in or out (F5, F6) Quick way to reproduce: 1. Start the game, select your clonk and type SetCategory(GetCategory() | C4D_Foreground); 2. You can see the bug if you zoom in or out (F5, F6) | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0000256) Newton (administrator) 2010-02-07 14:42 edited on: 2010-02-07 14:42 |
offset.png: This is the foreground-error I described offset_shift.png: This is how it looks like if you select the clonk in editor mode and press shift. (Without changing the category of the clonk) The two problems are closely related. |
|
(0000257) Sven2 (developer) 2010-02-08 19:20 |
This is intended behaviour; the documentation needs to be adjusted to reflect this. Basically, I kidnapped C4D_Foreground to be drawn in the GUI layer. It's using GUI zoom (currently always 1, but that may change) and GUI offsets (i.e., constant offsets without scrolling). I do not want to change this, because I dislike categories for sorting. We should rather introduce another attribute for that. We might want to rename C4D_Foreground to C4D_GUI. |
|
(0000366) Newton (administrator) 2010-03-09 23:54 |
OK here is my proposal: + Rename C4D_Foreground to C4D_GUI. Objects with category C4D_GUI is not zoomed + Eliminate C4D_MouseSelect, only C4D_GUI objects can receive the mouse selection and drag&drop callbacks. + Eliminate C4D_IgnoreFoW, C4D_GUI is the only thing that should be drawn above the FoW and: + C4D_GUI is NOT Parallax by default. Or at least, it should be possible to turn off parallaxity for certain GUI elements. Reason: At least the gamepad cursor is not parallax but sticks to the clonk. But it should also be in front of all other objects, ignore the fow and not be zoomed. |
|
(0000805) Newton (administrator) 2010-08-01 16:07 |
Sven is not available in the next time. Anyone else feels confident to do this? This is a rather big change (I guess). |
|
(0000916) Newton (administrator) 2010-08-23 13:16 |
This bug needs to be resolved urgently because of the gamepad controls (the "virtual cursor" should not be zoomed by F5/F6). Since gamepad controls will not work until the release, I'll remove the dependency. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-02-07 14:32 | Newton | New Issue | |
| 2010-02-07 14:41 | Newton | File Added: offset.png | |
| 2010-02-07 14:41 | Newton | File Added: offset_shift.png | |
| 2010-02-07 14:42 | Newton | Note Added: 0000256 | |
| 2010-02-07 14:42 | Newton | Note Edited: 0000256 | |
| 2010-02-08 19:20 | Sven2 | Note Added: 0000257 | |
| 2010-03-09 23:54 | Newton | Note Added: 0000366 | |
| 2010-03-13 07:05 | Ringwall | Relationship added | related to 0000176 |
| 2010-03-23 22:11 | Newton | Status | new => assigned |
| 2010-03-23 22:11 | Newton | Assigned To | => Sven2 |
| 2010-04-14 00:20 | Newton | Priority | normal => urgent |
| 2010-04-24 22:27 | Isilkor | Relationship added | child of 0000266 |
| 2010-08-01 16:06 | Newton | Assigned To | Sven2 => |
| 2010-08-01 16:06 | Newton | Status | assigned => new |
| 2010-08-01 16:07 | Newton | Note Added: 0000805 | |
| 2010-08-23 13:16 | Newton | Note Added: 0000916 | |
| 2010-08-23 13:16 | Newton | Relationship deleted | child of 0000266 |
| 2010-08-23 13:50 | Newton | Priority | urgent => high |
| Copyright © 2000 - 2010 MantisBT Group |