oosyrag's Forum Posts

  • Use the ajax.tag expression with the on any completed trigger to identify the tag/id of the request it was sent in response from.

  • Use messages to sync peers if realtime sync is not necessary, if your goal is to save bandwidth.

    Note that even in Normal bandwidth mode, objects which are not changing gradually reduce their bandwidth to twice a second anyway, so static objects will still end up using Very low bandwidth mode. Therefore it is not normally necessary to change this, and it is suitable to use Normal bandwidth even for objects which rarely change.

  • I'd heavily advise against using physics for this application.

    Try a bullet behavior with the bounce off solids property. If the bounce of solids is unacceptable for whatever reason, use the line of sight ray casting feature to get the angle of reflection to do what you want with it instead.

  • You do not have permission to view this post

  • Your ideal solution would be an html launcher website or app.

    You can do the similar in a c3 project by opening a link with the go to url action in the browser object, or by using the iframe object but that might be kinda silly since that's what webpages are made to do.

  • For each box (or object)

    Set object.angle to box.angle

    Or you can do it on created instead of for each.

  • Set bullet angle of motion to angle(bullet.x,bullet.y,player.x,player.y).

    The bullet will move towards the player, and if you have the set angle property disabled, they will not orient towards the angle of motion.

  • Then

    System: For Each SymbolsP1

    If BoxP.id = 1 > Set SymbolsP1 animation frame

    If BoxP.id = 2 > Set SymbolsP1 animation frame

    If BoxP.id = 3 > Set SymbolsP1 animation frame

    ect

    If they are in a container, the associated boxp will be picked automatically, after picking each symbolsp1 individually in for each.

  • If they're in a container, just use for each symbolsp1, set animation frame to box.id, where boxpid should be the animation frame you want.

  • Use the bullet behavior and turn off the set angle property.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I always advise against using gestures - they are inconsistent and can be laggy.

    Try using 'on touched object' instead and see if you still have issues.

  • Hash

    The string after the hash at the end of the URL, including the hash. For example, if the current URL is example.com/index.html#hashpart, this returns #hashpart.

    System On start of layout,

    System Compare two values browser.hash = "#settings"

    ->Go to layout settings

  • What? No, load the entire animation into memory before playing it.

    Also I forgot load from url is an asynchronous action, so it won't work in a loop. Use an incrementing variable instead, and the on load successful trigger condition to add 1 to the variable and load the next frame.

  • Repeat sprite.animationframecount times

    -> Sprite - Load image from URL "imagename"&loopindex&".filetype"

    Where the frame number is appended to the image/animation name eg. sprite0.png, sprite1.png, sprite2.png, and so on.

  • You can make a feature request.

    In the meantime, the currently available way to do this is to break out your source animation into individual files per frame, and loop through to load each frame into your animation via load from url.