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

megamarc Wrote: (11-17-2022, 03:00 AM) -- Hi, You don't need 4 sprites to warp in both directions, just 2 sprites. Here is the simplified source. Beware that you cannot warp in both axis at th...
System64 Support 10 19,479 11-21-2022, 09:05 PM
    Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)

megamarc Wrote: (11-16-2022, 08:34 AM) -- Good work with drawing primitives :-) For drawing filled circles, I once implemented it on a gfx library. I used bresenham's circle algorithm, but instead...
System64 Support 10 19,479 11-16-2022, 08:42 AM
    Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)

megamarc Wrote: (11-16-2022, 07:14 AM) -- 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 o...
System64 Support 10 19,479 11-16-2022, 08:16 AM
    Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)

megamarc Wrote: (11-16-2022, 12:36 AM) -- 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 spr...
System64 Support 10 19,479 11-16-2022, 12:52 AM
    Thread: Sprite warping (or wraping?)
Post: Sprite warping (or wraping?)

Hi! (again!) I'm trying to implement sprite warping, so if a part of the sprite goes out of screen, it is warped to the opposite side of the screen (see the picture). https://cdn.discordapp.com/atta...
System64 Support 10 19,479 11-15-2022, 11:55 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (11-08-2022, 04:44 PM) -- 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...
System64 Support 32 60,641 11-12-2022, 03:05 AM
    Thread: Slotted Palettes test and the PAL64 palette format
Post: RE: Slotted Palettes test and the PAL64 palette fo...

megamarc Wrote: (11-12-2022, 01:43 AM) -- 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 drive...
System64 Game development topics 8 16,623 11-12-2022, 02:02 AM
    Thread: Slotted Palettes test and the PAL64 palette format
Post: RE: Slotted Palettes test and the PAL64 palette fo...

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

megamarc Wrote: (11-11-2022, 05:33 PM) -- 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 cha...
System64 Game development topics 8 16,623 11-11-2022, 07:54 PM
    Thread: Slotted Palettes test and the PAL64 palette format
Post: RE: Slotted Palettes test and the PAL64 palette fo...

vonhoff Wrote: (11-11-2022, 02:35 AM) -- Hey, this looks really cool! I would love to implement something like this in my own projects. Can you share the code for loading palettes like this? I don't...
System64 Game development topics 8 16,623 11-11-2022, 07:13 AM
    Thread: Slotted Palettes test and the PAL64 palette format
Post: Slotted Palettes test and the PAL64 palette format

Hi! I did some tests with the new palette attribute per tile, and it is a success! I linked a video to show the test. https://cdn.discordapp.com/attachments/808677096788328448/1040005797654056990/202...
System64 Game development topics 8 16,623 11-10-2022, 07:07 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (11-07-2022, 07:57 AM) -- 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.Bu...
System64 Support 32 60,641 11-08-2022, 03:31 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

Okay so I'm currently talking with the devlopper of 16Tile. Is there some fields in the JSON you are interested in? Also, note this tool can only have one tileset per layer.
System64 Support 32 60,641 11-07-2022, 06:01 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (11-04-2022, 03:44 AM) -- 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-tran...
System64 Support 32 60,641 11-04-2022, 03:51 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (11-04-2022, 12:32 AM) -- 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 t...
System64 Support 32 60,641 11-04-2022, 03:18 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (11-03-2022, 10:22 PM) -- 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...
System64 Support 32 60,641 11-03-2022, 11:12 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (11-03-2022, 04:44 PM) -- Hi! Glad you like this new feature :-) Unfortunately Tiled editor doesn't allow setting custom properties on individual tilemap cells, only on tileset tile...
System64 Support 32 60,641 11-03-2022, 07:10 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (11-03-2022, 03:35 AM) -- 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_SetGl...
System64 Support 32 60,641 11-03-2022, 08:07 AM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (10-31-2022, 04:35 AM) -- Hi! You have to use the TLN_SetTilemapTile() (https://www.tilengine.org/doc/group__tilemap.html#gad24907cc3b0c85a04f2a9345acc756a6) function and set the cor...
System64 Support 32 60,641 10-31-2022, 11:22 PM
    Thread: [Issue?] Two tilesets, one palette?
Post: RE: [Issue?] Two tilesets, one palette?

megamarc Wrote: (10-31-2022, 03:16 AM) -- 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 discov...
System64 Support 32 60,641 10-31-2022, 04:19 AM