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

#1 2009-02-22 11:25:53

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Costumes

I thought of a new way to make animations in games with lots of complicated attacks, wait one sec as I upload it  wink  :
<when green flag clicked>
<forever>
<set{ costumeStance }to( <{ stanceP1 }>
<switch to costume[ item <{ costumeStance }> of (stanceBegin)
<repeat( item <{ costumeStance }> of (stanceLengths)
  <if> <( <{ costumeStance }> <=> <{ stanceP1 }> )>
    <next costume>
    <wait( item <{ costumeStance }> of (stanceDelay )secsc>
  <end>
<end>

Last edited by demosthenes (2009-02-22 11:32:46)


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#2 2009-02-22 11:28:14

golfer3
Scratcher
Registered: 2008-11-02
Posts: 1000+

Re: Costumes

demosthenes wrote:

I thought of a new way to make animations in games with lots of complicated attacks:

now how do u make those animations with the complicated attacks?

Offline

 

#3 2009-02-22 11:33:22

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Costumes

golfer3 wrote:

demosthenes wrote:

I thought of a new way to make animations in games with lots of complicated attacks:

now how do u make those animations with the complicated attacks?

There, sorry  wink  I couldn't get my picture to upload so I had to do it by hand.


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#4 2009-02-22 12:16:02

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Costumes

I made a project that shows how to code animations.
http://scratch.mit.edu/projects/archmage/291819


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#5 2009-02-22 12:18:44

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Costumes

archmage wrote:

I made a project that shows how to code animations.
http://scratch.mit.edu/projects/archmage/291819

Yeah, I was just thinking that this method would be a lot more efficient, especially because I'm working on a game with a character with 200+ costumes.


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

Board footer