Hi, did I just pushed Tilengine to its limits?
Tilengine demo
Only one layer was used, and there is no sprite at all!
Tilengine demo
Only one layer was used, and there is no sprite at all!
One single layer, no sprites. Pushing Tilengine to its limits?
|
Hi, did I just pushed Tilengine to its limits?
Tilengine demo Only one layer was used, and there is no sprite at all!
04-21-2023, 08:47 PM
Just one layer?? Let me know how...
Are you using an object layer? There is another black layer with blue characters and drawing primitives. The moving logo sometimes goes under the text and primitives, so that layer is not a tiled layer where you can play with per-tile priority. I'm curious about it :-)
04-21-2023, 09:24 PM
(04-21-2023, 08:47 PM)megamarc Wrote: Just one layer?? Let me know how... Everything is on a single bitmap layer. If you draw stuff in the right order, you can emulate priority. The logo isn't a sprite either, it is a part of the bitmap layer. But I went even further. What if we have 2 bitmaps layers... By using ONE Layer? And still no sprites! Example with layer multiplexing.
04-21-2023, 09:43 PM
Haha you're going quite crazy with it!
Yes, a bitmap layer is like a contained framebuffer where you can put anything you want there, but allowing composition and blending effects with other elements. You're already doing classic demoscene effects here.
04-21-2023, 09:52 PM
(04-21-2023, 09:43 PM)megamarc Wrote: Haha you're going quite crazy with it! I love demoscene effects, they look pretty cool! I already ran Bad Apple on Tilengine, will post a video later... And maybe I can run something crazier on Tilengine... But for now, what if Tilengine could display even more colors than Super Nintendo's Master palette, on a single layer?
06-04-2023, 06:21 PM
(04-21-2023, 09:52 PM)System64 Wrote: I already ran Bad Apple on Tilengine, will post a video later... And maybe I can run something crazier on Tilengine... You mentioned that you used Tilengine to play the Bad Apple animation. Since the animation has about 6572 frames and a resolution of 480x360 pixels, it seems like a lot of data to store in memory at once. How did you handle that efficiently?
06-10-2023, 04:50 PM
(04-21-2023, 09:52 PM)System64 Wrote: I love demoscene effects, they look pretty cool! Hi! Sorry for my late reply. I always enjoyed demoscene works, back since the Amiga days as a kid, and the on PC in late 90s. Since release 2.13 (2th Nov 2022) Tilengine can display more colors than regular SNES per layer when I introduced per-tile palettes: https://megamarc.itch.io/tilengine/devlo...e-selector SNES
06-10-2023, 09:06 PM
(06-04-2023, 06:21 PM)vonhoff Wrote:Hi,(04-21-2023, 09:52 PM)System64 Wrote: I already ran Bad Apple on Tilengine, will post a video later... And maybe I can run something crazier on Tilengine... I used pictures from SGDK's Bad Apple demo. It is 30 FPS and has MegaDrive's resolution which is 320x224 (NTSC) or 320x240 (PAL) I load all pictures as bitmaps and then I display the bitmaps.
06-10-2023, 09:18 PM
(06-10-2023, 04:50 PM)megamarc Wrote:(04-21-2023, 09:52 PM)System64 Wrote: I love demoscene effects, they look pretty cool! Hi, even 2040 colors are not enough to display this picture. I display 44254 unique colors at once on this picture, on a single layer!
06-17-2023, 02:06 AM
Hi!
I see, you're displaying a direct color 16 bpp image (at least). For doing this, Tilengine doesn't have anything special to offer. As you're not using any feature like raster effects, layer composition or animation, I'd just use plain SDL2 to create a 32-bit streaming texture and blit video frames onto it: https://wiki.libsdl.org/SDL2/SDL_CreateTexture |
« Next Oldest | Next Newest »
|