This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Show and tell
  •  » Perfect platformer base - Remix to beat the "Add Yourself" Menace!

#1 2010-01-15 19:08:04

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Perfect platformer base - Remix to beat the "Add Yourself" Menace!

http://scratch.mit.edu/projects/RHY3756547/845502

REMIX WITH YOUR OWN PLATFORM GAME AND WE WILL BEAT THE ADD YOURSELF MENACE!  big_smile

You know everyone's "Perfect" Platfroming engines? They're all lies. There's always something wrong, but this engine's got everything it should. Slope detection, wall collisions, velocities and much more. All in a simple script that you can edit by little more than changing a few costumes.

This is the base game kit with a short game with mario, in which I made all the graphics except from mario, but that's not the point. You should make a game out of this, it's quick and simple. Here's how to do it:

Download the project. Read the comments and change whatever needs changing (gravity etc), change the character, level, win and die sprite's costumes and viola, you have a game!

The game is packed full of comments, and the script is tiny, so you'll surely easily understand it.

ARTISTS:

Don't want to code a lot? You don't need to. simply change the costumes around as said before and upload a shiny new game.  smile

PROGRAMMERS:

Why don't you try adding something, like making it scroll or adding moving platforms? Anything you can think of to make a new game with this kit.

Have fun!
RHY3756547.

Offline

 

#2 2010-01-15 22:53:10

Brass45
Scratcher
Registered: 2009-05-03
Posts: 500+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

RHY3756547 wrote:

http://scratch.mit.edu/projects/RHY3756547/845502
...the script is tiny, so you'll surely easily understand it.

That script is only tiny to you.I grasp the basic idea of what it's doing,and it takes advantage of the sequential order of scripts to be able to lower the sprite steadily and avoid crashing into the ground or falling too slowly.However,the movement script is slightly confusing to me.I'll probably eventually get it,but unless that comment was subtle sarcasm,then take notice that your several years older than most scratchers(according to various posts you've made)and what makes sense to you is just a bunch of variables and math functions i've yet to learn(in the case of Gale3D,not this)to me.

...anyway,nice job on the smooth sensing(especially on ramps and smooth surfaces,which are notoriously hard to do on scratch),and I expect quite a few remixes if this doesn't get buried underneath your other simulations.

Last edited by Brass45 (2010-01-15 22:53:58)


http://img412.imageshack.us/img412/4593/ubd1591.png<--Our website(click)
http://static.zooomr.com/images/8884671_b196719ffa_o.png<--If this image looks interesting,then click it to see an exclusive sneak peak of Evil Strings newest game:DarkLight

Offline

 

#3 2010-01-15 23:12:57

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Just looked at the mario script (which finally opened after waiting a while) and I thought it was interesting how you handled slopes.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#4 2010-01-15 23:16:54

carnack
Scratcher
Registered: 2009-06-30
Posts: 100+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Oooooooo boss battles of stupidity awesome! (I mean stupid THINGS, the game is awesome)


http://i853.photobucket.com/albums/ab95/7x9/Carnack.png
Carnack The Bug

Offline

 

#5 2010-01-16 04:50:17

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

The player takes a very long time to load....


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#6 2010-01-16 04:53:52

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Please post a version with no comments. I can't even click on the script without incredible lag.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#7 2010-01-16 05:03:01

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

From what I see, I get the script. But I can't scroll down without scratch freezing.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#8 2010-01-16 11:35:10

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

juststickman wrote:

From what I see, I get the script. But I can't scroll down without scratch freezing.

ROFL yeah. Took me about half an hour to delete the comments. But a dedicated scratch like me just takes my time ^^


http://i.imgur.com/WBkM2QQ.png

Offline

 

#9 2010-01-16 12:39:36

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Lucario621 wrote:

juststickman wrote:

From what I see, I get the script. But I can't scroll down without scratch freezing.

ROFL yeah. Took me about half an hour to delete the comments. But a dedicated scratch like me just takes my time ^^

Can you upload a copy? PLEASE???


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#10 2010-01-16 14:32:09

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

EVERYONE LISTEN. D:<

I just fixed the script! Now it doesn't take 100 seconds to change a number in the script, but instead around a tenth of a second (if you don't know the difference, let's just say it's a MASSIVE improvement.)

Offline

 

#11 2010-01-16 14:38:57

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

big_smile

Now it's time to draw the levels.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#12 2010-01-16 15:15:09

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

RHY3756547 wrote:

EVERYONE LISTEN. D:<

I just fixed the script! Now it doesn't take 100 seconds to change a number in the script, but instead around a tenth of a second (if you don't know the difference, let's just say it's a MASSIVE improvement.)

Aww D:


http://i.imgur.com/WBkM2QQ.png

Offline

 

#13 2010-01-16 15:46:08

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Lucario621 wrote:

RHY3756547 wrote:

EVERYONE LISTEN. D:<

I just fixed the script! Now it doesn't take 100 seconds to change a number in the script, but instead around a tenth of a second (if you don't know the difference, let's just say it's a MASSIVE improvement.)

Aww D:

Sorry you had to do it all manually lucario. :X

Offline

 

#14 2010-01-16 16:03:49

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

