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

#1 2008-06-26 22:41:43

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

How do you make mario-style jumpable enemies?

Sorry if it sounds confusing but i need to know how to make it so that if you jump on an enemies head they pop(Hope that doesn't sound to violent  big_smile  ) and give you a point.

Last edited by AlanProjects (2008-06-27 00:26:15)

Offline

 

#2 2008-06-27 09:45:05

mrguy740
Scratcher
Registered: 2008-01-25
Posts: 100+

Re: How do you make mario-style jumpable enemies?

I've never made one and I'm just guessing but maybe you could put a smaller sprite/sensor that follows its x values on the enemies head?


The imagination exercises a powerful influence over every act of sense, thought, reason, over every idea. Latin Proverb

Offline

 

#3 2008-06-27 16:31:17

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Re: How do you make mario-style jumpable enemies?

I'll try that. Thanks.

Offline

 

#4 2008-06-27 21:52:06

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Re: How do you make mario-style jumpable enemies?

Wait, how would you get the sprite to follow its head?

Offline

 

#5 2008-06-27 22:05:39

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: How do you make mario-style jumpable enemies?

AlanProjects wrote:

Wait, how would you get the sprite to follow its head?

Do something like:

[blocks]<forever>[/blocks]
[blocks]<set x to( X Position of Enemy[/blocks]
[blocks]<end>[/blocks]

So it always is the same as the enemies X


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#6 2008-06-27 22:20:23

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Re: How do you make mario-style jumpable enemies?

....Position  smile  ↑

Offline

 

#7 2008-06-27 23:02:05

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Re: How do you make mario-style jumpable enemies?

okay thanks will try.

Offline

 

Board footer