Opened 16 years ago
Closed 16 years ago
#102 closed enhancement (fixed)
Visualize car leaving track
Reported by: | Henrik Heimbuerger | Owned by: | Henrik Heimbuerger |
---|---|---|---|
Priority: | major | Milestone: | MS1: First release (1.0.0) |
Component: | track | Version: | pre-1.0 |
Keywords: | Cc: |
Description
The TrackWidget currently completely ignores the flag whether a car is still on the track. It should a) not draw a car when it's not on the track and b) visualize that somehow, like drawing it in a separate section.
Change History (8)
comment:1 Changed 16 years ago by
Status: | new → assigned |
---|
comment:2 Changed 16 years ago by
Status: | assigned → accepted |
---|
comment:3 Changed 16 years ago by
comment:4 Changed 16 years ago by
New commit by hheimbuerger (revision [413]):
[Partial fix for ticket #102] Implemented showing off-track cars semi-transparent.
Cars that have left the track are now shown semi-transparent (currently 30% opaque) at the position they left the track. This was implemented by adding another transformation to the MultiStyleImage, which also caches the transformation results.
The cars had to be converted because the MultiStyleImage expects 24- or 32-bit images, and they were 8-bit palette-based. While doing so, the old images have been moved into a subfolder and the main transparency of all images has been improved by hand.
comment:5 Changed 16 years ago by
Owner: | changed from Henrik Heimbuerger to Fabian Rohn |
---|---|
Status: | accepted → assigned |
Assigned for testing. (Sorry, someone had to take it. :) )
comment:6 Changed 16 years ago by
Owner: | changed from Fabian Rohn to Henrik Heimbuerger |
---|---|
Status: | assigned → accepted |
To do: visualise it in the thrust gauges, too.
comment:7 Changed 16 years ago by
comment:8 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
New commit by hheimbuerger (revision [369]):
[Partial fix for ticket #102] Implemented simple visualisation for a car that has left the track.
Additionally, the flag isOnTrack of the CarPosition? is now actually used and probably needs to be checked in more situations in the future.