GameMaker: Studio

GameMaker: Studio

Not enough ratings
Fractal Recursion Effects
   
Award
Favorite
Favorited
Unfavorite
Description
Collection of Examples of Fractal Recursion.

Fractal lightning uses a script to create part of a strand and then within the script it calls the script again to continue the strand. at the end of the main branches of lightning it calls a different script to create the thinner fibers. This program uses particles and some shaders (experimental and simple) on the mountains. I've also added sliders and buttons to adjust different parts of the environment. These include amount of rain, frequency of bolts, and keeping the bolt on screen until the next strike.

Fractal tree has two types of trees, on the first room it contains one tree that changes branch angle and height according to where you click on the screen. This tree is drawn on a suface and then the surface is displayed. The second room takes a different approach, it uses an array to draw the tree and then draws it to a surface, which is then converted to a sprite. Converting to a sprite keeps the program from running through an array in the draw event, which made it rather slow.

Chroma the dinosaur is a platform game that uses the fractal trees as part of the level background. It also uses recursion to draw the ground anew each time the level is loaded. Also it uses recursion to draw the paint splatters which are always different.
Items (2)
Fractal Lightning (Recursion)
Created by Gargansa
Lightning Simulation using recursion. Screen should flash with each bolt and then bolt should stick around for a brief second. Please comment any oddities, or any questions about the code. Updates 8-11-13 -Added Clouds -Reduced Alpha on rain Updates 8-7-13...
Fractal Tree (Recursion)
Created by Gargansa
Fractal Tree made with Recursion. On the first page click on different parts of the screen to change the tree. On the second page click anywhere to spawn a new random fractal tree. The tree is created using recursion described below and then converted into...