oosyrag's Forum Posts

  • So you're picking the tab close object, but there are no cards picked in the condition, so destroying a card will destroy all of them. You can add the 'mouse -cursor is over object' condition to pick the correct card.

    Otherwise, you'll have to associate the tab close object with the card it belongs to somehow. A container could be good for this. Then they will always created, picked, and destroyed together as a pair.

  • Try using the tween behavior.

    For physics, you can apply a force to an image point which is off center to cause rotation.

    For it to stay in place, you might need a second image point exactly opposite from the origin to apply an equal and opposite force too. You can also create a revolute joint on an immovable helper object to pin it in place.

    Edit: reminder not to mix physics with other movement to avoid issues.

  • You would need to "pick" the correct instance with a condition.

    Normally this should already be done with the object on clicked condition, so that any actions in that event such as destroy are applied only to the instance that was clicked.

  • Mostly readability, there's nothing particularly wrong with having a lot of paramaters, just seems odd that it would be a problem, to me.

    One thing that might help reduce clutter is to use event sheet includes, maybe keep your functions on separate sheets.

  • So you said you tried with a text and sprite visibility, those didn't work either? So the on overlay activated trigger isn't firing at all and same with the overlay enabled condition? Sounds like this should go in a bug report on GitHub then.

  • Well just a guess here but when fading in it never reaches 'done' as that is tied to destroying after fading out, but fading out isn't happening because it's set to 0. Do you need it to be 'done' for any particular reason? There are separate conditions that trigger when fade in, wait, and fade out complete that you can use.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well without seeing the project events... I'd first want to confirm via some sort of visible and/or audible indicator that 'on overlay activated' is firing when you expect it to (and only when you expect it to).

    Assuming your pause is set up and working as intended when used manually. Then I'd check your pause toggle to make sure nothing else is interfering with that and possibly unpausing on the same tick, as often happens.

  • IIRC slider progress is not yet a standardized CSS definition. Different browsers display it differently. Here is a CSS only solution for Chrome but it's a bit advanced.

    codepen.io/ShadowShahriar/pen/zYPPYrQ

    If you're not particularly comfortable with CSS, I highly recommend building your own slider bar with sprites and events. This way you can have much more control of the way it looks and behaves across different browsers as well. It will consist of three sprite objects - the left filled progress part, the handle, and the right unfilled part. You'll also want a few variables for minimum value, current value, and maximum value. Then you can use those values to adjust the size and position of each part.

  • I don't know about construct, but isn't the shortcut for redo generally ctrl-y?

  • If your camera is a single object, you have potential issues with syncing in a multiplayer environment.

    Recommend you use the scroll to behavior directly on the player controlled objects, and enable and disable them as needed on the relevant peers.

  • No, there are some inherent security considerations and limitations that will not allow you to take control of a users device.

    Imagine if visiting any random website could potentially let it control your mouse...

  • The smb 3 map is simply a tilemap. You'll need to acquire or draw the actual art yourself. The tile movement behavior will take care of movement.

    In terms of progression, you can keep track of level completion in variables or an array.

    For example, the tile with a level on it can have a sprite object with the instance variable "completed" as a true/false boolean. You can use that as a condition before allowing the player to move on, as well as what animation frame for your sprite to show (completed or not).

  • I wouldn't be so sure, C3 is a 2D engine in the end.

  • You can access different versions at construct.net/en/make-games/releases.

    Generally speaking it's editor.construct.net/rxxx where x is the version number you want for the direct link.

    By the way Ashley is male, as far as I know.

  • One way is to reduce the force applied towards zero as the object's velocity increases to it's max speed.

    Another way is to apply an equal and opposite force as the objects approaches it's max speed. In real life this is how terminal velocity works, as wind resistance opposed to gravity when falling for example. Or friction, on a horizontal plane.

    The last way is to manually set the x and y velocities to maxmin(currentvelocity,maxvelocity) every tick. You'll have to do a little vector math to get the maximum x and y velocity for any given angle of motion. This could be the simplest solution, but manually setting velocity can also possibly cause issues down the road.

    Edit: I did mean min, thanks for the catch dop.