Search Results
|
Post |
Author |
Forum |
Replies
[asc]
|
Views |
Posted |
|
|
Thread: Tilengine y tcc
Post: Tilengine y tcc
Hola,
Como lo comentábais en este foro, he probado el tcc (no lo conocía) y me ha sorprendido lo mucho que hace para lo pequeño que es. Lo he probado con los ejemplos de Tilengine y funciona sin pr... |
|
megamarc |
Soporte
|
35 |
77,351 |
10-27-2018, 07:36 PM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Hokuto40!
Aunque tengamos visiones diferentes, valoro mucho tu interés, comentarios y dedicación. Siento no haber podido ser de más ayuda :cry: .
Sí que te doy la razón en el tema de ejemplos qu... |
|
megamarc |
Soporte
|
35 |
77,351 |
10-30-2018, 05:19 AM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Buenas!
Qué mensaje de error te da el tcc al compilar?
Un binding de un lenguaje para usar una biblioteca multiplataforma escrita en otro lenguaje nunca trae la biblioteca original, tenerla inst... |
|
megamarc |
Soporte
|
35 |
77,351 |
10-29-2018, 08:32 AM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Hola!
No me molesto en absoluto por tus comentarios, y aunque pueda parecer que soy inflexible, sí que tengo en cuenta todos los puntos de vista. Lógicamente tengo una visión generaly en ella no pu... |
|
megamarc |
Soporte
|
35 |
77,351 |
10-29-2018, 11:33 PM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Buenas!
Pues gracias por el interés y la perseverancia :cool:
Sí, tanto el ejemplo de python como el RetroPang los he probado y empaquetado con las últimas versiones para ver que no había probl... |
|
megamarc |
Soporte
|
35 |
77,351 |
10-31-2018, 08:26 AM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Los editores básicos no suelen autocompletar, eso más bien es cosa de IDEs un poco más avanzados. En todo caso puede que haya alguna configuración donde le puedas indicar rutas adicionales para buscar... |
|
megamarc |
Soporte
|
35 |
77,351 |
11-05-2018, 01:52 AM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Buenas!
GML es una versión de JavaScript adaptada a GameMaker, su sintaxis es muy parecida, aunque integra funciones específicas para el manejo de los juegos. En cuanto a Unity, tradicionalmente us... |
|
megamarc |
Soporte
|
35 |
77,351 |
02-18-2019, 08:08 PM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Hola Hokuto,
Un compilador de C no se utiliza así como en la captura que adjuntas. A no ser que estés compilando un programa muy sencillo que sólo contenga un módulo y no utilice bibliotecas extern... |
|
megamarc |
Soporte
|
35 |
77,351 |
02-11-2019, 04:45 PM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Buenas, te respondo por partes:
Cierto que los ejemplos están mezclados en la misma carpeta y puede ser complicado saber cual es cual. El motivo es que hay varios archivos que son comunes a varios ... |
|
megamarc |
Soporte
|
35 |
77,351 |
02-13-2019, 04:29 AM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Buenas!
Qué versión de la biblioteca usas?
32 o 64 bits?
La has compilado tú mismo a partir de los fuentes o estaba precompilada?
Los samples que has compilado y la librería pertenecen al mism... |
|
megamarc |
Soporte
|
35 |
77,351 |
02-21-2019, 06:12 AM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Buen trabajo de investigación @daltomi
Es como si tcc decidiese optimizar una variable que en realidad sí que cambia de valor. "volatile" sirve para evitar optimizaciones de lectura cuando una vari... |
|
megamarc |
Soporte
|
35 |
77,351 |
02-25-2019, 05:56 PM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Buenas!
El tema de javascript, en realidad es una plataforma nueva (navegador web), no otro binding. Hay un compilador llamado emscripten que coge código fuente de C y lo convierte en javascript/We... |
|
megamarc |
Soporte
|
35 |
77,351 |
02-13-2019, 09:44 PM |
|
|
Thread: Tilengine y tcc
Post: RE: Tilengine y tcc
Hola,
En GitHub, dentro del máster sí que hay versiones precompiladas de la biblioteca, dentro de la carpeta /lib. Las de linux pueden estar desactualizadas, pero las de Windows siempre están a la ... |
|
megamarc |
Soporte
|
35 |
77,351 |
02-22-2019, 04:43 PM |
|
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
Sprites in Tilengine are statically allocated during init, you set the maximum number of sprites the engine will manage. All sprite functions take an index number indicating which sprite are you deali... |
|
megamarc |
Support
|
33 |
64,926 |
12-19-2020, 11:59 PM |
|
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
Hi,
This is a gameplay mechanic topic. Tilengine itself is a graphics engine, no a full game engine, so it doesn't provide direct support for things like actors or game entities. This is something yo... |
|
megamarc |
Support
|
33 |
64,926 |
12-19-2020, 06:09 PM |
|
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
If you just want to use an object list as non-interactive "decorations", Tilengine can draw them by itself. To see a working example, chech the sample "forest" and its related assets:
https://github.... |
|
megamarc |
Support
|
33 |
64,926 |
12-19-2020, 10:27 PM |
|
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
No, they're unrelated. Object list can have an arbitrary number of items, and are related to background layers, not to sprites. |
|
megamarc |
Support
|
33 |
64,926 |
12-20-2020, 12:15 AM |
|
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
Yes, each created entity must go to the list of active actors, that must be processed each frame. And when you delete an actor, release its resources (for example its assigned sprite) and remove it fr... |
|
megamarc |
Support
|
33 |
64,926 |
12-20-2020, 03:14 AM |
|
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
Hi,
That's an error in the documentation, sorry. TLN_AddSpriteToList doesn't exist, It should say TLN_AddTileObjectToList(). This function is used in case you want to populate a TLN_ObjectList by han... |
|
megamarc |
Support
|
33 |
64,926 |
12-20-2020, 08:05 AM |
|
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
This is for ading tile objects to an objectlist, in other words, to build a bitmap-based tileset (.tsx) at runtime. That's why you don't se a "destroy/delete" companion function. Once created, the til... |
|
megamarc |
Support
|
33 |
64,926 |
12-20-2020, 05:17 PM |