Maybe this will help you:
[B4X] BitmapCreator Effects
BitmapCreatorEffects class includes all kinds of very simple to use image effects. The class is cross platform and compatible with B4J (v6.3+), B4A (v8.3+) and B4i (v5.0+). Example: 'Greyscale an image: Dim GreyImage As B4XBitmap = effects.GreyScale(ExistingBmp) 'Blur an image: Dim BlurImage As...www.b4x.com
Maybe this will help you:
[B4X] BitmapCreator Effects
BitmapCreatorEffects class includes all kinds of very simple to use image effects. The class is cross platform and compatible with B4J (v6.3+), B4A (v8.3+) and B4i (v5.0+). Example: 'Greyscale an image: Dim GreyImage As B4XBitmap = effects.GreyScale(ExistingBmp) 'Blur an image: Dim BlurImage As...www.b4x.com
Perhaps this can be interesting?
”Graveyard Keeper: How the graphics effects are made”
I'm not into game development at all, but I still can't help but find it interesting. :) I came across the article below, which contains fascinating insights into some beautiful graphic effects. I thought it might be inspirational for somebody here in the forum, especially now that Erel is...www.b4x.com
Perhaps this can be interesting?
”Graveyard Keeper: How the graphics effects are made”
I'm not into game development at all, but I still can't help but find it interesting. :) I came across the article below, which contains fascinating insights into some beautiful graphic effects. I thought it might be inspirational for somebody here in the forum, especially now that Erel is...www.b4x.com
there are many technics to make lightning effects without any library. for example, the image im post #1 can be done in a simple way.
you have 1 texture that is the wall then you have another texture that is basically a dark background with a gradient to the center from black with alpha of let say 150 to transparent. now you just move the image with your player and you get a nice light effect. i did this in my Pixel Knight game (made with Libgdx). have a look at it here:
It seems i would need to stay with LibGDX for the moment while crossplatform using XUI2D has yet to provide similar capability
the light effect i show you in the game can be made easily with xui2d as i don't use shaders for that. see the explanation on how to do it in post #10
gradient and transparency.
you create 2 bitmaps in any painting software you want. i use GIMP. then you draw the wall bitmap to the canvas and then you draw the dark bitmap above it. i attach a simple example using simple tools like b4xCanvas and that's it. NOTE that i draw each time I move the mouse the wall bitmap BUT because the wall bitmap is not changing you don't need to do that so you can draw it only once by using an imageview or in xui2d the relevant element. this is just an example to show you how it can be done.
run the b4j project and move the mouse above the image and you will get a simple but nice light effect
View attachment 110961
NOTE that i draw each time I move the mouse the wall bitmap BUT because the wall bitmap is not changing you don't need to do that so you can draw it only once by using an imageview or in xui2d the relevant element.