Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


chain of objects within pop framework

This topic is 5304 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, need some help with an assignment I''m working on, here is my brief.... Create a program within the POP framework that starts up with 8 objects placed randomly in the game window. The objects should behave in the following way: They should be selectable with the mouse and have the capacity to be dragged by the mouse When one object comes within a certain distance of another object they should be attracted together and a visible link should automatically form between the objects. Thus the objects should have the ability to form into a chain. They should be removable from the chain by selecting with the mouse and dragging from the chain. When this happens the objects on each side of the removed link should form a link between themselves so that the chain re-forms minus the link that has been removed. Objects that are placed close to the chain are automatically linked into the chain. Thus, objects can be manually removed from the chain and re-inserted into the chain at any position. The objects should be identified in some way that indicates order (for example, they could be numbered 1 to 8). They should be automatically sorted into order by selecting a suitable menu item basically I have no idea where or how to start, i can imagine what the code will need to do I just don''t know where to start. any help would be greatly appreciated.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!