Sign in to follow this  
AlexPhaser

How can detect if the letters are dropped in rect?

Recommended Posts

Hi, I'm developing a basic game. The functionality of the game is, once the page is loaded one objects will appear on the canvas like (apple, cat, dog etc...) on the left side and a bunch of letters will appear on the right side. The user will have to drag and drop the letters in a rect area(bucket). Once the user dragged matched letters with the object within bucket then next object will appear in the same area.

I have created, but this is not working properly. http://dothejob.in/kids-game/phaser-demo2/

Could anyone help me on this? here is the js file. http://dothejob.in/kids-game/phaser-demo2/js/game.js

I need to check the following things....How can detect if the letters are dropped in rect? and which letter is dropped in Rect?
 

Thanks
Alex

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.