Search Results
Post Author Forum [asc] Replies Views Posted
    Thread: Blurry pixels?
Post: RE: Blurry pixels?

Sure you can do this effect! This is a raster effect trick, setting the lines in resverse order and changing the palette
megamarc Support 6 19,952 11-15-2019, 07:42 AM
    Thread: Load a sprite once and display it multiple times in window?
Post: RE: Load a sprite once and display it multiple tim...

This limitation is because of any limitation in hardware. In 2D chipsets, each sprite and background layer is implemented in a chunk of silicon, and mapped to fixed memory positions. So their number i...
megamarc Support 4 12,799 11-12-2019, 07:42 AM
    Thread: Getting a Invaild Tileset Reference
Post: RE: Getting a Invaild Tileset Reference

Without having your artwork and the contents of the line you have changed, I can't tell the problem. However my guess is that you've produced 32-bit ARGB artwork, whereas Tilengine requires 8-bit inde...
megamarc Support 12 35,878 11-13-2019, 07:10 AM
    Thread: Getting a Invaild Tileset Reference
Post: RE: Getting a Invaild Tileset Reference

Hi again, Spritesets are loaded from a pair of files with the same base name, different extension: a png file with all the sprites packed together (player.png) a txt describing the rectangles a...
megamarc Support 12 35,878 11-13-2019, 08:17 AM
    Thread: Creating Executables for Python Game
Post: RE: Creating Executables for Python Game

This is a purely Python-related question so I can't give much advice here. Maybe you're looking for python wheels (https://pythonwheels.com/), the standard way to distribute python packages with prebu...
megamarc Support 2 8,260 12-31-2019, 12:17 AM
    Thread: Change animation delay
Post: RE: Change animation delay

Hi! You're right. It seems TLN_SetAnimationDelay() is an obsolete feature and should be removed (or updated). Originally, an animation had a global delay that could be changed at runtime. But late...
megamarc Support 3 10,367 01-28-2020, 03:16 AM
    Thread: Blurry pixels?
Post: RE: Blurry pixels?

Thanks for your appreciation! I'm glad you're enjoying it  :) There is an additional element that contributes to blurriness, but it's hardcoded inside the CRT effect and can't be disabled. There i...
megamarc Support 6 19,952 11-15-2019, 02:46 AM
    Thread: Blurry pixels?
Post: RE: Blurry pixels?

Hi, Here attached is a little example on how to do this effect in C. It just loads a background tilemap, creates a blue tinted palette from the original one, and sets up the raster effect for reflect...
megamarc Support 6 19,952 11-15-2019, 07:49 PM
    Thread: Disable raster callback?
Post: RE: Disable raster callback?

Passing NULL to TLN_SetRasterCallback() is the way to disable raster effects. Exactly what kind of "rendering errors" are you experiencing? Can you post some example?
megamarc Support 3 9,843 02-09-2020, 07:39 AM
    Thread: Disable raster callback?
Post: RE: Disable raster callback?

I'm glad you found the cause so quickly! In Tilengine you must specify a base background: either a solid color with TLN_SetBGColor() or a fixed bitmap with TLN_SetBGBitmap(). If not, pixels that ar...
megamarc Support 3 9,843 02-09-2020, 09:48 PM
    Thread: This is embarassing...
Post: RE: This is embarassing...

Sorry about your hard drive, time to get a new one
megamarc Support 8 21,761 03-02-2020, 02:51 AM
    Thread: This is embarassing...
Post: RE: This is embarassing...

I work mostly under windows, maybe linux install is a bit broken. There's a linux command called install that may be conflicting with my own install sh
megamarc Support 8 21,761 03-02-2020, 02:54 AM
    Thread: This is embarassing...
Post: RE: This is embarassing...

Can you include the output of samples compilation process? They don't require any other library besides Tilengine.
megamarc Support 8 21,761 03-02-2020, 07:06 PM
    Thread: This is embarassing...
Post: RE: This is embarassing...

libpng in unix is tricky: some distros bundle old release 1.2, whereas other have newer 1.6. They're somewhat incompatible so library filenames are different. Watching your log, seems that tilengine w...
megamarc Support 8 21,761 03-02-2020, 11:03 PM
    Thread: Change animation delay
Post: RE: Change animation delay

Not at this moment, once the sequence is created it stays this way. You can create sequences at runtime in your source code with TLN_CreateSequence() (http://www.tilengine.org/doc/group__sequence.h...
megamarc Support 3 10,367 03-14-2020, 03:40 AM
    Thread: Sequence engine works strange
Post: RE: Sequence engine works strange

Sequence name lenght is hardcoded to 32 characters maximum. I suspect you're using longer names, preventing addition of sequences that have a similar name than others already created.
megamarc Support 1 6,358 03-31-2020, 07:19 AM
    Thread: Collision with Tilemap Layer
Post: RE: Collision with Tilemap Layer

Hi! Of course, you have to use the function TLN_GetLayerTile() (http://www.tilengine.org/doc/group__layer.html#ga1d3932cdfcb024db23a94e4e33f2246e) on the layer you want to test. You pass layer index,...
megamarc Support 10 31,359 04-11-2020, 04:37 PM
    Thread: Tilengine step-by-step?
Post: RE: Tilengine step-by-step?

I totally agree, the documentation should be better. Being the developer of Tilengine, I am the only one who can explain everything that can be done, I cannot delegate this task to someone else. But s...
megamarc Support 13 40,462 04-13-2020, 03:06 PM
    Thread: Tilengine step-by-step?
Post: RE: Tilengine step-by-step?

Thanks for your words, I really value the appreciation you show to this project. :) As you say, I should bite the bullet and finish it. I understand that I'm loosing adoption oportunities because ...
megamarc Support 13 40,462 04-14-2020, 03:53 AM
    Thread: Sequence for color cycling
Post: RE: Sequence for color cycling

Hi, These values are documented in the TLN_ColorStrip entry: http://www.tilengine.org/doc/struct_t_l_n___color_strip.html (http://www.tilengine.org/doc/struct_t_l_n___color_strip.html) Each ani...
megamarc Support 3 9,986 04-22-2020, 06:51 PM