Jump to content

Sophie The Slug


Ric k
 Share

Recommended Posts

Guide Sophie around the puzzles and try to reach the exit while using special tiles to your advantage. The game includes crates, breakable tiles portals and many more obstacles you need to overcome to complete the maze.

Play the game: https://www.medalgames.com/play/sophie-the-slug/

To add the game to your website, use the .zip file in the attachment or embed the game: 

<iframe src="https://www.joypadmedia.com/apps/html5/sophie-the-slug/" width="100%" height="100%" frameborder="0" allowfullscreen></iframe>

 

screenshot-1.png

web.zip

Link to comment
Share on other sites

  • 2 weeks later...

The movement happens using tweens.

I use a grid to keep track of Sophie and all obstacles, when making a move I calculate the amount of empty spaces you can move through before you hit a wall. Sophie moves at 50ms per tile, so I change the tween duration depending on the amount of steps you take. Crates also use tweens for movement, where a delay is added so it only starts moving when Sophie reaches the crate.

The system worked quite well at first, but it got a bit messy when adding those green buttons because you need to check for every step if the button is pressed.

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...