User Tag List

Results 1 to 8 of 8

Thread: Sandbox Snap to Grids?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2019
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sandbox Snap to Grids?

    Hello! So currently I am trying to add a sandbox feature to a little project of mine.. I figured snap to grid and everything but now I am trying to figure out how to create a limited grid (kinda like in terraria) So I figured out how to make one grid slot (as shown in this gif) but can't seem to figure out the best way to add more grid spots that snap to the games grid like this. but at the same time don't overlap the other grid spots.


    Edit: If you are reading this I figured out that gifs upload as jpgs for some reason.. allow me a second to record a quick video heh.

    Edit2: here is the video! https://youtu.be/0YWw46RV7qk
    Images attachées Images attachées

  2. #2
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    235
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    If I got you correctly......
    (X_Coordinate/Grid_Size)*Grid_Size

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2019
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I may need to explain what i am trying to do a bit differently.. So I got the snap to grid already figured out.. im just trying to figure out how to make a grid like this (see picture) where you can only build blocks on the grid but not anywhere else... I figured out how to make it work with one grid object but am having trouble figuring out how to add more grid objects without having to create totally different objects for each grid slot.

    Example picture of what I am going for
    Growtopia_2.6.2017_22.54.18-1.jpg

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    gkinfinity's Avatar
    Join Date
    May 2011
    Location
    USA
    Posts
    284
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I was going to explain how to do it, but I decided to just make an example instead lol
    Attached files Attached files

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2019
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by gkinfinity View Post
    I was going to explain how to do it, but I decided to just make an example instead lol
    Thank you! but how would I make this grid follow the player?

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2019
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    because if I make this follow the player all of them would clump up in one spot and they would kind of go off the grid a little bit...

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    gkinfinity's Avatar
    Join Date
    May 2011
    Location
    USA
    Posts
    284
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I updated the example. This is definitely a little more advanced so hopefully you can follow what's going on. Are you familiar with fastloops?
    Attached files Attached files

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2019
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by gkinfinity View Post
    I updated the example. This is definitely a little more advanced so hopefully you can follow what's going on. Are you familiar with fastloops?
    I have used fast loops before. I didn't have much time to look at it but it seems to make sense.. Just trying to make sense of the math I will definitely get back to you later with questions when I get to look at it again.

Similar Threads

  1. Nested loops, grids and secluded cells
    By hellii in forum Fusion 2.5
    Replies: 28
    Last Post: 19th July 2016, 05:12 AM
  2. Is it possible to make a 2d sandbox game?
    By Drew in forum Fusion 2.5
    Replies: 3
    Last Post: 28th April 2015, 12:39 AM
  3. Problem in-app purchase sandbox
    By rom in forum iOS Export Module 2.5
    Replies: 2
    Last Post: 16th January 2015, 03:06 PM
  4. Help please? Grids
    By pinacoladaxb in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 30th April 2008, 03:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •