Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tiled animation plays strange
#7
Code:
void InitScrambledEgg()
{
    TLN_SetLoadPath("data/scrambledegg");
    TLN_SetRasterCallback(NULL);
    foreground_tilemap = TLN_LoadTilemap("scrambledegg.tmx",NULL);
    background_tilemap = TLN_LoadTilemap("scrambledegg_background.tmx",NULL);
    TLN_SetLayer(LAYER_FOREGROUND,NULL,foreground_tilemap);
    TLN_SetLayer(LAYER_BACKGROUND,NULL,background_tilemap);
    TLN_SetBGColor(0,0,0);
    TLN_SetLayerPosition(LAYER_FOREGROUND,0,HEIGHT*-1);
    TLN_SetLayerPosition(LAYER_BACKGROUND,0,HEIGHT*-1);
    sonic_xpos=65;
    sonic_ypos=193;
    SetSonicSpritePosition();
}

It doesn't happen on versions older than 2.8.0


Attached Files
.zip   scrambledegg.zip (Size: 5.85 KB / Downloads: 2)
Reply


Messages In This Thread
Tiled animation plays strange - by mycats - 05-06-2020, 08:32 PM
RE: Tiled animation plays strange - by megamarc - 05-06-2020, 09:04 PM
RE: Tiled animation plays strange - by mycats - 05-06-2020, 11:47 PM
RE: Tiled animation plays strange - by megamarc - 05-07-2020, 02:41 AM
RE: Tiled animation plays strange - by mycats - 05-07-2020, 05:54 AM
RE: Tiled animation plays strange - by megamarc - 05-07-2020, 08:05 AM
RE: Tiled animation plays strange - by mycats - 05-07-2020, 05:45 PM
RE: Tiled animation plays strange - by megamarc - 05-08-2020, 09:27 PM
RE: Tiled animation plays strange - by megamarc - 05-09-2020, 05:45 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)