Push a rockTo make this problem you have to firstly make a character so go “Add Sprite” then “load sprite” then choose a sprite in this case I chose the ‘pacman_stand.’ Then you have to “Add Sprite” for the stone which can be found in the “Various” folder. Then press ok.
The next step is to make objects for all the sprites. For the “object character” put in the “character” in the sprite and check the solid box. Go “Add Event” and choose keyboard left make x: -5 and for y keep it zero then check relative. Then go “Add Event” then choose keyboard up and for y: -5 and for x keep it zero and check relative, then press ok. Go “Add Event” and choose keyboard then choose right then in x: 5 and in y keep it zero, check relative and press ok. Finally go to “Add Event” and go to keyboard then choose down and make y: 5 and keep x zero, check relative and press ok.
Next you have to make an object for the “Stone.” Put in “stone” in the sprite and tick solid. Go to “Add Event” and choose the “Collision” event then put in the “Object Character.” For its actions put in “If a position is collision free.” This can be found in the control tab. Make x: 32 and keep y: 0 next put in Objects: only solid check relative and press ok. The next action you have to put in is the “jump to given position” which can be found in the move tab. When the box appears change x to 32 and keep y: 0 then check relative and press ok.
Now we have to “Add Room.” Make the grid 32 by 32 and put in the character and two stones. Then press the green arrow and try it out!