Example - Grid Snapping

user_avatar
Made by: Faileas developer

PROJECT DESCRIPTION

Share 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.

VERSION 1.0

Last Updated: September 23, 2016

COMMENTS

YOU MUST BE SIGNED IN TO LEAVE A COMMENT

October 01, 2016

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

September 23, 2016

I made one of these ages ago (a grid snapping tutorial) one of the first projects I ever submitted. One day I might turn it into a tutorial project for other stuff too.

September 23, 2016

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

September 23, 2016

ah well 2 cant hurt 😝

September 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.

September 25, 2016

yeah probably better than mine