Discuss Scratch

kingofdallamas
Scratcher
45 posts

Moving box Engine

Hi!

So, I've made this game and a box engine where you push boxes, but I don't know if it works well if you have like double boxes on top of each other.

And, how do you make the box have gravity when it's another box's edge? My engine doesn't look great at all with gravity at all..

It'd be helpful if you could take a look at my scripts here: http://scratch.mit.edu.ezproxyberklee.flo.org/projects/10823432/
See inside, it's sprite number 15?

Thanks for the help!!
-kingofdallamas
ImagineIt
Scratcher
1000+ posts

Moving box Engine

I'll check out the scripts.

EDIT: Do you mean sprite 11?

Last edited by ImagineIt (June 22, 2013 02:48:27)

ImagineIt
Scratcher
1000+ posts

Moving box Engine

In your project, I see quite a bit of duplicate code. If you need an if, and then you want it do do something else when that is not true, you can use the if else block. Also, when you need the character to jump, you can put the if inside of the < when touching whatever colors >.

Powered by DjangoBB