Title: 2D platform game based on Fractals Post by: Mrz00m on July 20, 2014, 03:49:47 PM I was writing some fractal plants recently and i stumbled on some code that is OK for making a 2D side scrolling adventure game:
this is maybe abit of a waste of time to play so only spend 1 minute on it, pres E R E R many times if you start to fall into space. Thanks:) https://dl.dropboxusercontent.com/u/114667999/2dfdemo.html Title: Re: 2D platform game based on Fractals Post by: cKleinhuis on July 21, 2014, 07:19:01 AM haha, what is it !+! is the goal to hope to land on the ladder at beginning and then crawl to the other end ?
Title: Re: 2D platform game based on Fractals Post by: Mrz00m on September 04, 2014, 03:23:42 PM Oh someone played it!
it was just a test of an L-System for designing 2D games. it was cool, some pretty patterns generated faster than with building levels by hand. Just a fast test to see if anyone likes walking around on a kindof fractal platform. the good thing is that players can design their game as they progress. the drawback is that L-Systems are so simple, if i try to fill the levels to make more than a line, it will destroy the outline of the l system... Title: Re: 2D platform game based on Fractals Post by: cKleinhuis on September 04, 2014, 03:32:36 PM fiddling with l systems is not so hard ;)
try not thinking of the pure replacing, but just by using the building blocks, for example, if you have building block straight, left corner, right corner a level is just a sequence of these building blocks, making sure every block connects to another giving you a connected line for every combination so, when you have designed such building blocks with apropriate in/out settings you can basically exchange each base building block by another more complex building block, e.g. define a sub-level the only thing you need to take care is that the entry point and the exit point of such a block is equal to the upper one ;) extending such a system by a node/branching system comes then just natural ;) Title: Re: 2D platform game based on Fractals Post by: cKleinhuis on September 04, 2014, 03:33:29 PM and with that you can then apply a more randomized approach an use the replace function, what i mean is just to think about what you want to express with such a system
Title: Re: 2D platform game based on Fractals Post by: TheRedshiftRider on September 04, 2014, 05:19:45 PM :surprised:
Nice game. :) Title: Re: 2D platform game based on Fractals Post by: slon_ru on September 04, 2014, 06:31:38 PM Nice idea :beer: !
Title: Re: 2D platform game based on Fractals Post by: Mrz00m on September 04, 2014, 08:55:02 PM Thanks for the encouragement ^-^ Someone told me i should make space invaders running and flying towards the player and he has to build some barriers.
The cool thing is that it can also build rooms and courtyards, i.e. i can make mazes with many kinds of walls, and then indeed i can swap the L-System blocks for any kinds of mesh, diamonds, spherical, hollow cubes, pyramids... that would be fun! oh ok i see what you mean, for the 2d version made of a varied number of forms. i can try some... it's triky to keep the platformer appearance. Structure-Synth is based on the same principle, lsystems with branches... i went 3d with the LSystem as well, i wanted a 3d spirograph, which i never managed!!!! however i wrote a chaos version where the lsystem turns towards gravity points and it does crazy things... and then i wrote a tubing mesh for it... which is part of the fractal shootey game where you fly in a tube and etc. mouse wheel to go faster: https://dl.dropboxusercontent.com/u/114667999/shootey/shootey.html realtime physics in a tube!!! i am imagining disintegrating space invaders bouncing around the walls crashing etc. except i am developing 10 games at the same time at the moment :tongue1: i got a video of the spirograph chaos attempt... sorry you have to stand above the monitor and turn it from side to side because i just realised the green is not visiable from that angle. it's too round. https://www.youtube.com/watch?v=LTtyZOQjEBk Title: Re: 2D platform game based on Fractals Post by: mclarekin on September 05, 2014, 10:13:47 AM cool, its fun to just rotate the tube (A & D keys) with the shoot held down. and the first one was interesting as well.
Title: Re: 2D platform game based on Fractals Post by: Mrz00m on June 10, 2015, 11:26:44 PM It's quite difficult to write many algorithms together to make a game! i can often write 2-3 to make a pattern, it's a bit like writing a symphone i can only write 1 melody, and the symultaneously melodies is really a disaster. here is the engine of the 2d platform game, it has some parallels with mandelboxes. jump to 4 minutes fot he main thriller sequence. https://www.youtube.com/watch?v=eYL7b4jtEHs&t=4m44s
Title: Re: 2D platform game based on Fractals Post by: Mrz00m on August 13, 2015, 04:11:59 PM I'd love to know how to make houses and any kinds of 3D shapes using the 2D shape generation program... I am confused about the options. here is a different version of the same engine, you can run version 4,12 and 13 on it if you want: https://dl.dropboxusercontent.com/u/114667999/Spagetitree demo version/Spagetitree demo version.html |