This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-22 13:43:13

geohendan
Scratcher
Registered: 2009-08-06
Posts: 1000+

Who brought Scratch the Platformer?

The simple Platform Game. The scripts. The simple movement. Who gave us that?

Sure, we have those fancy Scrollers, a few more realistic sensors, and velocity.

But I'm talking about this:

<when green flag clicked>
<forever>

<if><touching color[green]
<change y by(1)
<end>
<end>

Simple. Yet affective.

Whoever brought this made Scratch begin making awesome Platformers.

I think TannerFBI.  tongue

You?

If you choose not to discuss that, you can discuss platformers in general.  tongue

Last edited by geohendan (2011-04-22 16:54:24)


Scratching that nasty wart on my back since 2009!
http://i.imgur.com/OzpGtWV.jpg

Offline

 

#2 2011-04-22 13:48:38

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: Who brought Scratch the Platformer?

i think achmage. i don't know why. just do.


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#3 2011-04-22 13:49:27

werdna123
Scratcher
Registered: 2010-06-12
Posts: 1000+

Re: Who brought Scratch the Platformer?

I don't think anyone. I think it slowly developed bit by bit.

Offline

 

#4 2011-04-22 14:02:37

geohendan
Scratcher
Registered: 2009-08-06
Posts: 1000+

Re: Who brought Scratch the Platformer?

Well then, who started the development? It can't program itself.


Scratching that nasty wart on my back since 2009!
http://i.imgur.com/OzpGtWV.jpg

Offline

 

#5 2011-04-22 14:04:22

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Who brought Scratch the Platformer?

I think a large group of beginning Scratchers all just kind of reasoned that would work.

Basically it just was starting common knowledge, I mean logically it makes sense and doesn't need heightened reasoning.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#6 2011-04-22 14:06:17

werdna123
Scratcher
Registered: 2010-06-12
Posts: 1000+

Re: Who brought Scratch the Platformer?

geohendan wrote:

Well then, who started the development? It can't program itself.

Well, a few people probably. It might have started off with a project with just Moving left and right.

Offline

 

#7 2011-04-22 14:18:21

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: Who brought Scratch the Platformer?

I know Archmage is at least partially responsible for scrolling games, but I don't know about this. Personally, I reasoned it out on my own, so maybe everyone figured it out by themselves.

Offline

 

#8 2011-04-22 15:23:23

geohendan
Scratcher
Registered: 2009-08-06
Posts: 1000+

Re: Who brought Scratch the Platformer?

Perhaps, to all of you. I still think TannerFBI, cuz' ever since he posted Cube, people went crazy for him. It was like something new. Then people went on, improving and whatnot. Now, we get these kind of things: http://scratch.mit.edu/projects/RHY3756547/845502


Scratching that nasty wart on my back since 2009!
http://i.imgur.com/OzpGtWV.jpg

Offline

 

#9 2011-04-22 15:48:04

Sunrise-Moon
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Who brought Scratch the Platformer?

Hmm. I don't think it was Tanner-FBI. I'm pretty sure Cube World just got popular because it was a platformer (but not the only one). Since the top loved page counted all projects, no matter the age, it pretty much just stayed there.


http://i1067.photobucket.com/albums/u427/HulKDzN/RebornBlade.png

Offline

 

#10 2011-04-22 15:54:27

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

Re: Who brought Scratch the Platformer?

Tanner-FBI didn't even make cube world, he took it from Jacool.

And Rhy's platformer base has some major flaws,
http://scratch.mit.edu/projects/archmage/101212

This one is older and works better than Rhy's.


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

 

#11 2011-04-22 16:05:58

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Who brought Scratch the Platformer?

archmage wrote:

Tanner-FBI didn't even make cube world, he took it from Jacool.

And Rhy's platformer base has some major flaws,
http://scratch.mit.edu/projects/archmage/101212

This one is older and works better than Rhy's.

Well we'd expect you to say that, but RHY really does have better boundary and slope detection, so...


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#12 2011-04-22 16:15:28

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

Re: Who brought Scratch the Platformer?

I've worked out the code in Rhy's project.

Collisions work by moving the player character in the opposite direction it is moving by the same amount it moved to collide in to a wall.

For example

p=player w=wall
-P---wwww
Rhy's code will make the player move like this:
----wPwww
Then move out of the wall by an equal amount:
-P--wwww

If it was accurate, it would move the player beside the wall like so:
---Pwwww

Mine does this, Rhy just hates sensor sprites for whatever reason, this collision bug is also the reason why the player character is so floaty, it can't move too quickly in to the ground.

Rhy's code also is all bunched together for player player sprite which is a bad thing.

Last edited by archmage (2011-04-22 16:17:50)


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

 

#13 2011-04-22 16:20:27

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Who brought Scratch the Platformer?

archmage wrote:

I've worked out the code in Rhy's project.

Collisions work by moving the player character in the opposite direction it is moving by the same amount it moved to collide in to a wall.

For example

p=player w=wall
-P---wwww
Rhy's code will make the player move like this:
----wPwww
Then move out of the wall by an equal amount:
-P--wwww

If it was accurate, it would move the player beside the wall like so:
---Pwwww

Mine does this, Rhy just hates sensor sprites for whatever reason, this collision bug is also the reason why the player character is so floaty, it can't move too quickly in to the ground.

Rhy's code also is all bunched together for player player sprite which is a bad thing.

But yours does not do as you say.

If you collide to the wall as such in your example
-P---wwww
to
----wPwww

Then your sprite will not go to ---Pwwww but instead stay at ----wPwww.

I've tested this.

Thus you can say neither is perfect then.  RHY's does work a bit smoother though.

