Ah ok, thanks mate. 🙏☺️
Sure. But that Will only Work for the Perlin noise map. I need to do it for the linear gradient too.
By clamping the colors, so pr. pixel values > 0.5 ? 1 : 0
Everything over 0.5 will have a values of 1 instead.
The gray scale is converted to black and white.
This picture is like what I want to achieve. (did it in photoshp)
Hi guys,
I am trying to figure out how the Drawing Canvas works.
What I want is to mix a Perlin noise and then some linear gradients together. After that, I want to clap the colors (let's say 50/50, Black and white) but I can't figure out how. Appreciate any help I can get, thanks! :)
Here is what it looks like:
That was easy as pie. Five lines of code. God, I love C3.
Thanks oosyrag!
Ah now I see. So each (infinite) X,Y coordinates is given a value up front upon adding 'advanced random' - sure, it gives meaning now.
So i guess the 'Seed' is just a random start x1,y1 coordination on the fractal map.
Thanks a lot mate. :)
I am pretty sure it is straight forward, but how do I mix Advanced random and tilemaps together? I am digging into procedural map making. I tried a couple of times but failed miserably.
I would appreciate some words of wisdom or a sweet tutorial link.🙏
Cheers! 😊
Thanks mate, i am super glad
that you liked it. 🙏😌
Graphical preview
Yup, of course, I get it. I was just so sure it was an expression.
But thanks mate. :)
I kind of remember seeing an expression like:
If Enemy.(Last.x) > Enemy.x - Then play Animation"AnimationRight"
It is the Last X I kind of think I have seen. Am I right in my assumption?
Thanks! :)
Develop games in your browser. Powerful, performant & highly capable.
It is a 'One button' game. Jumps or interact with close contact of objects.
Member since 6 Dec, 2016