Hello to everybody i'm quite new into this world and I start trying develop like 4 or 5 days ago.
I'm trying to recreate some games I see around just to understand how they works.
I'm having hard times with this:
Blocks falling from the top and the hero has to catch them into his tray. Every object he has in the tray should upload global variable layers_on_the_tray (because when he reaches 4 the game has to stop).
I'm having hard times with 3 issues:
1-
:
not all the time but when I grab something in my tray I can normally go into the left but I find very hard to go in the right (sometimes left as well but most of the times the problem is moving to the right)
2- I would like to avoid what happens into
-> When I fastly move, the stuff I get in the tray falls. Is there any way?
3- I need to perform some action (as told add value 1 to layers_on_the_tray variable) when I have something correctly in my tray. I’ve try almost all of the platform option but I can’t get in through it.
Here is my code: https://drive.google.com/file/d/1RJuafc4DVNEI_lAdhJCdxq4JCvpOkWHW/view
Does anybody have some suggestion? Thanks!!