Playmaker Forum

PlayMaker News => General Discussion => Topic started by: nhe1 on January 28, 2015, 11:37:58 PM

Title: 2d point and click advice
Post by: nhe1 on January 28, 2015, 11:37:58 PM
for example ill be making a 2d game something like Monkey Island but without the walking sprite, more of a first person. How do i go about clicking interactible objects.
e.g I have a door sprite with two states (closed,open) what is the best way to do this? I  was thinking of either putting a script on the sprite itself that swaps itself once you click on it or maybe place it all in a input manager. So what are pros and cons?  I was thinking that by using input manager it would be more tedious since you have to determine which object i have clicked on etc. Or am i wrong? If someone could enlighten me that would be helpful
Title: Re: 2d point and click advice
Post by: Lane on January 29, 2015, 07:05:26 AM
http://www.youtube.com/playlist?list=PLC759306A1E692A10

That series covers all of the basics, the Chest Opening video covers how to open/close something in practice and the last video talks about interactions - and while it can be much simpler in practice you can probably get some ideas from it.