Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi, I've run your test assets with Tilengine 2.11.3, and I get expected results. This is Tiled wiew: And this is Tilengine window result: What do you see in your output? Are you using latest r...
megamarc Support 32 40,612 10-30-2022, 04:44 PM
    Thread: Read Access Violation
Post: RE: Read Access Violation

Yes you're right: classic systems have a fixed numbers of hardware palettes, the Color RAM -or CRAM for short-, that are used globally by all tiles. Each tile has some palette select bits in its attri...
megamarc Support 15 18,348 10-30-2022, 04:10 AM
    Thread: Read Access Violation
Post: RE: Read Access Violation

No it can't as they're two unrelated properties: Layer.palette is an optional property that can be NULL -and by default is-, whereas Tileset.palette is mandatory and belongs to the Tileset, not the La...
megamarc Support 15 18,348 10-30-2022, 02:34 AM
    Thread: Read Access Violation
Post: RE: Read Access Violation

Hi! Thanks for your suggestion. However, it's not recommended to modify linked resources that have been loaded recursively. For example when you load a tileset or a bitmap, a palette is also loaded/c...
megamarc Support 15 18,348 10-29-2022, 07:44 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

In that case, I need to test it with the same assets you're using. With my test assets, it woks as expected. Can you upload them here?
megamarc Support 32 40,612 10-29-2022, 07:21 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

No, you need to initialise the engine with TLN_Init() before anything else. You're loading a tilemap before initialising the engine.
megamarc Support 32 40,612 10-29-2022, 08:38 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi! You are loading the tilemap before initialising the tileset, that may cause problems. TLN_Init() should go first.
megamarc Support 32 40,612 10-29-2022, 01:46 AM
    Thread: Read Access Violation
Post: RE: Read Access Violation

System64 Wrote: (10-27-2022, 03:47 AM) -- Hi, can one tileset uses multiple palettes? (Like Palette attribute per tile in old consoles) Thanks for your answer By the way, this is a pretty exciting u...
megamarc Support 15 18,348 10-27-2022, 09:24 AM
    Thread: Read Access Violation
Post: RE: Read Access Violation

Thanks for your feedback guys! I've pushed the fix to the multi-palette issue to github, you an update your builds to release 2.11.3. As it's an important fix I'll later push it to itch.io, too. Now...
megamarc Support 15 18,348 10-27-2022, 03:15 AM
    Thread: Tilengine 2.11 released
Post: RE: Tilengine 2.11 released

Hi, I've pushed release 2.11.3 that fixes some important issues with previous release, related to the ability to use multiple tilesets per layer: Fixes wrong behaviour with not ideal cases: having un...
megamarc News & Announcements 2 4,196 10-27-2022, 03:11 AM
    Thread: Read Access Violation
Post: RE: Read Access Violation

Hi guys, I've just pushed release 2.11.3 to github that fixes the issues found in your test cases, and some more. Please update your build and let me know if it works for you too. Regards,
megamarc Support 15 18,348 10-26-2022, 12:35 AM
    Thread: Read Access Violation
Post: RE: Read Access Violation

Hi, Seems that the last release that introduced support fot multiple tilesets per layer is still a bit buggy. I've seen that your sample makes the engine crash when referencing the wrong tileset. Tha...
megamarc Support 15 18,348 10-25-2022, 05:18 AM
    Thread: Falconet - Made with Tilengine
Post: RE: Falconet - Made with Tilengine

Hi Daniel! Glad to know that new features are useful for your project :-) I suppose that being on kickstarter puts quite some pression that is not good for a project that is being developed and fund...
megamarc Presentations 23 42,944 10-10-2022, 07:18 PM
    Thread: Tilengine 2.11 released
Post: RE: Tilengine 2.11 released

Just updated Python binding for latest release: https://github.com/megamarc/PyTilengine (https://github.com/megamarc/PyTilengine) New features include: Up to date with release 2.11 New load strate...
megamarc News & Announcements 2 4,196 10-10-2022, 06:41 PM
    Thread: Falconet - Made with Tilengine
Post: RE: Falconet - Made with Tilengine

Hi Daniel, I've pushed update 2.11.0 to GitHub, that adds the possibility of using up to 8 different tilesets on a single tiled layer. Regards,
megamarc Presentations 23 42,944 10-03-2022, 05:00 AM
    Thread: Tilengine 2.11 released
Post: Tilengine 2.11 released

Just released Tilengine 2.11 on GitHub and itch.io. This release enables tiled layers to be composed of up to 8 different tilesets each one. Here is the full post: https://megamarc.itch.io/tilen...
megamarc News & Announcements 2 4,196 10-02-2022, 02:04 AM
    Thread: Palette attribute per tile
Post: RE: Palette attribute per tile

You should modify the loader in LoadTilemap.c to load a custom property from Tiled called "palette" for example. Use this property to set an integer value with the palette index, and store this value ...
megamarc Support 11 17,032 08-11-2022, 04:11 PM
    Thread: Falconet - Made with Tilengine
Post: RE: Falconet - Made with Tilengine

Hi Daniel! How are you doing? I've seek Kickstarter trailer in Steam for Falconet, and gameplay looks cooler than ever! https://store.steampowered.com/app/1803070/Falconet/ Let me know if you...
megamarc Presentations 23 42,944 08-10-2022, 08:03 PM
    Thread: Palette attribute per tile
Post: RE: Palette attribute per tile

No doubt you'll have segfaults while developing features! :P  I often suffer them, too, so it's normal. Unmanaged languages with direct memory access like C are very prone to trigger them during devel...
megamarc Support 11 17,032 08-10-2022, 07:54 PM
    Thread: Palette attribute per tile
Post: RE: Palette attribute per tile

To fully support per-tile palette, you should modify DrawLayerScanline(), DrawLayerScanlineScaling(), DrawLayerScanlineAffine() and DrawLayerScanlinePixelMapping(). Each one is responsible of the diff...
megamarc Support 11 17,032 08-10-2022, 03:28 PM