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

#1 2012-11-07 09:26:09

mylaar
New Scratcher
Registered: 2012-03-09
Posts: 1

when direction =90....

Hi there, I am making a game that has a puzzle similar to the ones in assassins creed where there is a pic separated into multiple disks...
I've got it working but I don't know how to make the game recognise when the puzzle is finished...
something like
when direction=90
broadcast endpuzzle
do I need to make a direction variable?

Offline

 

#2 2012-11-07 12:40:12

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: when direction =90....

Use the direction block.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#3 2012-11-07 18:56:06

awesomeness321
Scratcher
Registered: 2012-08-10
Posts: 100+

Re: when direction =90....

mylaar wrote:

Hi there, I am making a game that has a puzzle similar to the ones in assassins creed where there is a pic separated into multiple disks...
I've got it working but I don't know how to make the game recognise when the puzzle is finished...
something like
when direction=90
broadcast endpuzzle
do I need to make a direction variable?

No, you can just use

 (direction)
under Motion.


My newest project:http://blocks.scratchr.org/API.php?user=awesomeness321&action=projects&type=newest&return=image&num=1Color:#30F9A5 I am currently http://blocks.scratchr.org/API.php?user=awesomeness321&action=onlineStatus&type=text

Offline

 

Board footer