oosyrag's Forum Posts

  • I was thinking about doing something similar to this for my next project. But I hadn't thought of the idea to pick a random player from anywhere in the world, rather I was thinking if you were sitting next to a friend on the train you could join their game and play together.

    Picking a random co-op partner would be very cool! I wonder how hard it would be to make a system where you can choose to either join a specific game (ie to play with a friend) or join a random game instead (if you don't have a friend to play with at that moment).

    Im feeling motivated to make something like that!

    Making a system to join a random game room vs choosing a room is magnitudes easier than actually making the actual multiplayer game to begin with.

  • Correct, they are names in a "For" loop that allow you to specify which loopindex you are referring to in nested loops.

  • For "loopx" from 0 to array.width

    For "loopy" from 0 array.height

    Compare two values array.at(loopindex(loopx),loopindex(loopy) = 'interest1'

    Append TextObect: " " & array.at(loopindex(loopx),0)

  • It should work. Is there another event setting the angle of the cursor sprite?

  • Are you using the touch object with the "On Tap" condition? Tapping is a gesture, which is not as responsive as the "On Touched Object" or "Is Touching Object" conditions.

  • I don't have the plugin so I can't see your events. Depends on what triggers the animation I'm guessing. The global property is what keeps objects from being destroyed between layouts, so it will stay exactly where it was upon changing layouts unless you have an event that specifies otherwise.

  • Not sure how you can get simpler than a single event.

    For clicking it and spawning another sprite on top, you don't even need to store the x/y of every sprite in an array, you can just use the sprite "spawn an object" action.

  • Start with array size 0,3,1

    + System: On start of layout

    + System: Repeat Sprite.Count times

    -> Array: Push back 0 on X axis

    -> Array: Set value at (LoopIndex, 1) to Sprite(LoopIndex).X

    -> Array: Set value at (LoopIndex, 2) to Sprite(LoopIndex).Y

    This will only work if they are all instances of the same object.

    If you need to do so for multiple sprite objects, put them all in a family and replace "Sprite" with the family.

  • I don't have any plugins so I cannot open your project. Here is a quick concept example - https://www.dropbox.com/s/uzdqmvi7bpq43 ... .capx?dl=0

  • There are a few ways to do this. First one that comes to mind is to have your sidebar on a layer with parallax 0. Pan the main area with scroll to, and pan the sidebar by moving all the objects on it around.

  • Probably because it meets their standard for "deeply enhancing or enriching the user experience", however they define that.

    Anyways, you're basically asking in the wrong place. Apple does not reject all html5 games just for being html5. If you're looking for specifics regarding how to comply with Apple guidelines, it may be best to ask Apple support for more details.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you mean to orbit another object?

  • How far have you gotten? First thing you could work on is having a player to move around.

  • See the solution given here () for non repeating random numbers. Arrays are global, so even when you change layouts it will keep track of the levels you do not want repeated.