Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)

Hi, I've done a quick warping mockup, here's the source code, just place in "samples" directoy and treat it as a regular sample
megamarc Support 10 13,316 11-16-2022, 08:25 AM
    Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)

I see, good examples. For warping effect I'd use two sprites, one on each side of the viewport, each one being clipped on its own side. I guess that's what original SMB3 did. I'd keep both sprites syn...
megamarc Support 10 13,316 11-16-2022, 07:14 AM
    Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)

Hi! Tilengine clips all sprites so they don't get draw outside of the viewport. Yo can simulate sprite warping from the application level by using two sprites, one on each side of the screen where ...
megamarc Support 10 13,316 11-16-2022, 12:36 AM
    Thread: Tilengine 2.13 with per-tile palette selector
Post: Tilengine 2.13 with per-tile palette selector

Hi, I've uploaded to itch.io and github release 2.13 of Tilengine, which adds the ability to use different palettes on each tile of a tilemap, just like actual 2D chipsets work. Here's the full blog ...
megamarc News & Announcements 0 2,167 11-13-2022, 03:18 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi! I hadn't time to work in it yet, but I'll tell you if I encounter some issue. Thanks for the interest!
megamarc Support 32 40,613 11-12-2022, 10:11 PM
    Thread: Slotted Palettes test and the PAL64 palette format
Post: RE: Slotted Palettes test and the PAL64 palette fo...

Hi! Reading byte by byte is not a problem, as you can read a byte on any boundary. Just personal experience, some years ago I wrote a FAT filesystem driver for an embedded device that was a bit of ...
megamarc Game development topics 8 11,144 11-12-2022, 01:43 AM
    Thread: Slotted Palettes test and the PAL64 palette format
Post: RE: Slotted Palettes test and the PAL64 palette fo...

Hi! Thanks for permission to use your video :-) How may I credit you?Link to  GitHub account, username...? Thanks for clarifications about palette format and motivations for NES palette. I agree...
megamarc Game development topics 8 11,144 11-11-2022, 09:38 PM
    Thread: Slotted Palettes test and the PAL64 palette format
Post: RE: Slotted Palettes test and the PAL64 palette fo...

Hi! Seems you've been busy playing with the palettes :-) thanks for sharing a video showing the process and result. May I upload it to Tilengine youtube channel with proper attribution to you? I...
megamarc Game development topics 8 11,144 11-11-2022, 05:33 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi, Thanks for the info! I'll take a look. zlib + base64 is a common scheme to encode binary data inside text files. It's the same format used in Tiled editor, that Tilengine already handles. Th...
megamarc Support 32 40,613 11-08-2022, 04:44 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi! Glad to know you're in contact with the developer. The fields I'm interested on are those encoded in base64: Tilemap.Grid Tileset.Buffer Tileset.Buffer_Streamed Yes this editor only suppo...
megamarc Support 32 40,613 11-07-2022, 07:57 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi! I'm glad this is already working for you. At's a good idea indeed: having non-standard attributes in separate layers using tile indexes, and mass-transfer them to the destination tilemap at run...
megamarc Support 32 40,613 11-04-2022, 03:44 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi again! Having a tool that isn't open source isn't a problem per se -at least for me- as long as it does what is expected to do. The problem is that the 16t format is undocumented. Yes it's a s...
megamarc Support 32 40,613 11-04-2022, 12:32 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Hi, This kind of proposed functionality should be implemented in the application -game- domain, not inside the engine. It's not a bad idea, but it's kind of a "hack" too, to overcome a limitation o...
megamarc Support 32 40,613 11-03-2022, 10:22 PM
    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 40,613 11-03-2022, 04:44 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 40,613 11-03-2022, 03:35 AM
    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 40,613 11-01-2022, 05:37 PM
    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 1,694 11-01-2022, 05:30 PM
    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 40,613 10-31-2022, 04:35 AM
    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 40,613 10-31-2022, 03:16 AM
    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 40,613 10-30-2022, 09:34 PM