Log In  
:: Unfold ::

Cart #18471 | 2016-01-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

I just missed the Screensaver Jam, but this is in the same spirit. A simple, silly thing—the cart creates endless permutations of the artist Josef Albers' 'Homage to the Square' paintings. Of course 'endless' meaning variations of sixteen colors and four composition types.

P#18472 2016-01-25 23:58 ( Edited 2016-01-26 04:58)

:: Unfold ::

Hi all,

I'm having a great time poking around Pico-8, and coming from the NES development world, a lot of the constrained programming makes sense. But my last sticking point is scrolling—I understand how maps work, and I can create a screen-to-screen transition effect by changing the offset into contiguous map data, but I can't figure out how to scroll smoothly 'across' map data. When I attach the camera to the player's position, I travel off the first map and into a weird glitchy void.

Does anyone have a simple example of how to implement scrolling? I've downloaded several example games, but everyone seems to have a different approach, and they are difficult to parse in a fully-functioning game.


P#13272 2015-08-29 15:43 ( Edited 2015-08-30 02:36)

Follow Lexaloffle:          
Generated 2023-06-10 04:38:40 | 0.075s | Q:14