New game/experimental-thing (Update 1)

Posted by link2x101 on Aug. 2, 2011, 6:07 p.m.

DrawFormer

Uses surfaces to draw two types of land, and converts them into sprites for the floor and deadly objects.

You can then play on them using a crudely-written platforming ball.

Left-click - Draw floor/wall.

Right-click - Draw spikes/deadly-type-things.

R - Erase drawings.

T - Place player. (Left/Right - Move. Z - Jump)

Supports 'level'-sharing.

S - Save.

L - Load.


It's highly experimental, just me testing out surfaces when I got the idea and went and made it.

(PS: Resolution is lower because my computer runs it a little slow as is… I'll up it on request.)


If anyone's wondering, I'm using this code for smooth mouse-based drawing:

Create event:

lx = mouse_x;
ly = mouse_y;

Draw event:

...
draw_line(mouse_x, mouse_y, lx, ly);
lx = mouse_x;
ly = mouse_y;
...


Doing so allows it to go from my last mouse position (usually not too far away) to my current position, keeping it all nice and gap-free. The faster your computer and slower you draw, the more detailed the line can be.


Have fun O.o

Download

Comments

link2x101 13 years, 3 months ago

*Shameless bump :D*

Might take this and turn it into a complete game. O.o

Maybe… :3

link2x101 13 years, 3 months ago

Yeah, I'll definitely make it into a full game. :D

aeron 13 years, 3 months ago

This is pretty cool. I don't know how you implemented this but maybe you could add a "fill" tool and even make it destructible!

Just thinking out loud here, do what you want :P

link2x101 13 years, 3 months ago

Destructible: Way too easy, actually. The code is written so that it deletes the background and therefore, just by drawing with white, that is easy.

Fill: EEeeeeh, wouldn't work too well with how I have it set up…