|
Search Results
|
| Post |
Author |
Forum |
Replies
[asc]
|
Views |
Posted |
| |
|
Thread: como crear mas de un objeto
Post: RE: como crear mas de un objeto
| De nada! Un placer, espero que puedas ir avanzando |
|
megamarc |
Soporte
|
5 |
13,998 |
03-26-2020, 02:38 AM |
| |
|
Thread: Preguntas sobre funciones de tilengine
Post: RE: Preguntas sobre funciones de tilengine
| Ah vale, maximizar no le puse a la ventana, porque los gráficos pixel art no escalan bien si no lo haces en múltiplos exactos de la resolución original, especialmente si deshabilitas el filtro CRT. La... |
|
megamarc |
Soporte
|
5 |
13,721 |
04-03-2020, 09:02 PM |
| |
|
Thread: Preguntas sobre funciones de tilengine
Post: RE: Preguntas sobre funciones de tilengine
| Claro, yo las pruebas las hago también en modo ventana, y normalmente indicando un parámetro de escalado flags=tilengine.WindowFlags.S2, para que sólo me aplique un escalado x2 (si no le dices nada te... |
|
megamarc |
Soporte
|
5 |
13,721 |
04-04-2020, 12:58 AM |
| |
|
Thread: Preguntas sobre funciones de tilengine
Post: RE: Preguntas sobre funciones de tilengine
| Hola,
En el siguiente enlace está la documentación del envoltorio python para Tilengine:
http://www.tilengine.org/doc_python/tilengine.html (http://www.tilengine.org/doc_python/tilengine.html)
... |
|
megamarc |
Soporte
|
5 |
13,721 |
04-03-2020, 04:50 PM |
| |
|
Thread: Remove tile from tilemap
Post: RE: Remove tile from tilemap
| Are you using the same assets you posted some days ago?
It's not needed to reconfigure layer with TLN_SetLayer() once you modify the tilemap with TLN_SetTilemapTile(), they're already linked. |
|
megamarc |
Support
|
5 |
15,727 |
05-13-2020, 09:14 PM |
| |
|
Thread: Remove tile from tilemap
Post: RE: Remove tile from tilemap
| Are you passing the correct row and column? The following code works for me, when I press input 1, it removes the first ring:
Code:
--
while (TLN_ProcessWindow()) {
if (TLN_GetInput... |
|
megamarc |
Support
|
5 |
15,727 |
05-14-2020, 04:01 AM |
| |
|
Thread: Remove tile from tilemap
Post: RE: Remove tile from tilemap
| Welcome!
I understand the confusion, it seems more intuitive to delete a tile passing just NULL instead of a valid pointer with index 0, right? I'll add this behavior in next update |
|
megamarc |
Support
|
5 |
15,727 |
05-14-2020, 11:52 PM |
| |
|
Thread: Rendering question
Post: RE: Rendering question
| Hi,
The rendering of the framebuffer is entirely done in CPU. What uses a bit of GPU is the windowing system to upscale it with CRT/composite video emulation |
|
megamarc |
Support
|
5 |
13,152 |
04-06-2021, 03:22 PM |
| |
|
Thread: Free up sprite/animation slots?
Post: RE: Free up sprite/animation slots?
| Don't worry by the memory. Each sprite takes about 100 bytes, so if you preallocate 128 sprites (SNES for example) it just takes about 13 kbytes. Nothing to worry about! Disabled sprites are free as t... |
|
megamarc |
Support
|
5 |
12,571 |
04-07-2021, 07:02 AM |
| |
|
Thread: Free up sprite/animation slots?
Post: RE: Free up sprite/animation slots?
| Remember that you don't create sprites, instead you use (configure) and disable preallocated sprites.
A sprite is set up with TLN_SetSpriteSet():
http://www.tilengine.org/doc/md_sprites.html#autot... |
|
megamarc |
Support
|
5 |
12,571 |
04-07-2021, 05:49 AM |
| |
|
Thread: Rendering question
Post: RE: Rendering question
| Hi Richard!
Great answer, I couldn't have explained it better. Thanks for this explanation, you have great understanding about Tilengine.
How are you doing?
Regards, |
|
megamarc |
Support
|
5 |
13,152 |
05-01-2021, 07:36 PM |
| |
|
Thread: Rendering question
Post: RE: Rendering question
| The palette effects could be implemented with GPU shaders starting at OpenGL 3.0 (DirectX 10) or newer. There are other technical reasons for Tilengine being CPU based without any kind of GPU support.... |
|
megamarc |
Support
|
5 |
13,152 |
04-07-2021, 06:14 AM |
| |
|
Thread: yet another "can't install" problem
Post: RE: yet another "can't install" problem
| Hi,
In your project/linker properties -> additional libraries, you must add Tilengine.lib to the list.
In Windows, a .dll file is the one required at runtime to run the program, but for building a p... |
|
megamarc |
Support
|
5 |
12,512 |
02-04-2022, 04:38 PM |
| |
|
Thread: yet another "can't install" problem
Post: RE: yet another "can't install" problem
| Welcome! Glad to know you have it already working.
Happy coding! |
|
megamarc |
Support
|
5 |
12,512 |
02-05-2022, 12:48 AM |
| |
|
Thread: yet another "can't install" problem
Post: RE: yet another "can't install" problem
| Hi!
Tilengine is not compatible with Tiled's "infinite maps" and its "chunk" properties, I wrote the parser long before this feature was introduced. This causes the unhandled exception you're experie... |
|
megamarc |
Support
|
5 |
12,512 |
02-05-2022, 06:05 PM |
| |
|
Thread: como manejar imagenes en tilengine
Post: RE: como manejar imagenes en tilengine
| Hola @Hokuto40
Las imágenes en tilengine se usan como parte de un spritesheet, de un tileset, o un fondo estático. Aunque sí se pueden cargar imágenes sueltas, lo normal es que esas funciones forme... |
|
megamarc |
Soporte
|
4 |
8,803 |
08-24-2017, 09:24 PM |
| |
|
Thread: como manejar imagenes en tilengine
Post: RE: como manejar imagenes en tilengine
| Veo que el programa exporta imágenes sueltas, una por cada frame. Tienes que cargarlas en la aplicación web Leshy SpriteSheet Tool (https://www.leshylabs.com/blog/posts/2013-12-03-Leshy_SpriteSheet_To... |
|
megamarc |
Soporte
|
4 |
8,803 |
08-26-2017, 06:11 PM |
| |
|
Thread: Help Getting Started
Post: RE: Help Getting Started
| Hi,
The "samples/c" folder has a Tilengine.sln solution file and many ".vcproj" files. Just open the .sln file as usual with any other Visual Studio projects. They're for an older version, when you o... |
|
megamarc |
Support
|
4 |
13,578 |
08-18-2018, 04:55 PM |
| |
|
Thread: Help Getting Started
Post: RE: Help Getting Started
| Hi again!
If you downloaded from GitHub, the package doesn't contain prebuilt binaries of the library (Tilengine.lib/Tilengine.dll), only the packages at itch.io (https://megamarc.itch.io/tilengine... |
|
megamarc |
Support
|
4 |
13,578 |
08-20-2018, 01:55 AM |
| |
|
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,198 |
11-11-2019, 05:57 PM |