I has fractals + game

Posted by uglyman on Nov. 26, 2008, 8:24 p.m.

xp=0
yp=0
zp=1
repeat (500)
   {
   xp=0
   yp+=1
   repeat (500)
      {
      draw_point_color(xp,yp,make_color_rgb(((yp^3)+(xp^2)-(zp+yp)),(yp*(xp^2)),(yp*xp)+(zp^3)))
      xp+=1
      zp+=zp^2
      }
   }

xp=0
yp=0
zp=1
repeat (600)
   {
   xp=0
   yp+=1
   repeat (600)
      {
      draw_point_color(xp,yp,make_color_rgb(((yp^5)+(((xp^2)+26)/4)-(zp+yp))/32,((yp^3)*(xp^2))/8,(yp*(xp^-2))+(zp^3)/32))
      xp+=1
      zp+=zp^2
      }
   }

xp=0
yp=0
zp=1
repeat (600)
   {
   xp=0
   yp+=1
   repeat (600)
      {
      draw_point_color(xp,yp,make_color_rgb(((zp*(xp^3))^2)/yp,(5*(zp^7))/32,((xp*(zp^31))/yp)*10))
      xp+=1
      zp+=zp^2
      }
   }

Pretty fun to do.

And go check out the newest demo for my Triishu game. I've added some new enemies, particles (yay!), a menu, and basic revamp of graphical style. (sorta)

This game has been taking me ages to finish. I just need to stay focused and quit doing 50 projects at once. :3

TW has given me a little platform game he was working on so I hope to finish that. I might make it into a surreal type game with only two buttons. Think of Jaberwocky's exploration type game but with less exploring and more action. I was thinking of using one button for movement and another for attacks or items.

For example:

A-A-A really quickly pressed would be a…uh…fireball.

But A-A would be a punch.

Movement would be similar:

S to jump

S-S to go right

S-S-S to go left

S-S-S-S to duck

So timing would be critical to fighting and movement.

(Keep in mind these are hypothetical controls.)

Meh, we'll see how it goes.

L83R

-D1R0W03774

Comments

s 16 years, 1 month ago

First fractal looks like regular bore, second fractal is yay XOR blockyness but skewed and yay and third is really boring (You might want to zoom into that top red part that gets flattened out)

Don't forget that you can deal with press, hold and release in different ways

Juju 16 years, 1 month ago

Not fractals since they're not self-similar.

uglyman 16 years ago

:P To be honest, I dunno what a fractal really is, or how to manipulate them. I just haven't googled it yet, so both you guys and prolly right.

s 16 years ago

Then Juju, what are they?

Initially when I began such images I called them procedural generations, but DF stated that they were more fractal like

Juju 16 years ago

They're mathematical patterns.

Cesar 16 years ago

Technically any pattern is a mathematical pattern. Explain plz

TomatoeWorm 16 years ago

A fractal is a repetition of the same shapes inside of each other, made from funky equations. If you zoom up on a fractal, it would look the same as the original. That is pretty much all I know about fractals.

Element 16 years ago

A= Left

S= Right

A+S= Punch or shoot or whatever

(A+S)*2= Jump

You are welcome. :P