EDIT:  After looking at your code though it seems it works generally the same way as RHY's, moving away from the wall at .9 times the velocity (which I daresay is not exact).  Oddly though when I test it (I tested it eight times to be exact) the sensing sprite stays stuck in the wall.  What is with your script?

Last edited by Kileymeister (2011-04-22 16:26:14)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#14 2011-04-22 16:40:22

TuffGhost
Scratcher
Registered: 2010-09-06
Posts: 500+

Re: Who brought Scratch the Platformer?

hi archmage i've gotten the sprite stuck in the wall like 5 times on that project so i would stop trying to say that you're better

the first person that i had ever heard about platformers from  (like the when touching color [] go up one) was actually chrisg, in 2006
so that pretty much settles that


http://i56.tinypic.com/vr8xvs.jpg

Offline

 

#15 2011-04-22 16:44:50

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

Re: Who brought Scratch the Platformer?

Yeah looking over at it it does work the same way with the wall collisions, but differently with others, I code it differently sometimes I think. The sensing sprite detects which side the player is colliding on which helps to make script much shorter.

But one thing about Rhy's is that you can't alter the variables much, especially the falling speed, it has to be floaty or it will cause bugs, mine doesn't do this.

The really professional ways of doing this can't be done in Scratch with its art based detection methods.


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

 

#16 2011-04-22 16:50:37

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

Re: Who brought Scratch the Platformer?

TuffGhost wrote:

hi archmage i've gotten the sprite stuck in the wall like 5 times on that project so i would stop trying to say that you're better

the first person that i had ever heard about platformers from  (like the when touching color [] go up one) was actually chrisg, in 2006
so that pretty much settles that

Yeah, that definitely not biased since you are like his best friend or something. They both work pretty similarly so if the only bonus was that mine is shorter, simpler, and easier to modify I'd say that it makes mine better, even if his is slightly better with wall collisions.

Last edited by archmage (2011-04-22 16:51:13)


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

 

#17 2011-04-22 16:53:22

geohendan
Scratcher
Registered: 2009-08-06
Posts: 1000+

Re: Who brought Scratch the Platformer?

To prevent this interesting conversation from being closed, should I edit the topic's name and such?


Scratching that nasty wart on my back since 2009!
http://i.imgur.com/OzpGtWV.jpg

Offline

 

#18 2011-04-22 16:58:22

TuffGhost
Scratcher
Registered: 2010-09-06
Posts: 500+

Re: Who brought Scratch the Platformer?

archmage wrote:

TuffGhost wrote:

hi archmage i've gotten the sprite stuck in the wall like 5 times on that project so i would stop trying to say that you're better

the first person that i had ever heard about platformers from  (like the when touching color [] go up one) was actually chrisg, in 2006
so that pretty much settles that

Yeah, that definitely not biased since you are like his best friend or something. They both work pretty similarly so if the only bonus was that mine is shorter, simpler, and easier to modify I'd say that it makes mine better, even if his is slightly better with wall collisions.

i like how you immediately think that i'm doing this for rhy even when i didn't even say his name

rhys platformer base is actually incredibly easy to modify if you actually know how to, which i guess you don't

and the whole point of not using sensors is because they slow everything down


http://i56.tinypic.com/vr8xvs.jpg

Offline

 

#19 2011-04-22 16:59:31

geohendan
Scratcher
Registered: 2009-08-06
Posts: 1000+

Re: Who brought Scratch the Platformer?

Wait a second, this conversation is turning into an argument.


Scratching that nasty wart on my back since 2009!
http://i.imgur.com/OzpGtWV.jpg

Offline

 

#20 2011-04-22 17:07:10

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Who brought Scratch the Platformer?

geohendan wrote:

Wait a second, this conversation is turning into an argument.

But not a flame war.  Arguments are good for explaining viewpoints and sometimes reaching solid conclusions, I say let it continue.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#21 2011-04-22 17:09:20

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

Re: Who brought Scratch the Platformer?

TuffGhost wrote:

archmage wrote:

TuffGhost wrote:

hi archmage i've gotten the sprite stuck in the wall like 5 times on that project so i would stop trying to say that you're better

the first person that i had ever heard about platformers from  (like the when touching color [] go up one) was actually chrisg, in 2006
so that pretty much settles that

Yeah, that definitely not biased since you are like his best friend or something. They both work pretty similarly so if the only bonus was that mine is shorter, simpler, and easier to modify I'd say that it makes mine better, even if his is slightly better with wall collisions.

i like how you immediately think that i'm doing this for rhy even when i didn't even say his name

rhys platformer base is actually incredibly easy to modify if you actually know how to, which i guess you don't

and the whole point of not using sensors is because they slow everything down

K, I am not arguing this anymore. Rhy's script is about 3 times longer, includes the animations and everything else in the one loop (creates editor lag/bad coding practice), and takes an average of 22% CPU (mine takes 4%). These are the reasons I prefer mine, but whatever suits your owns needs is fine.

Last edited by archmage (2011-04-22 17:10:08)


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

 

#22 2011-04-22 17:38:35

TuffGhost
Scratcher
Registered: 2010-09-06
Posts: 500+

Re: Who brought Scratch the Platformer?

since when is using one script for a lot of things bad practice
the only reason its that much longer is because it does everything it needs to (yours doesnt even have animation i mean come on)

also

archmage wrote:

takes an average of 22% CPU

thats one bad computer


http://i56.tinypic.com/vr8xvs.jpg

Offline

 

#23 2011-04-22 18:15:11

jfmlove6
Scratcher
Registered: 2010-12-20
Posts: 1000+

Re: Who brought Scratch the Platformer?

Kileymeister wrote:

I think a large group of beginning Scratchers all just kind of reasoned that would work.

agreed  smile


http://bbsimg.ngfiles.com/1/23337000/ngbbs4e84d18f6a0ee.jpg

Offline

 

Board footer