onionburger's Recent Forum Activity

  • I hope your objects A, B and C are actually 3 instances (copies) of the same sprite?

    Anyway, you need to post your code or project file.

    Thank you very much for your help, everything worked out for me. I'm trying to make inventory for my game this way. I have one more question. Is there any way to sort objects A B C that are already in places 1 2 3. I would like to make it so that if one of the objects disappears from its place, the rest are sorted and take the missing place. Could you please help me, is there any way to do this?

  • I tried again, now the object is in position 3 instead of 1. I'm definitely doing something wrong

  • Add an instance variable IsOccupied to the placeholder sprite.

    When object A/B/C clicked, pick the first placeholder sprite with IsOccupied=0. Move the object to it and set its IsOccupied to 1.

    Thank you very much for your answer. Unfortunately, I still can't resolve this issue. I don't know what to do with the other places 2 and 3. One object moves to position 1. Other objects do not move to positions 2 or 3.

  • Hello, could you please help me resolve one issue?

    There are three free places with numbers 1,2,3. I would like to make it so that when I click on an object A or B or C, it moves to free place 1. But if this place is occupied, it moves to place 2, if it is occupied, then go to place 3. Could you please help me, how can this be done?

  • Hi all! I'm making a game like Hill Climb Racing. I noticed that the physics in the game work differently at different frame rates. I'm using the independent framerate setting, but that doesn't change anything.

    Subscribe to Construct videos now

    The video shows the difference between physics at 144fps and 60fps. I'm making my game at 144fps and I was surprised when I saw that the physics in the game work differently at 60fps.I would like the physics to work the same at different frame rates. How do i solve the problem with physics and framerate?

    Is it possible to set different physics values depending on the frame rate? Will this solve the problem?

    Tagged:

  • You do not have permission to view this post

  • oosyragThank you very much for your reply.

    could you please tell me if i enabled the frame rate independent mode correctly?

    System (on start of layout) - Sprite (Set Physics world stepping mode to Framerate independent. And then I copy this action for every sprite with physics behavior.

    I use physics behavior to make a vehicle.

  • dop2000Thank you very much for your answer. Is there any way to make the work of physics the same at different FPS? Or at least so that the physics is not so different. The physics in my game work fine at 144hz, but at 60hz the physics work very differently.

  • Hi all! Please help me solve the problem. I'm making a game based on the physics behavior. I noticed that the gameplay is very different when my laptop is charging. Physics starts to work differently. At this point, the screen setting changes from 60hz to 144hz. While researching the forum, I found out that I need to use the "Physics Set Stepping Mode -> Framerate Independment" setting. But that didn't solve the problem. When I disconnect the laptop from charging and the screen setting changes from 144Hz to 60Hz, the physics in the game start working differently again. Maybe I'm doing something wrong? What are the ways to solve this problem?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
onionburger's avatar

onionburger

Member since 21 Feb, 2022

None one is following onionburger yet!

Trophy Case

  • 2-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies