Pages: 1
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
This newb right here needs help making his mario game so it doesn't lagg.
http://scratch.mit.edu/projects/archmage/45066
Good luck
Offline
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.
Offline
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.
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.
Offline
Haha ha... I was just messing around with you 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 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
Offline
ummm evry 1nce in a while i get this " java" thing on my projects, its really weird, is something going on with scratch ?
Offline
The online scratch player is programmed in java. There is nothing wrong.
Offline
I need help on how to insert gravity into my game, also how do you make ground so you jump.
Offline
I made a post on gravity and jumping @ http://scratch.mit.edu/forums/viewtopic.php?id=1887
Offline
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.
Offline
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.
Offline
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
Pages: 1