I don't know what you are doing. Your code is a bit confusing. Why are you adding 65 and subtracting 20 for x and for y on collition? you are not stoping the jump on collition. You yust have it move around the obstacle. is that what you really want to do?
can you explain in detail what it should do?
if you need help trying to understand stuff you should look around the forum there are quite a few sample programs you can look at. I'll post a couple of links maybe they can help you.
http://www.blitzmax.com/Community/posts.php?topic=71890#804268
http://www.blitzmax.com/Community/posts.php?topic=75339#843433
can you explain in detail what it should do?
if you need help trying to understand stuff you should look around the forum there are quite a few sample programs you can look at. I'll post a couple of links maybe they can help you.
http://www.blitzmax.com/Community/posts.php?topic=71890#804268
http://www.blitzmax.com/Community/posts.php?topic=75339#843433