|
Search Results
|
| Post |
Author
[desc]
|
Forum |
Replies |
Views |
Posted |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Hi!
Raster effect is a global frame feature, that's why you can't have one for each layer. However, you can modify any layer or sprite parameters inside the same callback. That's what the example s... |
|
megamarc |
Support
|
79 |
188,589 |
12-09-2020, 03:29 AM |
| |
|
Thread: Pixel modifications
Post: RE: Pixel modifications
|
Domarius Wrote: (05-21-2018, 04:28 PM)
--
Wow that is amazing that you could do it so quick!
I should make an attempt with Godot first, as I've been led to believe this sort of approach is reasona... |
|
megamarc |
Support
|
18 |
60,491 |
05-21-2018, 05:58 PM |
| |
|
Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)
| I see, good examples. For warping effect I'd use two sprites, one on each side of the viewport, each one being clipped on its own side. I guess that's what original SMB3 did. I'd keep both sprites syn... |
|
megamarc |
Support
|
10 |
18,869 |
11-16-2022, 07:14 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Hi,
I'll check the attached 7z later, thanks.
For objects, you can use the "Object Layer" feature:
http://www.tilengine.org/doc/md_layers.html#autotoc_md31
These can be directly loaded and dra... |
|
megamarc |
Support
|
79 |
188,589 |
12-09-2020, 04:29 AM |
| |
|
Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)
| Hi,
I've done a quick warping mockup, here's the source code, just place in "samples" directoy and treat it as a regular sample
|
|
megamarc |
Support
|
10 |
18,869 |
11-16-2022, 08:25 AM |
| |
|
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 |
90,269 |
02-22-2019, 04:43 PM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Yes, Tilengine can read two custom tile properties, that can be queried with TLN_GetLayerTile() (http://www.tilengine.org/doc/group__layer.html#ga1d3932cdfcb024db23a94e4e33f2246e) function into a TLN_... |
|
megamarc |
Support
|
79 |
188,589 |
12-09-2020, 09:33 PM |
| |
|
Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)
| Good work with drawing primitives :-)
For drawing filled circles, I once implemented it on a gfx library. I used bresenham's circle algorithm, but instead of directly plotting the edge pixels, I us... |
|
megamarc |
Support
|
10 |
18,869 |
11-16-2022, 08:34 AM |
| |
|
Thread: Sprite Rotation
Post: RE: Sprite Rotation
| Of course! Don't expect any kind of anti-aliasing, just the good-old blocky pixels. This is not an intended feature, just a side effect of how real 2D tiled hardware works.
In fact only few high-en... |
|
megamarc |
Support
|
13 |
41,821 |
05-28-2018, 01:09 AM |
| |
|
Thread: Pixel modifications
Post: RE: Pixel modifications
|
Domarius Wrote: (05-27-2018, 07:37 AM)
--
I noticed in the commit logs it rejects anything higher than 8 bits per pixel - away with that full colour garbage! We don't like their kind around here, heh... |
|
megamarc |
Support
|
18 |
60,491 |
05-30-2018, 03:57 AM |
| |
|
Thread: TLN_SetSpriteBlendMode to highlight items
Post: RE: TLN_SetSpriteBlendMode to highlight items
| Hi guys,
I think about two ways to handle this -and probably a combination of both-:
1. Different palettes
Clone the palette of the object to have a "highlighted" version, and lighten it with T... |
|
megamarc |
Support
|
10 |
30,849 |
09-04-2018, 02:39 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Yes!
This is the intended use case of the custom "type" attribute :-) |
|
megamarc |
Support
|
79 |
188,589 |
12-09-2020, 10:26 PM |
| |
|
Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)
| Hi,
You don't need 4 sprites to warp in both directions, just 2 sprites. Here is the simplified source.
Beware that you cannot warp in both axis at the same time, that is, trying to warp in a c... |
|
megamarc |
Support
|
10 |
18,869 |
11-17-2022, 03:00 AM |
| |
|
Thread: What causes disabled sprites and layers to be re-enabled?
Post: RE: What causes disabled sprites and layers to be ...
| Good point, I've never tried to modify tilemaps on disabled layers. Of course this seems counter-intuitive, I'll check it :) |
|
megamarc |
Support
|
1 |
6,737 |
05-30-2018, 03:58 AM |
| |
|
Thread: Feature request: Load png and mp3 from packed files
Post: RE: Feature request: Load png and mp3 from packed ...
| Yes, everybody uses its own packer. I've developed one for my job many years ago with basic encryption, it's the way to go.
Please notice that the loaders in tilengine (all the TLN_LoadSomething() ... |
|
megamarc |
Support
|
3 |
11,419 |
09-04-2018, 02:54 AM |
| |
|
Thread: Into Space, a game I have been working on
Post: RE: Into Space, a game I have been working on
| Congratulations for your work! I hope that it has good progress. What kind of game you're attempting?
There was a LUA binding for Tilengine, provided by a contributor named Terrence Young. I had to... |
|
megamarc |
Presentations
|
4 |
15,356 |
11-27-2019, 11:41 PM |
| |
|
Thread: Basic Embedding
Post: RE: Basic Embedding
| I appreciate your words about Tilengine, thanks! It's not for everyone, but it definitely has its place. I'm glad you appreciate it as is, sometimes it's difficult for people to understand what makes ... |
|
megamarc |
Game development topics
|
43 |
129,689 |
11-28-2019, 12:04 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Both are quite complex samples. I think the samples bundled with the engine must be simple and showcase basic features. The creation of working gameplay mechanics is beyond the scope of the engine its... |
|
megamarc |
Support
|
79 |
188,589 |
12-10-2020, 06:14 AM |
| |
|
Thread: Tilengine is included in Ring programming language
Post: RE: Tilengine is included in Ring programming lang...
| Hi Mahmoud,
Thanks for this post, for your will to integrate Tilengine on Ring's standard library, and congratulations for hour hard work on it!
Somebody told me about Ring language some time ag... |
|
megamarc |
Game development topics
|
2 |
8,739 |
02-20-2021, 10:45 PM |
| |
|
Thread: Sprite warping (or wraping?)
Post: RE: Sprite warping (or wraping?)
| Hi!
Good job with your drawing primitives :-)
Yes you're right, warping on cornes requires 4 sprites as the actor appears on all corners at once.
I haven't planned use for the remaining bits ... |
|
megamarc |
Support
|
10 |
18,869 |
11-23-2022, 08:01 PM |