I've actually made a sensor method that uses ONE script, ONE sprite, ZERO color-coding, and NEVER lets you pass through platforms (and it allows scrolling and defeats archmage's best outright)
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)">(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
Here are some improved engines: (link to project)">(link to project) (link to project)">(link to project) (link to project)">(link to project)
*shrug* when your character is stopped from walking or falling because his *whiskers* are touching something, that doesn't strike me as "superior"
(view all replies)A curious definition of improved you have there, since poor collision detection isn't generally considered a sign of improvement...
(view all replies)I've actually made a sensor method that uses ONE script, ONE sprite, ZERO color-coding, and NEVER lets you pass through platforms (and it allows scrolling and defeats archmage's best outright)
Ever get around to putting this online?
(view all replies)I look forward to seeing the demo.
(view all replies)awesome job!
hey, would it be okay with you if i used your sensor sprite for a project?
thanks. i now have a dependable jumping method without using velocities
Thanks!
This is AWESOME thanks so much!!!!!!!!!!!
this really helped me thanks
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
?
and dont make it change costumes...
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....
Amazing. Great job!
Of course - that is why it is here.
great. can i use this in a game?
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.
cool.
have you seen how my character jumps in this project i made ages ago. (link to project)">(link to project) i like the idea of having a hidden sprite to detect if you have hit your head on something.
Vanslar: Check this out: (link to project)">(link to project)
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.
is there a way to make a sprite acelerate down a slope?(if you get what i mean)
o. hmm i think ill try that
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.
ah smart*
a smart. but to do that i would probably have to abandon my whole notebook paper idea.
I finished the game!
Hi! Nice project!!!
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.
is there a way to make a rectangle(like the one i have in the adventures of blob) go up slopes?