Stretch Beams and Active Drawings
Ok, so that was an awkward title. I am looking for a way to do two different things. Firstly, for a game I am making, I want to be able to click and drag to create a straight line, with thickness, and preferably rounded ends. If I could put a repeating texture in it, that would be ideal. Does anyone know how to do this?
Secondly, I am looking for a way for a drawing to have collisions and things, as is used in games like Line Rider and is shown in Physic Draw (which I can't get to download.) This isn't for anything, but it would be mindbogglingly useful. Has anyone got a tutorial?
Thanks,
-bris
Re: Stretch Beams and Active Drawings
I can tell you it's possible, as i have a system similar to this in the game i'm working on. Unfortunately (the way i do it) it's very complex and i don't have time to explain right now. When my game is finished, I might write a tutorial kind of thing to help other people out!
http://www.nicandreb.f2s.com/2d8game...es/intamin.png
Here you can see the object repeating to create a roller coaster track. Basically, you want to create the object every X amount of pixels so that they appear in a nice orderly line.
Re: Stretch Beams and Active Drawings
PhysicDraw uses VectorialShape object which is still in private beta version.
Re: Stretch Beams and Active Drawings
Ok. So I should wait for vectorial shape for the active draw, and work on a workaround for the beam, (repeating object, as you said) Thanks!