Brill. Please put it on my gallery THE SCRATCH GALLERY. If you put your username in the tag zone and you can enter my compatishion. If you win you will have your work on my website! www.EGEmedia.co.uk
i lyk this better than archmages cuz this one doesnt have as many glitches..... this would be a much better project, although,if you made the character move more smoothly....
In fact, that -1 isn't how quickly he falls - it represents acceleration rather than speed - so the jumping action is affected as if by gravity, quite realistically.
I think you should make the -1 when the cat is going down into a -2, essentially making him drop just a little bit faster than he goes up...it looks more realistic to me, but let me know.
have you seen how my character jumps in this project i made ages ago. (link to project)
i like the idea of having a hidden sprite to detect if you have hit your head on something.
The way to do it would be to have slopes of different direactions represented by different sprites. Then when touching sprite "steep-slope-left" your character sprite would know to slide down it.
Not necessarily, Vanslar - it *might* be possible to do it with ghosted sprites as your platforms, ramps etc. Draw your black-line platforms, then place a ghosted sprite under each one, instead of the different colour that I have.
Unfortunately, the sprite locating isn't as exact as I would like - the sprite doing the collision detection is actually hidden, and doesn't line up exactly with the visible cat-sprite. It can probably be fixed - it was a quick-and-dirty modification done at the last minute so that the visible sprite didn't have to have specific colouration.
Excellent! This project should be featured. It demonstrates not only jumping, but mid-air platforms (which people have been having trouble with) and slope movement!
You can probably do it the same way I did. The light green is used to stop falls, but if the sprite touches the thin band of darker green, it is moved upwards 3 pixels. This allows for moving up slopes.
Comments
You need to be logged in to post comments
Add a Comment
thanks. i now have a dependable jumping method without using velocities
(view all replies)Comment Reply
Thanks!
(view all replies)Comment Reply
This is AWESOME thanks so much!!!!!!!!!!!
(view all replies)Comment Reply
this really helped me thanks
(view all replies)Comment Reply
Brill. Please put it on my gallery THE SCRATCH GALLERY. If you put your username in the tag zone and you can enter my compatishion. If you win you will have your work on my website! www.EGEmedia.co.uk
(view all replies)Comment Reply
?
(view all replies)Comment Reply
and dont make it change costumes...
(view all replies)Comment Reply
i lyk this better than archmages cuz this one doesnt have as many glitches..... this would be a much better project, although,if you made the character move more smoothly....
(view all replies)Comment Reply
Amazing. Great job!
(view all replies)Comment Reply
Of course - that is why it is here.
(view all replies)Comment Reply
great. can i use this in a game?
(view all replies)Comment Reply
In fact, that -1 isn't how quickly he falls - it represents acceleration rather than speed - so the jumping action is affected as if by gravity, quite realistically.
(view all replies)Comment Reply
I think you should make the -1 when the cat is going down into a -2, essentially making him drop just a little bit faster than he goes up...it looks more realistic to me, but let me know.
(view all replies)Comment Reply
cool.
(view all replies)Comment Reply
have you seen how my character jumps in this project i made ages ago. (link to project) i like the idea of having a hidden sprite to detect if you have hit your head on something.
(view all replies)Comment Reply
Vanslar: Check this out: (link to project)
(view all replies)Comment Reply
The way to do it would be to have slopes of different direactions represented by different sprites. Then when touching sprite "steep-slope-left" your character sprite would know to slide down it.
(view all replies)Comment Reply
is there a way to make a sprite acelerate down a slope?(if you get what i mean)
(view all replies)Comment Reply
o. hmm i think ill try that
(view all replies)Comment Reply
Not necessarily, Vanslar - it *might* be possible to do it with ghosted sprites as your platforms, ramps etc. Draw your black-line platforms, then place a ghosted sprite under each one, instead of the different colour that I have.
(view all replies)Comment Reply
ah smart*
(view all replies)Comment Reply
a smart. but to do that i would probably have to abandon my whole notebook paper idea.
(view all replies)Comment Reply
I finished the game!
(view all replies)Comment Reply
Hi! Nice project!!!
(view all replies)Comment Reply
Unfortunately, the sprite locating isn't as exact as I would like - the sprite doing the collision detection is actually hidden, and doesn't line up exactly with the visible cat-sprite. It can probably be fixed - it was a quick-and-dirty modification done at the last minute so that the visible sprite didn't have to have specific colouration.
(view all replies)Comment Reply
Excellent! This project should be featured. It demonstrates not only jumping, but mid-air platforms (which people have been having trouble with) and slope movement!
(view all replies)Comment Reply
You can probably do it the same way I did. The light green is used to stop falls, but if the sprite touches the thin band of darker green, it is moved upwards 3 pixels. This allows for moving up slopes.
(view all replies)Comment Reply
is there a way to make a rectangle(like the one i have in the adventures of blob) go up slopes?
(view all replies)Comment Reply