darkmario's Forum Posts

  • 4 posts
  • Nevermind. I searched online for a while and found a solution using trigonometry.

    x-x1 = d*cos(a)

    y-y1 = d*sin(a)

    d=distance and a=angle

    I applied these equations to my project and the door split the wall every time no matter the angle. For the coordinates, I ended up using the polypointXAt and polypointYAt methods from the collision box.

  • I am building a game that has automatic dungeon building and it is programmed to place walls and then doors on top of walls. My current programming objective is to have the game automatically split one wall into 2 walls when a door is placed in the middle of a wall. Any suggestions? I have tried to code a solution, but the solution only works when the angle of the door and the wall is 0 degrees. If anyone could help to make this able to work at any angle, that would be appreciated. Screenshot of the current code below:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Vibration doesn't seem to be working on browser, though everything else works with the gamepad. I tried to update the ps5 controller driver, but even afterwards vibration doesn't work. One thing I noticed though was when I went to the "Set up USB game controllers" window in the control panel on windows 10, it says my controller is a wireless controller, But my controller should say wired controller because it acts like a wired controller in that when I unplug it, it disconnects.

  • I am working on a game where you can drive around in a car using a gamepad. I have been using a ps5 controller plugged into my laptop to test my game. The issue is, my playstation 5 controller will not vibrate when I code it to do so. How can I fix this? Or does the vibrate feature not support ps5 controllers?

  • 4 posts