Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Сhange color pallete in a part of tilemap
Post: Сhange color pallete in a part of tilemap

How to change color pallete in a part of tilemap to get water effect like in Sonic games?
mycats Support 1 4,909 06-30-2020, 03:43 AM
    Thread: Invalid object address is (nil)
Post: Invalid object address is (nil)

I am building game for Linux, and I get broken animation engine and a lot of errors. Is it library error, or I've just incorrectly built it? Code: -- g++ [game files] -o release -lTilengine -lSDL2 -...
mycats Support 1 3,174 05-25-2020, 03:29 AM
    Thread: Remove tile from tilemap
Post: RE: Remove tile from tilemap

Thanks! You need to define empty tile before setting it and use Code: -- Tile tile={0}; TLN_SetTilemapTile(foreground_tilemap,tileinfo.row,tileinfo.col,&tile); -- instead of Code: -- TLN_Se...
mycats Support 5 13,446 05-14-2020, 05:30 PM
    Thread: Remove tile from tilemap
Post: RE: Remove tile from tilemap

Removed SetLayer(), still not removing tile. But no more errors in log.
mycats Support 5 13,446 05-14-2020, 02:24 AM
    Thread: Remove tile from tilemap
Post: Remove tile from tilemap

Hi! I am trying to remove tile from tilemap (for ring collision) with this code: Code: -- if(ring_found) {     PlaySoundId(7);     TLN_SetTilemapTile(foreground_tilemap,tileinfo.row,tileinfo.co...
mycats Support 5 13,446 05-13-2020, 08:48 PM
    Thread: Tiled animation plays strange
Post: RE: Tiled animation plays strange

Code: -- void InitScrambledEgg() { TLN_SetLoadPath("data/scrambledegg"); TLN_SetRasterCallback(NULL); foreground_tilemap = TLN_LoadTilemap("scrambledegg.tmx",NULL); background_tilemap...
mycats Support 8 17,490 05-07-2020, 05:45 PM
    Thread: Tiled animation plays strange
Post: RE: Tiled animation plays strange

Hi. After newest update background layer animations are played on foreground layer, and I am getting smth like this after adding background animations.
mycats Support 8 17,490 05-07-2020, 05:54 AM
    Thread: Tiled animation plays strange
Post: RE: Tiled animation plays strange

Thanks, it works!
mycats Support 8 17,490 05-06-2020, 11:47 PM
    Thread: Tiled animation plays strange
Post: Tiled animation plays strange

Some animation frames are not displayed in Tilengine window. Here is animation in Tiled and in TLN window.
mycats Support 8 17,490 05-06-2020, 08:32 PM
    Thread: Release 2.7.0 - sprite list order, sprite masking
Post: RE: Release 2.7.0 - sprite list order, sprite mask...

Hi again. Will you reimplement SetAnimationDelay()?
mycats News & Announcements 2 9,155 04-28-2020, 01:38 AM
    Thread: Per-pixel sprite vs tilemap collision
Post: RE: Per-pixel sprite vs tilemap collision

For example, I must call GetLayerTile() deducting window height from ypos to make it detect tiles. Code: -- TLN_GetLayerTile(LAYER_FOREGROUND,x,y-HEIGHT+19,&tileinfo); -- I don't clearly underst...
mycats Support 3 8,808 04-24-2020, 02:17 AM
    Thread: Per-pixel sprite vs tilemap collision
Post: Per-pixel sprite vs tilemap collision

Are you planning to add native sprite vs tilemap collision detection? I have tried to reproduce method with GetLayerTile and height masks, but it is too buggy...
mycats Support 3 8,808 04-23-2020, 02:43 AM
    Thread: Sequence engine works strange
Post: Sequence engine works strange

I load sequencepack from file, and then extract sequences using TLN_FindSequence(). Sometimes it works correctly, but in some cases it loads only a part of sequences and then giving a "Resource file n...
mycats Support 1 5,219 03-30-2020, 03:46 AM
    Thread: Change animation delay
Post: RE: Change animation delay

Any way to change animation delay / set TLN_SequenceFrame in loaded sequence?
mycats Support 3 8,545 03-12-2020, 07:34 PM
    Thread: Disable raster callback?
Post: RE: Disable raster callback?

Using DisableBGColor() after disabling raster callback caused errors like this, using SetBGColor(0,0,0) instead fixed problem.
mycats Support 3 8,263 02-09-2020, 05:22 PM
    Thread: Disable raster callback?
Post: Disable raster callback?

I have set raster callback function in the first part of game, and I don't need it in the second part. How to disable it? Setting it to NULL causes rendering errors.
mycats Support 3 8,263 02-09-2020, 04:58 AM
    Thread: Change animation delay
Post: Change animation delay

Hi again! TLN_SetAnimationDelay() is not working for me. Code: Code: -- TLN_SetAnimationDelay(0,animdelay); -- Sequence: Code: --         6,7,8,9,10,11 --
mycats Support 3 8,545 01-24-2020, 03:58 AM