Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tilengine on Java
#29
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 shooter.c does. It's a bit complicated, but you can see that the raster callback operates heavily on both background layers to simulate depth and enhance parallaxing:
https://github.com/megamarc/Tilengine/bl...ter.c#L208

Are you using Tilengine.h from release 2.8.5? In order to give advice on crashes, you should attach all your development project inside a zip and post it here: dlls, executable, classes, graphic assets... anything needed to run and reproduce the issue. Runtime crashes are often caused by inconsistences on the environment.

I have intention to remove the complex TLN_EnableCRTEffect() function and simplify it on a basic enable/disable on future releases, so don't bother with it either...
Reply


Messages In This Thread
Tilengine on Java - by System64 - 12-01-2020, 02:14 AM
RE: Tilengine on Java - by megamarc - 12-02-2020, 05:21 PM
RE: Tilengine on Java - by System64 - 12-02-2020, 07:53 PM
RE: Tilengine on Java - by megamarc - 12-03-2020, 01:27 AM
RE: Tilengine on Java - by System64 - 12-03-2020, 03:23 AM
RE: Tilengine on Java - by megamarc - 12-03-2020, 04:39 PM
RE: Tilengine on Java - by System64 - 12-03-2020, 05:07 PM
RE: Tilengine on Java - by megamarc - 12-04-2020, 04:15 PM
RE: Tilengine on Java - by System64 - 12-04-2020, 10:54 PM
RE: Tilengine on Java - by megamarc - 12-05-2020, 04:07 AM
RE: Tilengine on Java - by System64 - 12-05-2020, 04:15 AM
RE: Tilengine on Java - by megamarc - 12-05-2020, 04:32 AM
RE: Tilengine on Java - by System64 - 12-05-2020, 05:05 AM
RE: Tilengine on Java - by megamarc - 12-05-2020, 05:23 PM
RE: Tilengine on Java - by System64 - 12-05-2020, 10:37 PM
RE: Tilengine on Java - by System64 - 12-07-2020, 12:27 AM
RE: Tilengine on Java - by megamarc - 12-07-2020, 08:27 AM
RE: Tilengine on Java - by System64 - 12-07-2020, 09:43 AM
RE: Tilengine on Java - by megamarc - 12-07-2020, 06:36 PM
RE: Tilengine on Java - by System64 - 12-07-2020, 08:08 PM
RE: Tilengine on Java - by megamarc - 12-08-2020, 12:00 AM
RE: Tilengine on Java - by System64 - 12-08-2020, 12:42 AM
RE: Tilengine on Java - by megamarc - 12-08-2020, 04:58 AM
RE: Tilengine on Java - by System64 - 12-08-2020, 05:06 AM
RE: Tilengine on Java - by System64 - 12-08-2020, 09:50 AM
RE: Tilengine on Java - by megamarc - 12-08-2020, 06:08 PM
RE: Tilengine on Java - by System64 - 12-08-2020, 06:13 PM
RE: Tilengine on Java - by System64 - 12-09-2020, 02:13 AM
RE: Tilengine on Java - by megamarc - 12-09-2020, 03:29 AM
RE: Tilengine on Java - by System64 - 12-09-2020, 04:12 AM
RE: Tilengine on Java - by megamarc - 12-09-2020, 04:29 AM
RE: Tilengine on Java - by System64 - 12-09-2020, 04:34 AM
RE: Tilengine on Java - by megamarc - 12-09-2020, 09:33 PM
RE: Tilengine on Java - by System64 - 12-09-2020, 10:16 PM
RE: Tilengine on Java - by megamarc - 12-09-2020, 10:26 PM
RE: Tilengine on Java - by System64 - 12-09-2020, 11:01 PM
RE: Tilengine on Java - by megamarc - 12-10-2020, 06:14 AM
RE: Tilengine on Java - by System64 - 12-10-2020, 06:22 AM
RE: Tilengine on Java - by System64 - 12-10-2020, 11:09 AM
RE: Tilengine on Java - by megamarc - 12-10-2020, 06:11 PM
RE: Tilengine on Java - by System64 - 12-10-2020, 06:56 PM
RE: Tilengine on Java - by megamarc - 12-10-2020, 08:50 PM
RE: Tilengine on Java - by System64 - 12-10-2020, 09:16 PM
RE: Tilengine on Java - by megamarc - 12-11-2020, 03:28 AM
RE: Tilengine on Java - by System64 - 12-11-2020, 03:34 AM
RE: Tilengine on Java - by megamarc - 12-11-2020, 07:12 AM
RE: Tilengine on Java - by System64 - 12-11-2020, 07:14 AM
RE: Tilengine on Java - by megamarc - 12-11-2020, 07:51 AM
RE: Tilengine on Java - by System64 - 12-11-2020, 08:48 AM
RE: Tilengine on Java - by megamarc - 12-12-2020, 12:30 AM
RE: Tilengine on Java - by System64 - 12-12-2020, 12:51 AM
RE: Tilengine on Java - by megamarc - 12-12-2020, 01:18 AM
RE: Tilengine on Java - by System64 - 12-12-2020, 02:06 AM
RE: Tilengine on Java - by megamarc - 12-12-2020, 02:37 AM
RE: Tilengine on Java - by System64 - 12-12-2020, 03:41 AM
RE: Tilengine on Java - by megamarc - 12-12-2020, 05:15 PM
RE: Tilengine on Java - by System64 - 12-12-2020, 09:14 PM
RE: Tilengine on Java - by megamarc - 12-13-2020, 05:12 AM
RE: Tilengine on Java - by System64 - 12-13-2020, 05:21 AM
RE: Tilengine on Java - by megamarc - 12-13-2020, 05:30 AM
RE: Tilengine on Java - by System64 - 12-13-2020, 05:35 AM
RE: Tilengine on Java - by megamarc - 12-14-2020, 04:45 AM
RE: Tilengine on Java - by System64 - 12-14-2020, 05:46 AM
RE: Tilengine on Java - by megamarc - 12-14-2020, 07:18 PM
RE: Tilengine on Java - by System64 - 12-14-2020, 09:23 PM
RE: Tilengine on Java - by megamarc - 12-14-2020, 11:14 PM
RE: Tilengine on Java - by System64 - 12-15-2020, 12:12 AM
RE: Tilengine on Java - by megamarc - 12-15-2020, 12:50 AM
RE: Tilengine on Java - by System64 - 12-15-2020, 02:08 AM
RE: Tilengine on Java - by megamarc - 12-15-2020, 02:51 AM
RE: Tilengine on Java - by System64 - 12-15-2020, 02:57 AM
RE: Tilengine on Java - by megamarc - 12-15-2020, 07:29 AM
RE: Tilengine on Java - by System64 - 12-15-2020, 08:27 AM
RE: Tilengine on Java - by System64 - 12-21-2020, 06:53 AM
RE: Tilengine on Java - by megamarc - 12-21-2020, 07:35 AM
RE: Tilengine on Java - by System64 - 12-21-2020, 07:55 AM
RE: Tilengine on Java - by System64 - 12-30-2020, 07:31 AM
RE: Tilengine on Java - by megamarc - 12-30-2020, 05:22 PM
RE: Tilengine on Java - by System64 - 12-30-2020, 10:15 PM
RE: Tilengine on Java - by megamarc - 12-31-2020, 10:18 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)