calminthenight's Forum Posts

  • Use the 8-direction behaviour and put your player object on a separate layer that you don't rotate. If you want the player to rotate with the other layer then make the player object invisible and pin a second object to it which you rotate at the same time as the other layer.

    That said, it's not uncommon to have the up arrow mean "move Forward" and the left and right keys mean "turn left" or "turn right" which would mean that you don't need to change anything. You just need a clear visual representation of the direction your character is facing

  • NW.js is just a chromium browser. You can navigate to any page you like in there.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As far as I know you can't adjust the left and right bboxes independently. To achieve what you want you would have to move the object to the right which would defeat the purpose of the left scrolling background.

  • Shift Enter will start a new line.

  • You would need to replace a few things but the UX you would just build in to the game's update process.

    The UX would be something like:

    User starts game

    gets notified of update

    clicks to download update

    update downloads

    update prompts you to install (with notification that game will close and restart)

    and on that click the installer would run, it would do whatever you hade made it do, the game would close after the call to run the installer, then installer would run the game again after it finished updating the files.

    I don't know of many programs that can update themselves without closing and restarting, it's not an issue.

    EDIT: Completely agree that Steam's Dev UX is trash for small developers

  • Nice. You could easily store the object type too to make mixed unit formations.

  • Hadn't done this before and actually got me thinking that using arrays to store formations would be easy.

    Example: 1drv.ms/u/s!AkmrWgxeuxlKhIhNE0X1on_dlcMnEw

  • I just updated my previous comment. Have a look at the example

  • It sounds like you just want the background to stay still and on screen?

    Or if you want it to continuously move to the left on a loop you can move it back to the viewport left position when the correct distance has passed.

    1drv.ms/u/s!AkmrWgxeuxlKhIhMXhWLCwKr_ZftAQ

  • FYI if you want the math version it is:

    Repeat 10 times - create object at

    origin.X+cos(loopindex*36)+radius

    origin.Y+sin(loopindex*36)+radius

    1drv.ms/u/s!AkmrWgxeuxlKhIhLoX-Ax4iGWjIXhQ

  • As mikehive says you can use separate hitbox and animation objects. You can handle the jump with a tween of the Y position and disable solid collisions with the hitbox object. Have a look at this basic example to get a feel for what you need to implement.

    1drv.ms/u/s!AkmrWgxeuxlKhIhKTESmz9TOFQJM9A

  • You are better off designing it so that the different player objects are never spawned in the same location. This will avoid having to then move them afterwards.

    Have a look at this example:

    1drv.ms/u/s!AkmrWgxeuxlKhIhJtJkjanOQUXHDVA

  • You would have to set it up so that you deliver the updated game files via a server and would also need to bundle in an installer that you have made to delete the old files and replace them with the new ones.

    You could then call the installer program from within the nw.js game via the run file action.

    Don't see why it wouldn't be possible. Getting the download file path etc. could be a bit tricky but not sure

  • Nevermind, my morning brain didn't think of comparing the Axis and Raw Axis Values.

    Switch SNES controller is fully supported.

  • I've been testing different controllers for support and rebinding purposes and on the switch SNES controller the D-Pad appears in the gamepad object as as a single axis (9) that returns a different value for each 8 directions, except for Down and Down/Right which both return 0.

    Has anyone experimented with supporting this controller before? I understand that construct is trying to reconcile it to a Xbox360 gamepad, and that it's use can be achieved using Xpadder or similar, but it would be nice to get it working out of the box.

    Only testing Windows atm.

    Tagged: