Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Collision with tiles position and sprite not aligning correctly
Post: RE: Collision with tiles position and sprite not a...

megamarc Wrote: (09-22-2023, 12:24 AM) -- Hi, I've finally managed to build and debug the sample using VS2022 Community. Now I can check what it does and where's the problem. Regards, -- Awes...
RootBeerKing Support 7 8,288 09-24-2023, 05:44 AM
    Thread: Collision with tiles position and sprite not aligning correctly
Post: RE: Collision with tiles position and sprite not a...

Hey Marc, Did you get a chance to download the link from the previous post?
RootBeerKing Support 7 8,288 09-19-2023, 09:35 AM
    Thread: Collision with tiles position and sprite not aligning correctly
Post: RE: Collision with tiles position and sprite not a...

megamarc Wrote: (09-04-2023, 03:44 PM) -- Hi, I've updated my install of mingw to mingw64 to last one available (13.2.0) but I when building I get many instances of this error: Code: -- src/Inclu...
RootBeerKing Support 7 8,288 09-05-2023, 05:40 AM
    Thread: Collision with tiles position and sprite not aligning correctly
Post: RE: Collision with tiles position and sprite not a...

Oh yeah, you'll need a newer mingw, I believe I'm using msys64. flecs is an ECS library, it's pretty straight forward if you're at all familiar with ECS. Thanks for checking it out for me. I'm so conf...
RootBeerKing Support 7 8,288 09-04-2023, 06:46 AM
    Thread: Collision with tiles position and sprite not aligning correctly
Post: Collision with tiles position and sprite not align...

Hello again, I've been struggling with getting collision detection to work correctly. I'm *almost* certain I got the math/code right, however it seems there is an issue with the offset of the map and ...
RootBeerKing Support 7 8,288 09-03-2023, 03:04 PM
    Thread: tile_info.type returning 0?
Post: RE: tile_info.type returning 0?

Must be an error in how I'm writing the print code in C++, once I switched to your C code for the print the error went away. Thank you so much
RootBeerKing Support 2 2,832 08-18-2023, 02:34 AM
    Thread: Reflecting on its development
Post: RE: Reflecting on its development

megamarc Wrote: (06-14-2023, 03:23 AM) -- [*]https://rasterscroll.com/mdgraphics/ (Genesis) -- Very interesting! Is Tilengine capable of the silhouette effect mentioned on that website? I really li...
RootBeerKing Presentations 6 8,362 08-17-2023, 05:32 AM
    Thread: tile_info.type returning 0?
Post: tile_info.type returning 0?

Hello, I'm trying to get collision to work with the forest sample. I've added types to the tileset in Tiled, but when I go to get the tile type using TLN_GetLayerTile (LAYER_FOREGROUND, 11*16,12*16, ...
RootBeerKing Support 2 2,832 08-16-2023, 04:01 PM
  Question Thread: Scaling to fake camera zoom effect?
Post: Scaling to fake camera zoom effect?

I've been wondering how might a camera zooming effect, like the ones found in old 2D fighters, be done using sprite/tile scaling in Tilengine? What would be the proper way to incrementally increasing/...
RootBeerKing Support 1 2,938 11-26-2022, 09:50 PM
    Thread: [Suggestion] Getting the positions of a layer
Post: RE: [Suggestion] Getting the positions of a layer

Did you ever make the pull request for this? Would love these features to be added to the main project.
RootBeerKing Support 8 15,766 05-18-2022, 11:29 PM
    Thread: External rendering SDL2
Post: RE: External rendering SDL2

megamarc Wrote: (06-27-2021, 04:32 PM) -- Hi! It would be better if you post here source code of your current attempt, so I can check why it's failing. The "tricky" part of setting up the exter...
RootBeerKing Game development topics 3 7,951 12-29-2021, 05:28 AM
    Thread: How to limit a line scroll to a certain part of the world?
Post: How to limit a line scroll to a certain part of th...

Hello, I'm having trouble figuring out how to go about limiting a raster effect line scroll to a certain part of the world.  I understand the way raster effects work is screen based. But how would I g...
RootBeerKing Game development topics 1 4,149 12-19-2021, 01:09 PM
  Question Thread: External rendering SDL2
Post: External rendering SDL2

I’ve been trying to wrap my head around the external rendering feature of Tilengine lately to no avail. I just don’t understand how it’s supposed to work despite reading the documentation and looking ...
RootBeerKing Game development topics 3 7,951 06-27-2021, 06:26 AM
    Thread: Release 2.9.0 - World mode
Post: RE: Release 2.9.0 - World mode

megamarc Wrote: (03-19-2021, 10:22 PM) -- Hi, Good question. World mode is recent and the feature you suggest isn't implemented. You can use TLN_DisableLayer() to turn off a layer, but then you ha...
RootBeerKing News & Announcements 8 22,291 03-23-2021, 06:46 PM
    Thread: Release 2.9.0 - World mode
Post: RE: Release 2.9.0 - World mode

Hey, thanks for checking that out for me. It was the empty object layer as you said. Got it working now. One more question: is it possible to toggle the visibility of certain layers on and off whe...
RootBeerKing News & Announcements 8 22,291 03-19-2021, 09:39 PM
    Thread: Release 2.9.0 - World mode
Post: RE: Release 2.9.0 - World mode

Hey Marc, I'm running into an issue with loading a tmx file with the new TLN_LoadWorld function. I'm getting an Invalid Tileset reference error. The tmx file works fine with the old TLN_LoadTilemap fu...
RootBeerKing News & Announcements 8 22,291 03-18-2021, 01:26 PM
    Thread: Release 2.9.0 - World mode
Post: RE: Release 2.9.0 - World mode

Oh wow, this sounds like a very nice, and much needed update! It couldn't have came at a better time, as I've been racking my brain trying to figure out this exact problem for weeks now, lol. Can't wa...
RootBeerKing News & Announcements 8 22,291 03-16-2021, 08:32 PM
    Thread: LDtk - New Level Editor
Post: LDtk - New Level Editor

https://ldtk.io/ Not sure if the Tilengine community has heard of it before. It's a relatively new Level Map Editor and I think it's pretty cool and easy to use. It can export to TMX files so you c...
RootBeerKing Game development topics 2 6,616 03-13-2021, 01:30 PM
    Thread: Made a Function to scroll multiple sections of a background.
Post: RE: Made a Function to scroll multiple sections of...

megamarc Wrote: (09-19-2020, 10:26 PM) -- [*]"num_sections" can't be calculated as you do. In C, size of arrays passed as pointers must always be specified separately, because the C runtime doesn't h...
RootBeerKing Game development topics 3 8,905 09-20-2020, 09:18 AM
    Thread: Tilengine step-by-step?
Post: RE: Tilengine step-by-step?

Richard Kain Wrote: (09-02-2020, 02:44 AM) -- And as you point out, the fundamental nature of libraries like Tilengine is part of what makes them so flexible and modular. They can be compiled and run...
RootBeerKing Support 13 32,545 09-19-2020, 05:31 AM