User Tag List

Results 1 to 4 of 4

Thread: How to convert player position to grid tiles.

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    Retrobolt's Avatar
    Join Date
    Mar 2016
    Posts
    415
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to convert player position to grid tiles.

    I have a tile map that I want to have keep track of the players tile position using the players X,Y coordinates.

    Here's a prototype of it.

    Thanks

    https://retrobolt.github.io/Kaiju-Krashers-Proto-1.1/

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    Retrobolt's Avatar
    Join Date
    Mar 2016
    Posts
    415
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Another example-

    Tiles.jpg

  3. #3
    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
    220
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quite easy.
    Code:
    X("Player")/CellSize
    Y("Player")/CellSize

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    Retrobolt's Avatar
    Join Date
    Mar 2016
    Posts
    415
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you!!!

Similar Threads

  1. Replies: 3
    Last Post: 3rd April 2018, 12:24 PM
  2. Replies: 1
    Last Post: 6th June 2017, 03:29 AM
  3. Auto Grid tileset (draw tiles, press space to load graphic, covers corners too)
    By PixelABCD in forum Guides, Tutorials, Examples, Widgets
    Replies: 4
    Last Post: 25th October 2016, 09:49 AM
  4. Replies: 8
    Last Post: 2nd July 2015, 04:04 PM
  5. easy math to convert mouse position to frame?
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th February 2010, 05:12 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
  •