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

#1 2012-04-09 09:20:11

EscapadeCrusade
New Scratcher
Registered: 2011-09-28
Posts: 4

Help Making An Overworld Collision Map

Hi everyone, I've been toying around with the idea of making my own Megaman Battle Network game on Scratch. Here's a little snippet I did in under two hours, it shows how easy a full battle system would be to create.

http://scratch.mit.edu/projects/EscapadeCrusade/2456626

(I know there are lots of graphical bugs, but I'm scrapping it and doing it more carefully next time.)

However, I'm completely lost as to how to program an overworld with barriers. I can make the scrolling background fine, I just can't seem to work out how to do collisions? Is there an easy way to collision map an overworld? (In the megaman games, the overworld is isometric, so I figure it shouldn't be too hard)

Thanks for all your help, I'm finding scratch really fun! Hopefully the community is as generous and helpful as the software! XD

Offline

 

#2 2012-04-09 10:12:53

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Help Making An Overworld Collision Map

I'm not sure what it is you can, if it's blocks you can't step into then inside the movement script add:
[scratchblocks]
if <(blocked) = [1]>
   movement script


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#3 2012-04-09 16:34:23

EscapadeCrusade
New Scratcher
Registered: 2011-09-28
Posts: 4

Re: Help Making An Overworld Collision Map

Thanks, but I'm still confused as to how that would work. Are you suggesting breaking every individual object up on the screen? How would you move away from the object after touching it?

Offline

 

Board footer