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

#1 2011-01-27 12:39:59

the_storm_of_stone
Scratcher
Registered: 2011-01-22
Posts: 24

Neeeed helllpp..... :(

Things haven't been turning out very well for me, have they?  smile

I'm using the scrolling platformer tutorial in the Scratch Wiki, and I followed every thing exactly. My problem is with the sensor sprites. They don't stop the player from running into walls, they let it pass through them. I had a look at archmage's "making a game like Super mario World demo" and I can't find anything dissimilar from mine. The terrain scrolls OK, but I always land below the coloured line that it meant to stop me in addition to the failure of the hitTest.

Please can someone help...

Offline

 

#2 2011-01-27 13:40:51

Nano511
Scratcher
Registered: 2011-01-20
Posts: 39

Re: Neeeed helllpp..... :(

upload your project and ill give it a look

Offline

 

#3 2011-01-27 14:12:39

the_storm_of_stone
Scratcher
Registered: 2011-01-22
Posts: 24

Re: Neeeed helllpp..... :(

It's to do with the positioning of the terrain I think. I've been moving it around and sometimes one of the left/ right sensors works while the other doesn't.

Offline

 

#4 2011-01-29 05:24:58

the_storm_of_stone
Scratcher
Registered: 2011-01-22
Posts: 24

Re: Neeeed helllpp..... :(

I've changed the colour of the terrains to the same colour all over and the sensors seem to detect it now. But the whole thing keeps on shaking up and down now...  sad

Offline

 

#5 2011-01-29 13:10:24

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Neeeed helllpp..... :(

The vibrating is because the sprite is landing on the line, raising back up above it, then falling back down over and over again.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#6 2011-01-29 13:35:40

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Neeeed helllpp..... :(

the_storm_of_stone wrote:

I've changed the colour of the terrains to the same colour all over and the sensors seem to detect it now. But the whole thing keeps on shaking up and down now...  sad

If its the sprite, then you have too much y detection. I recommend (like i do!  big_smile ) using change y by 0.1 through 1.
If its the entire project, then something's gone dark! (i mean gone wrong  big_smile )


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#7 2011-01-30 06:18:32

HydraRancher
Scratcher
Registered: 2010-03-07
Posts: 9

Re: Neeeed helllpp..... :(

I haven't found an efficient way to get platformers working, other than colouring each edge of either the sprite or the terrain.

Offline

 

Board footer