Issue336

Title Tux move target kept from one lvl to another when teleported
Priority minor Status open
Assigned To matthiaskrgr Keywords
Linked issues Watchers matthiaskrgr

Submitted on 2011-07-24 19h08 by tracker_migration, last changed by salimiles.

Messages
Author: tracker_migration Date: 2011-01-28   15h14
Submitted by matthiaskrgr
Take a look at the attached screenshot.

When I click at the position of the blue cross, a new waypoint is spawned for tux, he starts directly walking towards it.
Between the destined area and the current position of Tux lays a teleporter. Tux will step into that teleporter and get teleported to another level while trying to reach the waypoint.

The problem is that now the waypoint is not rejected but transferred to the 'new' level, Tux is still walking towards the waypoint. However, the teleporter may have put tux anywhere on the new map, whereas the WP is spawned at the same position on the new map as it formerly was on the old map. Tux directly continues walking towards the WP and just walks through wall or enemies, directly towards the WP.

I don't know what happens if the WP cannot be placed on the respective position on the 'new' map because the new map does not provide the same map size (will the WP be spawned beyond any level?).

However I think that when tux teleports, the WP should be reset to the current position (the point that tux is placed on after teleporting)

Currently it may also happen that if Tux continues walking, he may also walk into the fromXtoY teleporter again and than into the fromYtoX again, thus is stuck in teleportation (I didn't observer this yet, it's just a theory).

revision 3804
Author: tracker_migration Date: 2011-02-26   09h04
Posted by ahuillet
The difficulty being that going across a level's border is also a teleportation and goes through exactly the same code, and we don't want to stop tux when crossing a level border. So a distinction needs to be introduced, which is quite doable but also a beginner task that I will keep open for GSoC applicants.
Author: tracker_migration Date: 2011-02-28   17h34
Posted by ahuillet
Also, not a bug.
Author: tracker_migration Date: 2011-03-21   08h16
Posted by ahuillet
Fix incorrect title (there is no such thing as a "tux WP"). Lowering priority.
Author: salimiles Date: 2012-11-11   08h34
Last year we did a lot of modifications to the teleportation code. This bug may
o longer exist *fingers crossed*.
History
Date User Action Args
2012-11-11 08:34:14salimilessetassignedto: matthiaskrgr
messages: + msg2379
nosy: + matthiaskrgr
2011-07-26 11:58:57matthiaskrgrsetpriority: bug -> minor
2011-07-24 19:08:03tracker_migrationcreate