Search Results
Post Author Forum Replies Views Posted [desc]
    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 55,661 10-10-2022, 07:18 PM
    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 26,026 10-25-2022, 05:18 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 26,026 10-26-2022, 12:35 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 5,922 10-27-2022, 03:11 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 26,026 10-27-2022, 03:15 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 26,026 10-27-2022, 09:24 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 57,888 10-29-2022, 01:46 AM
    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 57,888 10-29-2022, 08:38 AM
    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 57,888 10-29-2022, 07:21 PM
    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 26,026 10-29-2022, 07:44 PM
    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 26,026 10-30-2022, 02:34 AM
    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 26,026 10-30-2022, 04:10 AM
    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 57,888 10-30-2022, 04:44 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Strange... can you do git pull and rebuild the engine again? Your output corresponds to when multi palette issue was still not fixed. Output should be like in my post :-/ I'm on Windows too
megamarc Support 32 57,888 10-30-2022, 09:34 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Don't worry! Thanks for your interest in this project and for providing useful tests cases that help finding bugs. Hope you continue enjoying it and discovering new features
megamarc Support 32 57,888 10-31-2022, 03:16 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi! You have to use the TLN_SetTilemapTile() (https://www.tilengine.org/doc/group__tilemap.html#gad24907cc3b0c85a04f2a9345acc756a6) function and set the corresponding tileset bits in Tile structure. I...
megamarc Support 32 57,888 10-31-2022, 04:35 AM
    Thread: Tilengine 2.12 released with tile & sprite 90º rotation
Post: Tilengine 2.12 released with tile & sprite 90º rot...

Hi! I've released version 2.12 that adds tile & sprite 90º rotation. It can be cloned from GitHub or downloaded prebuilt binaries from itch.io Full blog entry is here: https://megamarc.itch.i...
megamarc News & Announcements 0 2,552 11-01-2022, 05:30 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Good to know! The screenshot looks cool :-) Don't put much effort on simulating per-tile palette, now that release 2.12 with tile & sprite support is out, I'm working on release 2.13 that will add o...
megamarc Support 32 57,888 11-01-2022, 05:37 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi, I've just pushed release 2.13 o GitHub that implements per-tile palette like in classic 2D chipsets. Up to 8 global palettes can be set with TLN_SetGlobalPalette(). Tile palette index is set in...
megamarc Support 32 57,888 11-03-2022, 03:35 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi! Glad you like this new feature :-) Unfortunately Tiled editor doesn't allow setting custom properties on individual tilemap cells, only on tileset tiles. The only way to set palette bits on ...
megamarc Support 32 57,888 11-03-2022, 04:44 PM