Hi,
I have managed to work out a method in checking collisions between the hero and a platform for left and right using this within the movement keys:
When I apply a similar structure to the jump command it doesnt work. This is the link to my scenario: http://www.greenfoot.org/scenarios/10009
Any advice will be appreciated :)
else if (Greenfoot.isKeyDown("right"))
{
walkRight();
if (ground != null)
{
setLocation (getX() - speed, getY()) ;
}
}
