in reply to Re^2: Display partial image
in thread Display partial image
Thanks, I tried a couple of CSS tricks but not "overflow: hidden".
Still, I'm not getting the desired because the entire width of the image is displayed.
I'm trying to display the image in parts to show a game's progress. Imagine the image is sliced into neat pieces of 10 px by 10px. So if the game is at stage 1, the first 10px x 10px is displayed, starting from x=0 and y=0. At stage 2, the next (moving rightward first), the next 10px by 10px is displayed to show the progress.
Any more help or pointers will be appreciated :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Display partial image
by ikegami (Patriarch) on May 16, 2010 at 08:11 UTC | |
by Anonymous Monk on May 16, 2010 at 09:03 UTC | |
by ikegami (Patriarch) on May 16, 2010 at 17:04 UTC | |
|
Re^4: Display partial image
by jau (Hermit) on May 16, 2010 at 08:48 UTC |