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

#1 2012-06-09 15:27:18

Mattkrewe
New Scratcher
Registered: 2012-06-09
Posts: 8

I need some help(Again)

In my Platformer game, Platformer Boy, in the first level, my character always starts out on the bottom of the screen, NOT on the first platform, making you have to jump up onto the first platform. If you touch the bottom of the screen in the game you lose a life and start back at the first platform, therefore the player would lose one life right at the beginning of the level. Could somebody please come up with a solution for my problem? Thank you for your time.

-Mattkrewe  smile

Offline

 

#2 2012-06-09 16:03:09

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: I need some help(Again)

when gf clicked
wait until <not<touching [ground v]?>>
forever if <touching [ground v]?>
change [lives v] by (-1)


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#3 2012-06-09 16:14:29

epicepicman
Scratcher
Registered: 2011-07-17
Posts: 500+

Re: I need some help(Again)

I saw what you had so far, it looked pretty good. I think I know the answer, but I'm not sure. Could you upload the project so I can try to help? Here's my idea:

when i recive [start]
go to x:[platform 1 x] y:[platform 1 y]
insert platforming scripts here


If you want something to do while Scratch is down, check out tbgs.tk! It's the new version of the (closed) Scratch TBGS, run by Scratchers! I'm going to spend most of my time there, anyway.

Offline

 

#4 2012-06-09 21:36:02

SOScratch
Scratcher
Registered: 2010-02-01
Posts: 100+

Re: I need some help(Again)

Simple!
Just use this script or a variation of this script: (Whatever suits you)

when gf clicked
wait until <not <touching [ground v]?> >
forever
if <touching [ground v]?>
change [lives v] by (-1)
end
end

Last edited by SOScratch (2012-06-09 21:36:32)


-SOScratch
Scratch On!

Offline

 

Board footer