Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 YOSHI
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
upthescale




PostPosted: Sun Jun 25, 2006 7:31 pm   Post subject: YOSHI

Ok, I am startnig a new yoshi game. I have imported pics, because I drew Yoshi in Flash Mx 2004. I have a yoshi facing left, right and infront.

As you can see in the code, when I turn left, i put a cls so u wont see the right or the front yoshi any moer. But there is a problrm. Go ahead, hit up to jump, move around, but you see that rectangle? when ever i move it will dissapear, because i have a couple of cls'. So how can i get rid of them, without having two yohsi's at once? meaning if u take otu the cls, and move the yoshi's, you will see 2...thank u so much if anyone can help



yoshi.bmp
 Description:
 Filesize:  14.1 KB
 Viewed:  762 Time(s)

yoshi.bmp



yoshifront.bmp
 Description:
 Filesize:  6.57 KB
 Viewed:  761 Time(s)

yoshifront.bmp



yoshiright.bmp
 Description:
 Filesize:  14.61 KB
 Viewed:  763 Time(s)

yoshiright.bmp



Yoshi.t
 Description:

Download
 Filename:  Yoshi.t
 Filesize:  1.13 KB
 Downloaded:  42 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
upthescale




PostPosted: Sun Jun 25, 2006 8:08 pm   Post subject: (No subject)

sorry, but n/m, i figured it out, i just took the yoshi procedure and put it before the

code:

if done=1 then
Level1
endi f



thanks fer who copied the pictures.....put them in the folder....tested it out i appreciateit, but only 1 person has looked at this so i hank u if u actually did do it lol
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: