In Game Drawing Feature

Does anyone know how i could allow the player of my 2d platform game to draw a line that they can then walk on? Like line rider but without the sled. I have a really great idea, but I need help. If anyone is more interested contact me at:
Joslen.t@gmail.com

Thanks!

No

You will need to create boxes and line them up for that. If you want to create a game like linerider, look into adobe flash.

Um, yes :wink:

A Line Rider type game could be made in Unity but you’d have to generate the colliders with either boxes or a procedural mesh. Here’s one example of a Unity made game that uses line drawing and physics.

I’ve never played linerider, but if you want to be able to draw geometry in your game then consider the mesh class.

It’s used extensively by the procedural mesh generation example project.

thanks so much. I think this will work! :smile:

And Max and the Magic Marker was made with unity?

Yes. Also, making colliders is one way of doing it, but not the only way, although probably the simplest if you also want to use physics.

–Eric

:stuck_out_tongue:

It would be simpler to do it in flash. I mean, flash can even export as .exe.

It would be better in Unity, more efficient and, you can even export .exe, .unity3d, .app, .ipa for those with the ipone license, soon the android os too :smile:.

Besides, it might not be as hard as it sounds.

and theres this!

http://forum.unity3d.com/viewtopic.php?t=53268

I think that’s just for rendering lines.

ok so, Ive used the procedural mesh examples. So far What I can do is click on my object and drag it around to make the lines, but what if I wanted that object to constantly stay on the mouse? So all you would have to do is click and drag the MOUSE to draw something. Like The magic marker game.