[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to "#Worldmap Does Not Scroll"
From: |
Aggro |
Subject: |
Patch to "#Worldmap Does Not Scroll" |
Date: |
Sun, 9 Apr 2006 15:52:21 -0700 (PDT) |
This is a fix to the bug "Worldmap Does Not Scroll". (
The worldmap didn't scroll to the right on the game
startup if the Pingu was standing on the level "One
must prepare, the rest must follow". This caused pingu
and pingu's location to be invisible to user, untill
pingu was moved on the visible area, after which the
scroll started to work again. )
The problem was that worldmap was asked to scroll to
the right edge of the map, but it was asked to scroll
a bit too much, outside the limits. There is a check
function which denied scrolling if scrolling target
was outside the limits. In such case no action for
scrolling was made and old scroll position was kept.
I fixed this by adjusting the check code to commit the
scroll in such cases, but not where the scroll was
asked to move (as that would cause problems in normal
game area), but instead it will now scroll to the very
limit, as close to the target as it is allowed.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
worldmap_scroll_patch
Description: 3571110718-worldmap_scroll_patch
- Patch to "#Worldmap Does Not Scroll",
Aggro <=