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

#1 2009-06-10 09:03:32

frank1281
Scratcher
Registered: 2008-10-12
Posts: 100+

Having Troulble with Something Please Help!!!

Look, I am making Age of War, A game with mouse Scrolling Where the troops move to the right, or to the left. Everything went right, but the troops move, but 0.016 seconds later, they go back to their original position! Like if they were shaking or somethen. Here are the scripts:

<when green flag clicked>
<set y to( 90)
<hide>     <---- from unit


<when green flag clicked>
<forever>
<set{ Stage X }to( (( <mouse x> </> -4 ))    <---- from stage (real)


<when green flag clicked>
<forever>
<set y to( 90)
<set x to( <{ Stage X }>   <------- from background (The sprite)

All What's Coming Next is from the unit (Caveman Warrior)

<when green flag clicked>
<forever>
<set{ stick caveman }to( (( (( <X Position> <+> <{ Stage X }> )) </> 2 ))


<when green flag clicked>
<forever>
<set x to( <{ Stick Caveman 1 }>


<when I receive[ Real Play Now
<set x to( -100
<show>
<switch to costume[ Walk 1
<repeat until> << <touching[ Enemy unit <or> <touching[ Enemy castle >>
<switch to costume[ walk 2
<wait( 0.016 )secs>
<move( 4 )steps>
<switch to costume[ walk 3
<wait( 0.016 )secs>
<move( 4 )steps>
<switch to costume[ walk 4
<wait( 0.016 )secs>
<move( 4 )steps>
<switch to costume[ walk 1
<wait( 0.016 )secs>
<move( 4 )steps>



That is what I used, but the guy doesn't move!

Oh I also did the hide and shows with the x position but that works good so it doesn't matter


http://i55.tinypic.com/309h9hi.jpg Your Job is to Take Everyone Down, Or Die Trying.
Hunt or Be Hunted

Offline

 

#2 2009-06-10 09:48:17

frank1281
Scratcher
Registered: 2008-10-12
Posts: 100+

Re: Having Troulble with Something Please Help!!!

Ok I fixed that, but Im having other problems XD


http://i55.tinypic.com/309h9hi.jpg Your Job is to Take Everyone Down, Or Die Trying.
Hunt or Be Hunted

Offline

 

#3 2009-06-10 11:40:51

frank1281
Scratcher
Registered: 2008-10-12
Posts: 100+

Re: Having Troulble with Something Please Help!!!

Yea I finihsed everythin


http://i55.tinypic.com/309h9hi.jpg Your Job is to Take Everyone Down, Or Die Trying.
Hunt or Be Hunted

Offline

 

#4 2009-06-10 20:51:51

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Having Troulble with Something Please Help!!!

frank1281 wrote:

Yea I finihsed everythin

Good for you for figuring it out!  In the future if you have a problem, sometimes it's simpler to just post the project to the website, then post a message here in the Troubleshooting forum with a link to your project and a description of your problem.  That way people can just download the project and look at the scripts...it's easier than making all those blocks  smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#5 2009-06-10 20:54:50

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Having Troulble with Something Please Help!!!

Those blocks must of taken awhile!

Offline

 

#6 2009-06-10 21:28:19

Princess2281
Scratcher
Registered: 2009-06-10
Posts: 1

Re: Having Troulble with Something Please Help!!!

I want to make a game but make it simple i am new to this

Offline

 

#7 2009-06-11 05:42:32

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Having Troulble with Something Please Help!!!

Princess2281 wrote:

I want to make a game but make it simple i am new to this

Hi Princess2281 - To make a game you need first to download the Scratch program

http://scratch.mit.edu/download

and then learn how to build games with it by snapping the blocks together.  Once you have downloaded Scratch, you can also download projects from the web and see how they were put together...that's a really good way to learn  smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer