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

#1 2012-02-14 17:57:14

ads98
Scratcher
Registered: 2011-05-03
Posts: 100+

How To Make a Sprite Move on an Unleveled Terrain

Hey Scratchers,

How do I make a Sprite Move on an unleveled terrain (such as grass, uncut of course)? Please help!


http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=square http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=text

Offline

 

#2 2012-02-14 18:45:35

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: How To Make a Sprite Move on an Unleveled Terrain

If the terrain is still flat, just with grass on top of it, I would make the ground (without grass) a sprite and use that for sensing.  The grass would just go on top and be used to appearance purposes only, not sensing.


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#3 2012-02-14 18:56:33

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: How To Make a Sprite Move on an Unleveled Terrain

Do you mean like hills? Where a character/player goes up and down a hill?

Offline

 

#4 2012-02-14 18:59:06

Ratty1967UK
Scratcher
Registered: 2007-05-16
Posts: 88

Re: How To Make a Sprite Move on an Unleveled Terrain

check out this unfinished project...

http://scratch.mit.edu/projects/Ratty1967UK/1469982

...the buggy's wheels are separate sprites that follow the terrain, the buggy chassis follows the front and back wheels

Enjoy!  smile

Offline

 

#5 2012-02-14 19:08:15

ads98
Scratcher
Registered: 2011-05-03
Posts: 100+

Re: How To Make a Sprite Move on an Unleveled Terrain

Magnie wrote:

Do you mean like hills? Where a character/player goes up and down a hill?

Okay...Yes, I could build on that.


http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=square http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=text

Offline

 

#6 2012-02-14 19:10:40

ads98
Scratcher
Registered: 2011-05-03
Posts: 100+

Re: How To Make a Sprite Move on an Unleveled Terrain

Ratty1967UK wrote:

check out this unfinished project...

http://scratch.mit.edu/projects/Ratty1967UK/1469982

...the buggy's wheels are separate sprites that follow the terrain, the buggy chassis follows the front and back wheels

Enjoy!  smile

Thanks! This is awesome! Too bad you can't finish it.  sad  Maybe someone else will  wink


http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=square http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=text

Offline

 

#7 2012-02-15 19:46:41

ads98
Scratcher
Registered: 2011-05-03
Posts: 100+

Re: How To Make a Sprite Move on an Unleveled Terrain

Hey Guys, could someone add jumping to this project (I think I'm in what they call a 'writer's block' in writing...).


http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=square http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=text

Offline

 

#8 2012-02-17 14:07:07

ads98
Scratcher
Registered: 2011-05-03
Posts: 100+

Re: How To Make a Sprite Move on an Unleveled Terrain

ads98 wrote:

Hey Guys, could someone add jumping to this project (I think I'm in what they call a 'writer's block' in writing...).

^^^^^Please? Anybody?


http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=square http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=text

Offline

 

#9 2012-02-17 14:12:59

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: How To Make a Sprite Move on an Unleveled Terrain

ads98 wrote:

ads98 wrote:

Hey Guys, could someone add jumping to this project (I think I'm in what they call a 'writer's block' in writing...).

^^^^^Please? Anybody?

http://scratch.mit.edu/forums/viewtopic … 8#p1117338

Offline

 

#10 2012-02-17 14:38:36

ads98
Scratcher
Registered: 2011-05-03
Posts: 100+

Re: How To Make a Sprite Move on an Unleveled Terrain

Magnie wrote:

ads98 wrote:

ads98 wrote:

Hey Guys, could someone add jumping to this project (I think I'm in what they call a 'writer's block' in writing...).

^^^^^Please? Anybody?

http://scratch.mit.edu/forums/viewtopic … 8#p1117338

Um...thanks. I can't believe that I didn't remember this script....


http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=square http://blocks.scratchr.org/API.php?user=ads98&action=onlineStatus&type=text

Offline

 

Board footer