McBuzzzy's Recent Forum Activity

  • Thank u both

  • source-URL removed by system

    resource was: scirra /tutorials/77/native-expressions-in-construct-2

  • U did it! Thank you.

    It works good. But i dont understand why. U (or someone else) can help me further to understand IF u want to. If not, it's ok.

    Example:

    Grid is 64,64

    mouse.X = 150

    mouse.Y = 150

    Round: 150 / 64 = 2.34; rounded = 2 * 64 = 128

    Floor: 150/ 64 = 2.34; florr = 2 *64 = 128

    resource: Where is my mistake?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi,

    First: Sry for my bad english

    Problem: I try to make a turredbased game with pathwalking monsters and player-builded turrets. I want the turrets to snap to a grid while "inHand". My grid is 64,64 and i have a tiledBackground with 64,64 squares. I want the turrets to snap to a 64,64 grid but offset 32,32 so they snap in the middel of my backgroundsquares. I have a solution that works but "feels" bad by moving the tower "inHand" arround, u will understand while runing the app.

    "Code":

    Solution: Is there a way u set a second grid with a offset 32,32 or a way to do it like i did without that feeling by moving the mouse arround when turret "inHand"?

    Thanks for help!

McBuzzzy's avatar

McBuzzzy

Member since 24 Aug, 2014

None one is following McBuzzzy yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies