Flavamints Posted August 5, 2017 Share Posted August 5, 2017 Hello guys! First sorry for my bad grammar So, I just started programming for a couple of weeks, and interested on developing games with Phaser But I got stuck with this problem What I'm trying to make is a game where the player input several command then execute it to finish the level, but oddly If I use 'take_id' then 'store_id' command I got this error saying "Unable to get property 'parent' of undefined or null reference" Link to comment Share on other sites More sharing options...
Flavamints Posted August 5, 2017 Author Share Posted August 5, 2017 Nevermind, I already found the solution, just create a new temp var to store the child of getItem. But still, if there is more efficient way to do it, please let me know Link to comment Share on other sites More sharing options...
Recommended Posts