oosyrag's Recent Forum Activity

  • Perhaps you'll have better luck in the scripting sub forum.

    As far as the event editor goes, all instances of any given object are picked by default. Conditions only narrow down the picked list. If you have an action that applies to a sprite object without any conditions regarding that sprite, the action will apply to all instances of that sprite.

    If you mean picking all/multiple sprite objects, then the way to do that via events would be adding them all (or just the ones of interest) to a family.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One way to keep track of player turns is to use "states". You can keep track of the state of the game by using a global variable.

    If you make a global variable called 'PlayerTurn', you can create sub event conditions like after the dice is rolled, pick the player object that is the same as 'PlayerTurn', move it, then increase 'PlayerTurn' by one. Then the next time you roll the dice, it would move the next player object.

    Then add an event to reset the variable back to 1 if it is ever greater than the number of players present, to account for a variable number of players. The total number of players can be set by another variable.

  • If you can clearly identify what you want to happen (actions) and when you want them to happen (conditions), then you will be able to continue putting your events together.

    As for the board, the computer cannot interpret it (spaces, progress) for you, so you'll have to either describe positions through numbers mathematically, or use helper objects. For example, you could use an invisible sprite object called a "space" or "step" and place them where you want them to be on your board. These objects can have an instance variable numbering them in order so that you have a way of identifying each unique space in terms of it's position and progress along the board track.

    This instance variable can also be used as a condition to determine what happens when arriving at that spot.

  • You'll want an image editing program to do so, like Photoshop, Gimp, or Paint.net.

    Look up how to crop something in your program of choice.

  • You can use the sprite object's 'is overlapping at offset' condition or the system 'is overlapping point' condition (and then compare pickedcount) to check if there is an object at the location specified (above) before allowing the action to destroy the sprite to run.

  • That's odd, because getbit and setbit should work with a 32 bit integer.

    If you are using more than that somehow, you could always set up a second client input value to be synced.

  • There is no trigger for event 18, so your object instantly progresses from the search state to the return state in the same tick.

    Also there is no point in adding a repeat 10 times in event 14, that will cause your object to find a path 10 times in one tick and keep overwriting itself.

    Remember the entire event sheet runs once per tick. If you're doing anything over time, use states, tweens, and/or timer behaviours with triggers upon finishing.

  • The parallax is not moving your HUD position in different screen sizes. Try using the anchor behavior, or viewport expressions to position your HUD elements.

    See the "Keeping the HUD in place" section - construct.net/en/tutorials/supporting-multiple-screen-17/handling-multiple-aspect-2

  • You are changing the 11th bit of self.inputs to 1. You aren't changing any of the other bits. If other bits were also set to 1 previously, they would also be executed depending on what your host events are set to do with inputs.

  • What does the action you use to call this function look like?

  • You can have as many client input values as you want.

    You can also send messages.

  • Personally when doing inputs, I only use one event for any given key press, like W. Then I use subevents to determine what happens under different conditions when that button is pressed. When you have 'W on pressed' at different levels in different events, conflicts can happen, and will be harder to diagnose.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies