Question by
Bobsayswhat · Jan 02, 2016 at 02:12 PM ·
scripting problemscriptingbasicsbasic programming
How can I implement an object placement system ?
Hi, I wanted to add player houses in my game, and so I was thinking I would allow the player to place an object (couch, chair, tv...) at the area where he is pointing at. I also wanted to add a little ghosting effect so that the player could see where he's putting the object. My problem is that there are very few tutorials that offer help on this sort of thing, and in 2D (which my game is made in) there are none. So my question is, what kind of system should I set up to place objects properly. Also, is there a name for this ? Any help would be greatly appreciated. Thanks !
Comment