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

#1 2007-10-30 19:33:04

bobdaprogrammer
Scratcher
Registered: 2007-10-24
Posts: 20

I got this pretty well figured out if anyone needs something...

need help with any thing?  I got this pretty well figured out if any of you newbs needs something I can probably help you.

Offline

 

#2 2007-10-30 19:48:03

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

Re: I got this pretty well figured out if anyone needs something...

This newb right here needs help making his mario game so it doesn't lagg.

http://scratch.mit.edu/projects/archmage/45066

Good luck  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue


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

 

#3 2007-11-03 11:26:46

bobdaprogrammer
Scratcher
Registered: 2007-10-24
Posts: 20

Re: I got this pretty well figured out if anyone needs something...

well, is this your first scratch program or first one on this computer? there should be no reason that the program it self should lag... try testing it on a different computer, if you can.  sad

Offline

 

#4 2007-11-03 11:52:27

bobdaprogrammer
Scratcher
Registered: 2007-10-24
Posts: 20

Re: I got this pretty well figured out if anyone needs something...

bobdaprogrammer wrote:

well, is this your first scratch program or first one on this computer? there should be no reason that the program it self should lag... try testing it on a different computer, if you can.  sad

woah!!! i wrote my last one without downloading the game. after downloading it, i see that your game is TOO FREAKIN' HUGE!!!!!!!!! fer cryin' out loud, i thought you had a solvable problem. the Gameboy advance has a ginormasly egantic gigahertz speed, because it has one task and only one task:the game. but recreating it on even the fastest of computers as well as you did will still give it a lag. and...woah! did you say you're a newb? after what you programmed, you are no longer a newb, dude. so, anyway, my diagnosis:too complicated. my solution: if you want no lag THAT bat, dumb it up a little. it took me like a full minute to download. you know, little stuff like, make your character appear at the peak of his jump, wait a second, and then appear on the ground, and so forth. so anyway, it appears that there IS a solution.  big_smile

Offline

 

#5 2007-11-03 12:15:28

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

Re: I got this pretty well figured out if anyone needs something...

Haha ha...  I was just messing around with you  tongue  I knew that it was probably too complex for you but I just wanted to see if you could figure out a way to optimize it  tongue   The reason is laggs so much is probably because of the large amount of sprites that are all executing their scripts, especially the area sprites. When I get the time I'll make it so that there will be only 2 area sprites just switching costumes instead of using many many area sprites. Thanks for trying though  tongue


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

 

#6 2007-11-03 15:49:30

mygreenneptune
Scratcher
Registered: 2007-11-01
Posts: 3

Re: I got this pretty well figured out if anyone needs something...

ummm evry 1nce in a while i get this " java" thing on my projects, its really weird, is something going on with scratch ?

Offline

 

#7 2007-11-03 16:12:59

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

Re: I got this pretty well figured out if anyone needs something...

The online scratch player is programmed in java. There is nothing wrong.


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

 

#8 2007-11-07 03:36:53

basilemplis
Scratcher
Registered: 2007-11-07
Posts: 32

Re: I got this pretty well figured out if anyone needs something...

I need help on how to insert gravity into my game, also how do you make ground so you jump.


Play the ultimate showdown http://scratch.mit.edu/projects/basilemplis/53020
Intense battle

Offline

 

#9 2007-11-07 10:05:04

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

Re: I got this pretty well figured out if anyone needs something...

I made a post on gravity and jumping @ http://scratch.mit.edu/forums/viewtopic.php?id=1887


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

 

#10 2007-11-07 19:39:17

basilemplis
Scratcher
Registered: 2007-11-07
Posts: 32

Re: I got this pretty well figured out if anyone needs something...

I got the gravity part, but my sprites don't seem to move left and right very well, can I change the gravity somehow that I can move to the left and right better. Also, how do you put in ground, my sprites keep on vibrating on the ground.


Play the ultimate showdown http://scratch.mit.edu/projects/basilemplis/53020
Intense battle

Offline

 

#11 2007-11-07 20:02:37

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

Re: I got this pretty well figured out if anyone needs something...

To move the sprites left and right put

when flag pressed
forever if (key right is down)
change x by 5

when flag pressed
forever if (key left is down)
change x by -5

And for the ground just make it so the yVelocity variable is equal to 0 when touching the ground.


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

 

#12 2008-03-31 13:46:40

bobdaprogrammer
Scratcher
Registered: 2007-10-24
Posts: 20

Re: I got this pretty well figured out if anyone needs something...

archmage wrote:

The online scratch player is programmed in java. There is nothing wrong.

good advice. nice quote by the way... give a man fire and heæll be warm for a day, light a man on fire and heæll be warm for a lifetime... and come to think of it, i did find it weird that you had 500 some posts and called yourself a noob...

Offline

 

Board footer