klabundee's Recent Forum Activity

  • On clicked, store Mouse.X and Mouse.Y

    Use math to split the position with grid size so you will be able to know the grid position to place the object.

    Example: Mouse.X=1222 and Mouse.Y=342

    The grid size is 128x128 so

    1222/128 = 9.54

    342/128 = 2.67

    So you need to create the object on grid 9x2..

    Converting into pixels.. 1152x256

  • Is it a possibility to just redirect it to your itch io page?

    I think that you are not allowed to close a PC browser process..

  • Paused you mean, suspended? If yes, you have to compare time on suspended and set action on resumed.

  • Let me understand better.. every time you press a button a different image is created?

    You can use: On Created (Sprite) -> Set text to Sprite (Instance Variable)

  • You can store it on Instance Variables on each sprite.

  • left("2.6449999999999996", 4)

  • Instead of using an image as particle, create a new sprite and use it as particle (object), it will create instaces of the object, if you debug it, you will see the amount of objects and their properties(same as the main object).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you share your project? I will try to help you

  • If you just want to place an object 64 pixels from his current position you can always set his position using Self.X+64 or Self.Y+64

  • Hi Guys!

    Hope you're well?

    I'm hoping someone can help me.

    So short story, I have a grid and within that grid I have an object.

    I also have cards that I want to control that object inside the grid (you drag a card into the drop zone and whatever is on the card determines what the object in the grid does)

    My question is, how do i have the Object move a certain amount of pixels within the grid once the player drops the card that has a move instruction on it?

    I know I can move it to a specific location, but what I want to do is move it 64 pixels on the X or Y axis from where the object is currently in the grid.

    I hope this makes sense.

    Thanks in advanced for your help

    Hello,

    You mean that you want to see the movement? Like, every second move 10 pixels till reach the X,Y?

    Try using tween behaviour.

  • Can you share your project? Let me see if i can fix it

  • Add one Goon to the layout, and on start of layout delete it.

    You can also have a dummy layout just to have instaces to avoid problems like that.

klabundee's avatar

klabundee

Early Adopter

Member since 26 Nov, 2015

Twitter
klabundee has 6 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies