12 years ago

Pangaea Unearthed - New generation process


After spending a few days learning to create shaders, I decided to create a pseudo-random noise shader. This was quite basic and easy to create. I then decided to create a similar generation process to my latest, just using a shader.

With Game Makers new buffer_get_shader function, us developers can quickly and easily apply shaders to surfaces, then turn the surfaces into buffers. As noise generation appears to be a lot faster via shaders than it is using pure GML, I’ve decived to generate most of the worlds features using shaders alone. This also completely de-clutters the GML scripts / code snippets side of things, making the project look and feel a lot cleaner to develop.

As I’m new to shaders, there’s still loads for me to learn. I’m going to explore vector maths. I know the basics, but I’m sure I’d be able to write more efficient shaders after learning more complex vector maths.

For any of you who are interested in viewing the latest 2D terrain generation shader demo, the link is here: https://www.dropbox.com/s/ft9ncgn0rhzqfgf/terrain_shader-Default-1.0.0.1.zip?dl=0

Generating the whole thing using shaders alone, gives me 256256256*256 blocks to play with. This is because each pixel of a surface can hold 256 different values for red, green, blue and alpha. Figuring out what I’m going to use them all for is going to be difficult. I may just start with 255 base rock layers, 255 base ores, 255 different vegetation types (including wood).



0 comments

Loading...

Next up

Bandana Dee the Dream Friend

art comission.

We are under attack!

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

Have a good Boi

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

Let me introduce you to the new Mech line: Gendai Spec. Those are Mech that specializes in surprise attacks, covered operations, and stealth. They are equipped with melee weapons but one of Gendai's frames supports sniper rifles.

Only true badasses may pass! #conceptart #art #gamedesign

Animation test. Not an actaul conclusion to who wins sonic vs Mario. Just a test animation combo.