peter568's Forum Posts

  • I'm prototyping a platformer using Tilemap for stages.

    If the player is running at max speed (about 720pps), they can walk up 45 degree slopes just fine. But if they are already standing stationary on a slope and start running up, the player inches up a few pixels then stops. Debugger shows the X vector around 240pps.

    Any way to fix this?

  • I did it easier, I put a small invisible sprite on my character's head, which was a trigger for hitting the ceiling.

    that's a very novel way to handle it, I'll test it out soon. thanks for the response :)

  • You'll need to call the moveTo function repeatedly to keep updating the position. How you do this will vary depending on the gameplay format - platformer, top-down, etc

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Could you clarify or provide an example of 'zooming' in this context?

    Generally speaking, zooming in/out is controlled with the 'set Layout Scale' action in System.

    If the idea is to move the camera towards the player's reticle, you could get the midpoint between the player and their reticle, then scroll the camera or ScrollTo object to that position.

    I can provide a better explanation with some more details

  • I have variables for each axis of the Dpad that can equal -1, 0 or 1, and I want to use those to get an angular direction.

    E.g. if X is 1 and Y is 0, get 0 as the angle, if X is -1 and Y is -1, get 135 as the angle, etc etc

    What's the math for that, besides just hard-coding each of the 8 directions into the game?

  • yes, the games you create can be operated in-browser on mobile and PC devices. Use the 'HTML5' export option, then drop the ZIP with any other files into the site you want it to occupy.

  • I want to reverse my platformer character's gravity when they make contact with a ceiling tile on the tilemap. There's conditions for checking floors and walls, but not ceilings.

    How can I check if I'm colliding with a ceiling tile?

    I'm aware I could put a second collision box on the ceiling and have that trigger it, but I'd rather have it work natively so I don't have to put extra collisions on every ceiling in the game.

  • Gamepad seems to have more input lag than Keyboard and even Mouse. Is there anything you can do to minimize it? I've been told V-Sync might be causing it, but both of the other framerate modes seem sub-optimal.

  • tried these now, they prevented devtools from opening when manually opening the exe, but running them from the Steam upload still didn't work. F12 still triggers devtools in steam. It's like a steam-related setting is overriding mine.

  • Hi, we just launched our game to Steam, and we can't figure out how to disable Devtools from appearing when the player hits F12.

    I followed the greenworks tutorial (listed below), turned off the 'enable devtools' checkmark, put --disable-devtools in the package.json args line, but nothing seems to fix it.

    construct.net/en/tutorials/using-greenworks-steam-2853/page-4

    Is there anything else we can do?

    Tagged:

  • I'm David, a Construct 3 game developer and solo designer.

    I've used C3 for over 2 years as both a hobbyist and professional. My indie bullet hell, Cycle Chaser H-5, is slated for launch in the next few months. I was also the lead producer for Purdue University's cybersecurity educational game initiative.

    I'm extremely passionate about 2D game design and have loaded experience with C3's nooks and crannies. From everything to branching dialogue systems, projectile spawn loops, menu systems, state machines and collision detection optimization, I can handle it.

    You can see the rest of my work at:

    Games: petersdavidcgt.me/video-games

    Art: petersdavidcgt.me/art-graphics

    Music: petersdavidcgt.me/music

    I'd love to be a contributing force in your next project! If interested, please contact me at:

    petersdavidcgthfz@gmail.com

    or

    linkedin.com/in/petersdavidcgt

    Tagged:

  • thanks for the response, i turned off 'kiosk mode' and now it works perfectly on nw.js with the browser item.

  • My Construct-developed shmup is heading to Steam in a few months!

    Subscribe to Construct videos now

    store.steampowered.com/app/2274550/Cycle_Chaser_H5

    Tagged:

  • I've been using the Browser object to initiate in and out of fullscreen mode, but when exported to NW.js, the game always starts in fullscreen and won't toggle back out to windowed no matter what. What can I do to fix this?

    Tagged:

  • Hi,

    In one of our games, certain music and sound effects won't play when the game is played on some of our student's computers. It only affected some music and sounds; roughly 30 percent of them. All audio files are webm format, and they all work as intended on our staff's own devices.

    The student who encountered this glitch was using Microsoft Edge. We think that might be the cause of the problem, but we didn't test on that same device with other browsers to be sure.

    What are some potential causes for this issue, and what could be done to fix it, if anything? Thank you in advance.