|
Search Results
|
| Post
[desc]
|
Author |
Forum |
Replies |
Views |
Posted |
| |
|
Thread: detect keyup
Post: RE: detect keyup
| Hi again,
Tilengine reports current button state. Detecting keydown or keyup involves detecting state transitions. For that you must keep previous value and compare it to current value, then reassign... |
|
megamarc |
Support
|
2 |
7,914 |
01-07-2021, 08:18 AM |
| |
|
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,654 |
08-27-2019, 05:11 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,654 |
08-28-2019, 03:15 AM |
| |
|
Thread: Disable raster callback?
Post: RE: Disable raster callback?
| Passing NULL to TLN_SetRasterCallback() is the way to disable raster effects.
Exactly what kind of "rendering errors" are you experiencing? Can you post some example? |
|
megamarc |
Support
|
3 |
9,836 |
02-09-2020, 07:39 AM |
| |
|
Thread: Disable raster callback?
Post: RE: Disable raster callback?
| I'm glad you found the cause so quickly!
In Tilengine you must specify a base background: either a solid color with TLN_SetBGColor() or a fixed bitmap with TLN_SetBGBitmap(). If not, pixels that ar... |
|
megamarc |
Support
|
3 |
9,836 |
02-09-2020, 09:48 PM |
| |
|
Thread: Docs complete?
Post: RE: Docs complete?
| Hi,
The API reference is always up to date:
http://www.tilengine.org/doc/modules.html
Howerer the "Guides" section -kind of user's manual- it's not yet complete, only some chapters are:
http:/... |
|
megamarc |
Support
|
1 |
5,609 |
10-30-2020, 05:39 PM |
| |
|
Thread: Documentation menu on website
Post: RE: Documentation menu on website
| I see, I just grabbed the GitHub README.md as-is, and the first part covers general setup, not just C/C++. It should live on its own "Getting started" sub-menu, right? |
|
megamarc |
Forum issues
|
5 |
19,375 |
07-13-2018, 01:18 AM |
| |
|
Thread: Documentation menu on website
Post: RE: Documentation menu on website
| Can you provide some details about your tablet? Manufacturer, OS version, web browser... the website uses standard HTML5 with Bootstrap 3.3.4, maybe some features aren't properly rendered on older bro... |
|
megamarc |
Forum issues
|
5 |
19,375 |
08-07-2018, 06:13 AM |
| |
|
Thread: Drawing a background of tiles
Post: RE: Drawing a background of tiles
| Hi Domarius,
Sorry for the late reply to your interesting question.
In classic systems, the tileset (the graphics) and the tilemap must fit inside the VRAM. The VRAM provided space to hold a por... |
|
megamarc |
Game development topics
|
10 |
36,048 |
10-08-2018, 06:58 AM |
| |
|
Thread: Drawing a background of tiles
Post: RE: Drawing a background of tiles
| Hi!
That is not exactly true in tilengine. It doesn't create any huge surface and blit portions of it, as other 2D engines do. What is held complete in RAM is the tileset (the set of individual gra... |
|
megamarc |
Game development topics
|
10 |
36,048 |
10-08-2018, 05:52 PM |
| |
|
Thread: Drawing a background of tiles
Post: RE: Drawing a background of tiles
| Great work!
To run it on IOS, a binary build of the Tilengine library must be produced first. I have a working build for desktop OSX using command-line tools for Xcode (gcc in disguise), but I'm no... |
|
megamarc |
Game development topics
|
10 |
36,048 |
10-24-2018, 05:05 PM |
| |
|
Thread: Drawing a background of tiles
Post: RE: Drawing a background of tiles
| This is Kain's thread in Unity forums showing his progress integrating it:
https://forum.unity.com/threads/tilengine-alternative-2d-rendering.571372/
I'm impressed about how he's having success wi... |
|
megamarc |
Game development topics
|
10 |
36,048 |
10-31-2018, 04:36 AM |
| |
|
Thread: Dynamic circle effect from Contra 3 / Probotector
Post: RE: Dynamic circle effect from Contra 3 / Probotec...
| For the first effect, the pulsating small shield, I would use a sprite with a perfect circle at fixed resolution and a single color, and then use a raster effect to change the palette value of that co... |
|
megamarc |
Support
|
10 |
17,678 |
08-09-2018, 06:26 AM |
| |
|
Thread: Dynamic circle effect from Contra 3 / Probotector
Post: RE: Dynamic circle effect from Contra 3 / Probotec...
|
greysonstorm Wrote: (08-09-2018, 06:52 AM)
--
decal splatting techniques would be the way to go...
--
That's true for modern graphic engines and would be the way to go. But I think that Domarius is... |
|
megamarc |
Support
|
10 |
17,678 |
08-09-2018, 04:53 PM |
| |
|
Thread: Dynamic circle effect from Contra 3 / Probotector
Post: RE: Dynamic circle effect from Contra 3 / Probotec...
| I don't think the SNES (or any other system of the era) had the ability to modify rendering parameters in the middle of a scanline. The time to traverse a single pixel is much shorter than the time to... |
|
megamarc |
Support
|
10 |
17,678 |
08-17-2018, 04:56 PM |
| |
|
Thread: Dynamic circle effect from Contra 3 / Probotector
Post: RE: Dynamic circle effect from Contra 3 / Probotec...
| Thanks for the detailed information @RexyDallas!
I knew about the basics of transparency in the SNES, it's the same cocept used in Tilengine: the BLEND_ADD, BLEND_MIX and BLEND_SUB modes have the s... |
|
megamarc |
Support
|
10 |
17,678 |
08-20-2018, 01:45 AM |
| |
|
Thread: Dynamic circle effect from Contra 3 / Probotector
Post: RE: Dynamic circle effect from Contra 3 / Probotec...
| I found the response to the scaling keyhole/circle transition! It's in one of the documents at https://wiki.superfamicom.org/ pointed by @RexyDallas
It's done with the windowing feature, changing the... |
|
megamarc |
Support
|
10 |
17,678 |
08-20-2018, 09:07 PM |
| |
|
Thread: ejemplo sencillo
Post: RE: ejemplo sencillo
| Gracias por el ejemplo :cool:
Hacer tutoriales no es sencillo, ya que se trata de una labor didáctica o educativa. Puedes tener 2 tipos de tutoriales:
Serie de tutoriales sencillos incrementales... |
|
megamarc |
Soporte
|
3 |
14,143 |
11-05-2018, 02:06 AM |
| |
|
Thread: Enable ssl (e.g. via let's encrypt)?
Post: RE: Enable ssl (e.g. via let's encrypt)?
| My ISP (Hostinger) doesn't offer Let's encrypt nor SSH access to add it myself. They sell their own SSL certificates, that's the reason. |
|
megamarc |
Forum issues
|
2 |
10,045 |
12-25-2019, 12:45 AM |
| |
|
Thread: Enable ssl (e.g. via let's encrypt)?
Post: RE: Enable ssl (e.g. via let's encrypt)?
| Hi Thacoon,
To be honest I don't have any plans, but I have nothing against considering it either. I don't have deep knowledge about this. I run this forum inside my ISP hosting, they provide a pre... |
|
megamarc |
Forum issues
|
2 |
10,045 |
11-12-2019, 07:01 PM |