glass22 Posted November 29, 2013 Share Posted November 29, 2013 Hello, For a game I'm making I need to have flexible tubes that are moveable. Think http://exhaustpartsuk.com/images/categories/Stainless_flexible_tube.jpg so it's fully flexable and players would beable to move a handle on the ends of middle, to change where the object goes. Does anyone know of any framework, library or function that would give this effect? Quote Link to comment Share on other sites More sharing options...
glass22 Posted December 1, 2013 Author Share Posted December 1, 2013 No one? Quote Link to comment Share on other sites More sharing options...
glass22 Posted December 3, 2013 Author Share Posted December 3, 2013 Has anyone seen anything like this in a game? wondering if JavaScript can do it. Quote Link to comment Share on other sites More sharing options...
Jorasso Posted December 3, 2013 Share Posted December 3, 2013 I guess in Pixi exaples you can find something that could be a good start. For example here:http://www.goodboydigital.com/pixijs/storm/or here:http://www.goodboydigital.com/pixijs/strip/ Quote Link to comment Share on other sites More sharing options...
glass22 Posted December 3, 2013 Author Share Posted December 3, 2013 Thanks that's great Quote Link to comment Share on other sites More sharing options...
feiss Posted December 18, 2013 Share Posted December 18, 2013 You can also use a physics engine, like box2d (http://www.box2dflash.org/ look the bridge example), PhysicsJS (http://wellcaffeinated.net/PhysicsJS/), VerletJS (http://subprotocol.com/verlet-js/examples/shapes.html).. .. or you can implement your own system. If you keep it simple and are pragmatic, you can end with something enough for your purpose. (https://www.khanacademy.org/science/physics/work-and-energy/hookes-law/v/intro-to-springs-and-hooke-s-law) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.