Logo

Example - Grid Snapping

Created September 2016
31 plays

About This Project

This is a set of behaviors I came up with while looking for a way to add grid snapping to Robo Blue. The blue square is the icon to be dragged around the screen. The yellow square highlights the location the icon will snap to when dropped. The size of the "grid" can easily be modified by changing the value of a variable in the behaviors. Instructions are included in the project.

Screenshots

Awards

First Play

Your first believer! Someone took a chance on you and played your project. Return the favour to another dev!

Level-Up

You are always working to improve your games. That's how you improve, good job!

Comments

Idow37310/2/2016

Welp! Time to work on an inventory system for Achiel!

Aidan_Fire9/25/2016

yeah probably better than mine

Jack86809/25/2016

At least you did it completely differently. Aidan used modulus (probably because there was no round number behaviours) and Faileas used round. I have no idea which is more efficient but round number works with negative numbers, while modulus doesn't quite (you have to use an if to check negative and change input fields, adding like 5 behaviours). Faileas' is an alternative to modulus that's probably easier to understand.

Aidan_Fire9/24/2016

ah well 2 cant hurt 😝

Faileas9/23/2016

So you did, and it's a rather nice one at that. I wish I'd seen it before posting this one!