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

#1 2010-08-16 18:49:40

olivora
Scratcher
Registered: 2008-04-22
Posts: 100+

Trouble with gravity engine

http://scratch.mit.edu/projects/olivora/1130136

(I'm making a game called Super Smash Bros. NES)

I was working on up & down, left or right combos for the characters, I finished pit and started working on mario, after getting a few sprites put in I got bored and decided to start messing around with mario, when I noticed that mario's jumping was really low and he was really slow, since I had previously finished pit I had already tested him and knew he was okay but I tested him again and he was fine, so I tested the other characters and they all were behaving that way, they were working fine just yesterday but now they aren't working. The funny thing is that pit has all the combos and he is working fine.

Please help I put a lot of work into this game.


http://i839.photobucket.com/albums/zz320/olivora/button.png?t=1300169348<----Push the shiny button, you know you want to  wink

Offline

 

#2 2010-08-17 14:10:21

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Trouble with gravity engine

To me it sounds like there's simply too much going on in your project, slowing Scratch down.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2010-08-17 16:15:15

olivora
Scratcher
Registered: 2008-04-22
Posts: 100+

Re: Trouble with gravity engine

thats what I thought to, but why would it be everyone but pit is whats puzzling me


http://i839.photobucket.com/albums/zz320/olivora/button.png?t=1300169348<----Push the shiny button, you know you want to  wink

Offline

 

#4 2010-08-17 16:42:24

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Trouble with gravity engine

To be honest, I'm not noticing it all that much, so it could be your computer. Have your considered making one sprite for player 1 and one for player 2, and just changing the costumes, instead of a separate sprite for each? That might help.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#5 2010-08-17 17:13:46

olivora
Scratcher
Registered: 2008-04-22
Posts: 100+

Re: Trouble with gravity engine

I could but there would be waaaaaaaaayyyyyyyyyyyyy to many costumes. crash alone has over 60 costumes, trying to fit it all into one sprite would be even more laggy, plus each character is different, link has more powerful attacks but falls faster, luigi jumps the highest, kirby can jump multiple times, dk jumps the shortest but is the hardest to knock off ect. that would require too many scripts, plus 100-200 costumes would equal far to much lag. And my computer is really fast, if you compare pits jumping to mario's you'll notice what i'm talking about.

Last edited by olivora (2010-08-17 17:13:58)


http://i839.photobucket.com/albums/zz320/olivora/button.png?t=1300169348<----Push the shiny button, you know you want to  wink

Offline

 

#6 2010-08-17 19:30:00

MabonBaladevaKain
Scratcher
Registered: 2010-07-25
Posts: 80

Re: Trouble with gravity engine

You should go learn CONSTRUCT .
It's free, it's fast, it's easier to use than Scratch for anything complex, and it has a tremendous amount of power. Just about the only downfall is that I don't like the graphics editor in Construct.

Scratch is for those who are completely new to programming who just try to make stuff that pops up an animation and says "Hello World!", OR those of us who are just completely insane and like to beat our heads against the wall trying to do 1 sprite, 1 script stuff, and complex stuff that Scratch was never intended for just for kicks and giggles.

Seriously, if it's that large of a project, use something made to handle large projects.
Klik & Play for schools, GameMaker, and Construct can all handle large games and they are all free to use. K & P is really outdated and as limiting as Scratch is in some ways, but it's still good and it's easier to make something complex in K & P than in Scratch.

Construct is probably one of the most modern, free to use, klik-interfaces out there that's still fairly simple to use. You won't find much better than that unless you pay for it.

Don't get so much into it that you forget about Scratch though. Each klik-interface has a slightly different perspective and approach to programming and Scratch is an interesting one with alot of potential that's for sure, and it sounds like it's quite fun to mod it, so there's always that. If you refuse to try new things, you'll miss out on alot, so don't be afraid to learn more than one kind of programming tool.

Offline

 

#7 2010-08-17 20:44:49

olivora
Scratcher
Registered: 2008-04-22
Posts: 100+

Re: Trouble with gravity engine

well I'm not afraid to try new things and will DEFINITELY look into that but I'm not one of those people who likes to restart things that I've worked hard on. I thank you for your opinion but right now I just want to solve this problem.


http://i839.photobucket.com/albums/zz320/olivora/button.png?t=1300169348<----Push the shiny button, you know you want to  wink

Offline

 

Board footer