darkmario's Recent Forum Activity

  • 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:

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

darkmario's avatar

darkmario

Member since 4 Feb, 2020

Twitter
darkmario has 1 followers

Trophy Case

  • 4-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

9/44
How to earn trophies