This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Show and tell
  •  » New Dynamic Scenery Scripts for side-scrolling platform games.

#1 2008-02-10 17:10:31

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

New Dynamic Scenery Scripts for side-scrolling platform games.

The basic set up for a platform game involving a ninja.

http://scratch.mit.edu/projects/Mayhem/97039

No collision detection as yet, or enemies or ability to stand on scenery, but what it does have is a method of generating the scenery displayed by reference to a map.

This means that with just 6 near identical sprites, I can create an extremely long scrolling background with near infinite variety.

Just needs a bit more interaction...


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#2 2008-02-11 15:32:04

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

I've rebuilt the script to allow interaction with the scenery - ie standing on tall blocks, being blocked from walkign through walls etc.

In order to do this I have temporarily disabled the character animation.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#3 2008-02-11 17:06:33

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

Reinstated the animation and added character death sequences for water and traps.

All that is missing now is some enemies to throw shuriken at!

I'd like to add a couple of extra scenery types as well, to make the "castle" at the end a bit more impressive.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#4 2008-02-11 19:21:58

MITscratcher
Scratcher
Registered: 2007-09-16
Posts: 100+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

Very impressive - It's a very creative way to locate where you are in the game with the bottom map. It's just a little bit off, but that's not to hard to fix. Your finally back with great ideas!


http://scratch.mit.edu/projects/MITscratcher/235497
                    ^ My NEW Snake Game! ^

Offline

 

#5 2008-02-11 23:59:01

B-Reyn428
Scratcher
Registered: 2007-09-08
Posts: 55

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

That is a great start for a game. It could be used for nearly infinite games if you just switched scenery. I look forward for the next update!


http://img233.imageshack.us/img233/7682/mybannerblinkyd0675d390.gif
http://scratch.mit.edu/projects/B-Reyn428/673836

Offline

 

#6 2008-02-12 06:56:54

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

Heh - this would probably have gotten more views if I had put "Ninja!" into the title.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#7 2008-02-12 09:39:47

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

Another update - added some stepping stones to allow trickier water hazards!  Also made the walls of the castle taller.  Have added a couple of bits to the code that don't show up in the game-play, just to experimetn with, including an animated crow that might become an ariel enemy in future updates.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#8 2008-02-14 05:47:00

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

New update.  I think I have worked out all the bugs.  And I have also added a script to allow you to shoot the crow, even though the poor thing is harmless  wink


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#9 2008-02-14 15:18:28

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

Added background music, just because it was easy.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#10 2008-02-15 06:31:02

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

Updated again to add animation to the Shuriken - again, because it was an easy thing to improve.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#11 2008-02-15 15:02:47

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

New update!  Now there appear to be many crows along the route, although just one sprite is used for all of them.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#12 2008-02-16 10:56:01

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

New update!  The crows now appear at different heights, and I have added a boat at the end of the level to escape on.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#13 2008-02-19 14:03:27

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

New Update!

Added archers, and redesigned the level to make sure the archers always have something to stand on  wink

Next up - making the archers and crows deadly to touch, and possible making the archers shoot at you.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#14 2008-02-19 16:18:19

N-Wear
Scratcher
Registered: 2007-08-13
Posts: 100+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

I made my re-mix before the upgrade, so my next level will have the enemys ready.

Ninja Strike ~ Digging for Gold:  http://scratch.mit.edu/projects/N-Wear/102866


If bread crumbs are better than nothing. And nothing is better than cheese cake. Then, bread crumbs are better than cheese cake!  smile
The following sentence is true. The previous sentence is false.  hmm                              Treat others the way you want to be treated!  big_smile

Offline

 

#15 2008-02-20 16:07:37

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

New update!

Archers now shoot at you if they are facing in your direction when they stop.
Next up will be to make touching the arrows, the archers or the birds fatal, and to add a restart script. 

The restart script will be a step towards adding extra levels.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#16 2008-02-20 18:59:23

N-Wear
Scratcher
Registered: 2007-08-13
Posts: 100+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

I already made a restart in my remix.


If bread crumbs are better than nothing. And nothing is better than cheese cake. Then, bread crumbs are better than cheese cake!  smile
The following sentence is true. The previous sentence is false.  hmm                              Treat others the way you want to be treated!  big_smile

Offline

 

#17 2008-02-22 01:36:55

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

New Update!

Fixed a jumping glitch, and made archers, arrows and crows fatal to touch...


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#18 2008-02-22 09:42:37

N-Wear
Scratcher
Registered: 2007-08-13
Posts: 100+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

The enemies in my next remix:
-Bats throw spiked balls at you if they face you.
Also, you have 3 lives befor the reset.

Last edited by N-Wear (2008-02-22 19:53:19)


If bread crumbs are better than nothing. And nothing is better than cheese cake. Then, bread crumbs are better than cheese cake!  smile
The following sentence is true. The previous sentence is false.  hmm                              Treat others the way you want to be treated!  big_smile

Offline

 

#19 2008-02-22 15:15:57

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

New Update!

Added lives.

As an aside, it means adding extra levels is now pretty easy...


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#20 2008-02-23 01:19:30

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

Are you really in a position to cry out about me taking your idea (if indeed I did) ?

wink


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#21 2008-02-23 16:00:20

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: New Dynamic Scenery Scripts for side-scrolling platform games.

New Update!

Added some extra scenery, and the game now has two levels.
Level 1: Untamed wilderness
Level 2: Approaching the town.

I need to change the boat into something else for certain levels, and make a 3rd level that is entirely town based, I reckon  big_smile


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 
  • Index
  •  » Show and tell
  •  » New Dynamic Scenery Scripts for side-scrolling platform games.

Board footer