oosyrag's Recent Forum Activity

  • Think of bits as light switches. They can be 0 or 1, off or on. Any set of bits can be represented by a single number. Changing any of the bits will change the number, so every arrangement of possible bits in the set will result in a unique number.

    Two use cases where utilizing setbit and getbit are common would be a bitwise auto tiling function for tilemaps and multiplayer client input states.

    A general case would be when the state of any single thing depends on the state of multiple other things. A single number variable to keep track of this utilizing bits can be convenient, but it's not the only way.

  • The custom movement behavior has a 'Push out solid' action.

  • Use in instance of goal variable to keep track of the state of your queen. Have an event that does something depending on that variable.

    On potted ball

    If queen is potted, do x

    Else do y

  • Not too clear from your description, but issues like this usually result from misunderstanding and getting the signaling connection and the room connection mixed up. The can be disconnected from separately, make sure you're using the right one. Also note that disconnection is an asynchronous action, it doesn't happen in one tick so make sure to use the 'on disconnected' and 'on left room' triggers to log and diagnose.

  • Yes, treat it as a 2d ui layer as described in the 'using 2d layers' section in the following.

    construct.net/en/tutorials/using-3d-construct-2746

  • To create a permutation table without the advanced random plugin, create an array of size n where n is the number of values you want to pick from, and fill each cell in order with its index.

    Reapeat array.width times - Pick a random index from 0 to array.width in the first ordered array, push the value into a second array, and delete the index that was randomly picked.

    The second array will contain a set of randomized nonrepeating numbers.

  • What platform?

    If you have a log in server, that can be used to verify the game version at the same time. What authentication method are you using?

  • Make an arrow sprite, set it to your cursor position, set it's angle towards position to ball.x ball.y.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It probably has something to do with the way the layout is set up. Is your layout utilizing layers? Make sure you have the correct layer selected when creating the sprite. Check that the upper layers have the transparent property enabled. If the "white layout part" is an object, you can try selecting it and right clicking -> z-order -> send to bottom of layer. Otherwise not really enough information to guess what's wrong.

  • LastX is probably a user created instance variable. It is commonly used to compare the current and last position of a sprite object, by setting self.LastX to self.X at the end of every tick.

  • Well the opposite of the last action depends on how you have your actions set up, which I do not know.

    You could also keep track of the locations that an object has been to instead, and use those to move instead.

    Each object can have its own history. So when you use undo just do it for each object based on it's own history, and keep track even if it didn't move.

    I can put an example together later.

    Edit: dropbox.com/scl/fi/tx98qllrc5merae92kqq5/undo_example.c3p

  • Check out the catapult example.

    editor.construct.net

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 11-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

21/44
How to earn trophies