Search Results
Post Author Forum [asc] Replies Views Posted
    Thread: libpng12-0 not available in Ubuntu 18.04
Post: RE: libpng12-0 not available in Ubuntu 18.04

Hi Daniel! It would be great if python docs keep the same structure than the C ones. Content is not yet complete, but the TOC is already there as I think it should be.
megamarc Support 5 17,958 10-10-2018, 11:08 PM
    Thread: Tileset Tile Dimensions
Post: RE: Tileset Tile Dimensions

Hi Richard! You're right, the engine is built around power-of-two tile dimensions, as it uses bit shifts and masks wherever possible for improved rendering performance. I didn't considered arbitrar...
megamarc Support 3 11,779 12-20-2018, 06:51 PM
    Thread: Adding INPUT_BUTTONS
Post: RE: Adding INPUT_BUTTONS

Hello! Sorry for the delay answering. The limitation is here: Window.c, line 61 defines the input as a bitmask of 16 bits: Code: -- uint16_t inputs; -- This allows a total of 16 unique inputs...
megamarc Support 10 30,254 01-22-2019, 02:44 AM
    Thread: Adding INPUT_BUTTONS
Post: RE: Adding INPUT_BUTTONS

You're welcome, and I hope to see your work soon!
megamarc Support 10 30,254 01-25-2019, 09:13 AM
    Thread: Adding INPUT_BUTTONS
Post: RE: Adding INPUT_BUTTONS

Sorry about that! I've just realized that I was wrong, or at least it's a bit more complex than the quick response I gave yesterday. You're right about your proposed changes on #define MAX_INPUTS b...
megamarc Support 10 30,254 01-30-2019, 08:03 AM
    Thread: Adding INPUT_BUTTONS
Post: RE: Adding INPUT_BUTTONS

Hi! I've just pushed Release 2.1.2 with up to 32 inputs per player and redefinable inputs for window close and CRT toggle: http://tilengine.org/forum/showthread.php?tid=239 Now you can reassing...
megamarc Support 10 30,254 02-02-2019, 09:28 PM
    Thread: Adding INPUT_BUTTONS
Post: RE: Adding INPUT_BUTTONS

JaumeAlcazo: Can you please test the update? I testes it before publishing, but as you're in need of those extra inputs, you may encounter any issue I missed. Richard Kain: Thanks for this piece ...
megamarc Support 10 30,254 02-08-2019, 05:03 AM
    Thread: Colour Cycling
Post: RE: Colour Cycling

Thanks for the link! I already watched that video some time ago, it's full of clever ideas for graphic artists. All the graphics used in tilengine "color cycle" project repository (https://github.com/...
megamarc Support 15 49,635 02-28-2019, 07:43 AM
    Thread: Tileset Tile Dimensions
Post: RE: Tileset Tile Dimensions

Hi again, thanks for the explanation, it helps to understand. Most of classic games used a monospaced font where each glyph used the same number of tiles. Then it's super easy to render text, just ...
megamarc Support 3 11,779 12-21-2018, 08:18 AM
    Thread: Colour Cycling
Post: RE: Colour Cycling

Great tutorial! I know about Grafx2, I even have it installed, but I find the UI a bit daunting. Of course it's not the tool's fault, just that I'm not used to this kind of user interface as I used to...
megamarc Support 15 49,635 05-01-2019, 09:31 PM
    Thread: No CRT Effect When Used with SDL2?
Post: RE: No CRT Effect When Used with SDL2?

Of course, you can adapt it to your own needs. The source files that cointain everything related to the CRT effect are Window.c (https://github.com/megamarc/Tilengine/blob/master/src/Window.c) and Gau...
megamarc Support 3 11,463 10-28-2019, 06:17 PM
    Thread: Direct Pixel Manipulation (looking for an example of TLN_GetBitmapPtr)
Post: RE: Direct Pixel Manipulation (looking for an exam...

Hi Alan, Welcome here and thanks for your interest! There isn't any problem with your direct pixel manipulation code. The problem is that any layer requires having a palette assigned. When you load ...
megamarc Support 3 10,564 08-27-2019, 05:11 PM
    Thread: Getting a Invaild Tileset Reference
Post: RE: Getting a Invaild Tileset Reference

Of course, you can post the files here in the forum if you want. And also the modified Platformer.py
megamarc Support 12 35,428 11-13-2019, 07:43 AM
    Thread: Getting a Invaild Tileset Reference
Post: RE: Getting a Invaild Tileset Reference

Hi again, I didn't try loading more assets as I saw the error with the sprites. I was going to try it now, but I'm on another computer and you've removed the attachment from the post
megamarc Support 12 35,428 11-13-2019, 06:04 PM
    Thread: Direct Pixel Manipulation (looking for an example of TLN_GetBitmapPtr)
Post: RE: Direct Pixel Manipulation (looking for an exam...

Hi again! You can -in fact you must- draw something to the bitmap you're using in order to see anything. Just setting pixels or color entries won't give any result, you must set both. Be aware that...
megamarc Support 3 10,564 08-28-2019, 03:15 AM
    Thread: Raspberry Pi Performance
Post: RE: Raspberry Pi Performance

Hi Richard! I was aware of the issues regarding performance on the RPi with SDL2. If I remember correctly, the default pre-packaged SDL2 is compiled without OpenGL/ES support, that's what the propr...
megamarc Support 1 6,381 09-25-2019, 06:13 AM
    Thread: No CRT Effect When Used with SDL2?
Post: RE: No CRT Effect When Used with SDL?

Hi Jakers! I'm glad you're enjoying tilengine  :) The absence of the CRT effect you're experiencing it's not a bug, it's normal: the CRT effect is implemented inside the windowing system, not in t...
megamarc Support 3 11,463 10-27-2019, 04:21 PM
    Thread: Load a sprite once and display it multiple times in window?
Post: RE: Load a sprite once and display it multiple tim...

Hi, In Tilengine, like in any 2D graphics chipset, you can't create sprites dynamically, but are limited to a predefined amount. You choose this initial amount. For example the Sega Genesis had 80 ...
megamarc Support 4 12,628 11-11-2019, 05:57 PM
    Thread: Getting a Invaild Tileset Reference
Post: RE: Getting a Invaild Tileset Reference

Done. The problem is that Tilengine doesn't load tilesets embedded inside tilemaps (something that Tiled editor itself can do), they must be exported as stand-alone tilesets. I've done it, here you ca...
megamarc Support 12 35,428 11-13-2019, 09:50 PM
    Thread: Getting a Invaild Tileset Reference
Post: RE: Getting a Invaild Tileset Reference

You're welcome! It would be great to update the python binding because it lacks some newer interesting features. However I can't give you an estimated date, but it's definitely the next task I'll d...
megamarc Support 12 35,428 11-13-2019, 10:29 PM