Hey Scratchers!
I have got a good grip on Scratch, since I downloaded it a lot earlier than I joined the website. I have already made a game (with about 130 sprites and 667 scripts) called Avoid the Red, which took me about a month to make. You can play it here.
Anyway, my next project is a 2D Side-Scrolling Platformer, with a little character who needs to get to the far right of the screen. This involves Scroll X and Scroll Y but I do not know how to use those.
Could any Scratcher answer some of these queries:
How do I use Scroll X and Scroll Y?
How do I program the character so it can 'stand' on the 'ground' sprite and not fall to the bottom of the screen?
Can I have a script that spawns enemies?
Answers to the above and/or other tips would be greatly appreciated - and you will be credited when the game eventually comes out.
Thank you,
SK
Offline
You could follow this for scrolling backgrounds http://scratch.mit.edu/forums/viewtopic.php?id=2440
A sample template:
http://scratch.mit.edu/projects/archmage/635312
You could find more stuff on the forums. I'm making a 2D game myself, still unfinished and buggy though and I also need help http://scratch.mit.edu/projects/Joshlolx/2558541
Offline
I'm certain there is a wiki somewhere about scrolling...Ah yes, here it is. If you are using a sprite for the ground, which you will need at least two for a scroller, in the player sprite, have a script that says,
when gf clicked forever if <touching [ground v]?> change y by [1] if <key [up arrow v] pressed?> jump//not a real block, but your jumping stuff goes here. end end
Last edited by sonicfan12p (2012-06-04 11:29:40)
Offline
Shinkaze wrote:
Hey Scratchers!
I have got a good grip on Scratch, since I downloaded it a lot earlier than I joined the website. I have already made a game (with about 130 sprites and 667 scripts) called Avoid the Red, which took me about a month to make. You can play it here.
Anyway, my next project is a 2D Side-Scrolling Platformer, with a little character who needs to get to the far right of the screen. This involves Scroll X and Scroll Y but I do not know how to use those.
Could any Scratcher answer some of these queries:
How do I use Scroll X and Scroll Y?
How do I program the character so it can 'stand' on the 'ground' sprite and not fall to the bottom of the screen?
Can I have a script that spawns enemies?
Answers to the above and/or other tips would be greatly appreciated - and you will be credited when the game eventually comes out.
Thank you,
SK
I made a ok visual tutorial…
Offline
Thank you all!
But I still have one question - on my terrain, I have a flat house with a box next to it, intended for the player to jump on to continue in the level. How do I program it so my player can do that?
SK
Offline