I'm just wondering, because my computer lags so I don't want to scroll down and up and down to figure out the answer:

How does dying work?

I mean, is it if you touch the death sprite? I have a feeling that it is.

(I'm thinking of adding enemies but I need to know this first).


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#15 2010-01-16 16:06:04

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

juststickman wrote:

I'm just wondering, because my computer lags so I don't want to scroll down and up and down to figure out the answer:

How does dying work?

I mean, is it if you touch the death sprite? I have a feeling that it is.

(I'm thinking of adding enemies but I need to know this first).

What? How is it lagging? It's the smoothest thing evar here...


Dying works by detecting ig the player is touching the "die" sprite, then plays a hard coded animation and then broadcasts "FadetoNewLevel", but sets the "Died" variable to 1 so the fade doesn't advance the level.

If you want to do enemies then I would have to suggest adding an "if touching colour" block to that part. Making "if touching"s for a lot of enemies is just silly.  tongue

Last edited by RHY3756547 (2010-01-16 16:07:36)

Offline

 

#16 2010-01-16 17:22:53

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

No, scratch lags when I try to scroll down and look at the scripts.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#17 2010-01-16 17:46:49

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Brass45 wrote:

RHY3756547 wrote:

http://scratch.mit.edu/projects/RHY3756547/845502
...the script is tiny, so you'll surely easily understand it.

That script is only tiny to you.I grasp the basic idea of what it's doing,and it takes advantage of the sequential order of scripts to be able to lower the sprite steadily and avoid crashing into the ground or falling too slowly.However,the movement script is slightly confusing to me.I'll probably eventually get it,but unless that comment was subtle sarcasm,then take notice that your several years older than most scratchers(according to various posts you've made)and what makes sense to you is just a bunch of variables and math functions i've yet to learn(in the case of Gale3D,not this)to me.

...anyway,nice job on the smooth sensing(especially on ramps and smooth surfaces,which are notoriously hard to do on scratch),and I expect quite a few remixes if this doesn't get buried underneath your other simulations.

I'm 14. There are a lot older than me.

Offline

 

#18 2010-01-17 06:01:11

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Remember everyone - when remixing you HAVE to make your character's idle animation's costume center in the EXACT MIDDLE otherwise the player will get stuck in walls. If you REALLY need to make the center unbalanced then I suggest adding a square costume called "Sensor" for collisions and changing the "Change to Costume Idle" to "Change to Costume Sensor" at the very start.

Offline

 

#19 2010-01-17 08:21:42

Brass45
Scratcher
Registered: 2009-05-03
Posts: 500+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

RHY3756547 wrote:

Brass45 wrote:

RHY3756547 wrote:

http://scratch.mit.edu/projects/RHY3756547/845502
...the script is tiny, so you'll surely easily understand it.

That script is only tiny to you.I grasp the basic idea of what it's doing,and it takes advantage of the sequential order of scripts to be able to lower the sprite steadily and avoid crashing into the ground or falling too slowly.However,the movement script is slightly confusing to me.I'll probably eventually get it,but unless that comment was subtle sarcasm,then take notice that your several years older than most scratchers(according to various posts you've made)and what makes sense to you is just a bunch of variables and math functions i've yet to learn(in the case of Gale3D,not this)to me.

...anyway,nice job on the smooth sensing(especially on ramps and smooth surfaces,which are notoriously hard to do on scratch),and I expect quite a few remixes if this doesn't get buried underneath your other simulations.

I'm 14. There are a lot older than me.

Yes,but the average age for a scratcher is 10-12.True,there are several thousand scratchers well above that age,but most people might have trouble understanding it.


http://img412.imageshack.us/img412/4593/ubd1591.png<--Our website(click)
http://static.zooomr.com/images/8884671_b196719ffa_o.png<--If this image looks interesting,then click it to see an exclusive sneak peak of Evil Strings newest game:DarkLight

Offline

 

#20 2010-01-17 09:24:45

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Brass45 wrote:

RHY3756547 wrote:

Brass45 wrote:


That script is only tiny to you.I grasp the basic idea of what it's doing,and it takes advantage of the sequential order of scripts to be able to lower the sprite steadily and avoid crashing into the ground or falling too slowly.However,the movement script is slightly confusing to me.I'll probably eventually get it,but unless that comment was subtle sarcasm,then take notice that your several years older than most scratchers(according to various posts you've made)and what makes sense to you is just a bunch of variables and math functions i've yet to learn(in the case of Gale3D,not this)to me.

...anyway,nice job on the smooth sensing(especially on ramps and smooth surfaces,which are notoriously hard to do on scratch),and I expect quite a few remixes if this doesn't get buried underneath your other simulations.

I'm 14. There are a lot older than me.

Yes,but the average age for a scratcher is 10-12.True,there are several thousand scratchers well above that age,but most people might have trouble understanding it.

I understand it perfectly. I'm 11.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#21 2010-01-17 10:14:33

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Here's what I have so far ^_^ http://scratch.mit.edu/forums/viewtopic.php?pid=301336#p301336


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 
  • Index
  •  » Show and tell
  •  » Perfect platformer base - Remix to beat the "Add Yourself" Menace!

Board footer