Hi danpost, on my computer it does jump when you press they key down. Do you have a mac? They can do weird things with the key commands. That's why I put in the mouse command instead. Are other people having this problem?
I'm using the standard "if(Greenfoot.isKeyDown())" way to get the keyboard input. Do you have a recommendation about a way that might work better? As I said, I'm not noticing this problem when I'm playing it, but I'm not saying it's not happening.
x-direction movement should only happen when the player press the key, not always, and the jump speed is too fast.
Try to make things smooth.
Any way, very good documentation for new leaners!
:-D
As far as the keys, I explained incorrectly. The problem with the feel is that you cannot jump when the 'left' or 'right' key is down. Removing the 'else' before checking if 'isKeyDown("up") should help the feel.
Got it. That goes with Upupzealot's suggestion. I'll put that in the next update.
A new version of this scenario was uploaded on Wed Feb 05 04:02:09 UTC 2014
Took the suggestions of Upupzealot and Danpost. Slower falling and jumping for smoother graphics, changed the keyboard commands so you only move when key is down, and fixed how platforms come on the screen.
Video lesson on this begins at http://youtu.be/u0jkOdjFA28
Aha, much better. You can build up another scenrio for each step you updated. So those people(mostly new leaners maybe) who fellows your video could figure out how things became better and better.
IM a little noob how do you add scenarios to the site ?
A new version of this scenario was uploaded on Thu Feb 06 15:48:25 UTC 2014
Sorry, forgot the source code! Here it is.
Took the suggestions of Upupzealot and Danpost. Slower falling and jumping for smoother graphics, changed the keyboard commands so you only move when key is down, and fixed how platforms come on the screen.
Video lesson on this begins at http://youtu.be/u0jkOdjFA28
ShamaSenpai, you just have to click the 'Share' button on Greenfoot, then choose 'Publish.' Put in your greenfoot account and password and comments, and check the box if you want to share the source code.
A new version of this scenario was uploaded on Fri Feb 07 14:27:24 UTC 2014
Sorry, forgot the source code! Here it is.
Took the suggestions of Upupzealot and Danpost. Slower falling and jumping for smoother graphics, changed the keyboard commands so you only move when key is down, and fixed how platforms come on the screen.
Video lesson on this begins at http://youtu.be/u0jkOdjFA28
A new version of this scenario was uploaded on Fri Feb 07 14:28:31 UTC 2014
Very minor update to fix a problem where you go off left screen and updated documentation.
2014/2/3
2014/2/3
2014/2/3
2014/2/3
2014/2/3
2014/2/3
2014/2/4
2014/2/4
2014/2/4
2014/2/4
2014/2/4
2014/2/5
2014/2/5
2014/2/5
2014/2/6
2014/2/6
2014/2/6