oosyrag's Forum Posts

  • It looks like the Projectile object's origin point is not centered for some reason, so the visible projectile is offset.

    Edit: And if you want the destination to be the muzzle as well, you can change the tween target from Gun.X to Gun.ImagePointX("Muzzle") and the same for Y.

  • Rather than using an x and y offset, maybe you can try just saving the starting angle of your cursor from the origin/center of the circle, then using the anglediff expression to get the difference between the original angle and the current position and applying that to the position of your segments.

  • Depending on how your events are set up... first thing to check is make sure group one is disabled when you enable group two?

  • Here you go. Changed the approach slightly, since I realized if you use "On Created", the target hasn't been set yet. Instead, I used a sub event with the "Pick all" system condition to reset the picked instances, then narrowed it down again from there.

    Also you might notice I used a different condition than the System-Pick by Comparison. In the object you can also compare instance variable. I'm actually not sure what the differences between these two methods of picking are.

    The other thing I changed was using the Tween behavior instead of Bullet, since you have a clear start and end point, Tween is probably more suitable.

    Sorry if my answer earlier was confusing, I can make more sense with an example to work with ;)

    dropbox.com/s/4fq7vaumlj9hkb5/example-Instances%20and%20Bullets.c3p

  • Oh so if you don't see any of them...

    After you click the object in the project bar to select all instances, click the top bar area of the layout editor where the tabs are, but not on a tab. That will activate the layout editor window, but not deselct the instances. Then hit delete.

  • Pick by comparison

    Pick the individual instances of an object type that meet a comparison. For example, it is possible to pick all instances where Object.X * 2 is less than Object.Y + 100, which is not possible with either the Compare X or Compare Y conditions.

    So in your case it would be Pick "Server" object by comparison self.Name="Alice" -> Spawn Packet

    Then

    On Packet created

    Pick "Server" object by comparison self.Name="Bob" -> Set Packet Destination to Server.X, Server.Y

  • Parallax is tied to system scrolling, which is usually done with the Scroll To behavior. If your character has Scroll To on it, then when your characters moves, the parallaxed layers will also move.

  • Try thinking of some of the earliest arcade games or board games and try to recreate them. Like pong, breakout, pacman, worm, tic tac toe ect.

    My first project was a battleships type game.

  • If you left click on the object in the project panel, it will select all instances of the sprite in the layout editor. Click on any single one of the selected objects to refocus on the layout editor, then hit delete.

    Make sure to click back on a selected object, if you click outside of one they will all be deselected again.

  • I would have the source instance create a packet object (and possibly record the source in an instance variable in the packet object), then have a separate event on packet created pick the proper destination instance by comparing instance variables ("Name") and apply whatever movement you have implemented based on the picked instance's coordinates.

  • Actually I have no experience, but have you tried linking to the stream in an iFrame?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does the stop loop action work?

  • A and C. The whole event system is designed around the idea of "filtering" by picking, or narrowing down what you want to interact with. IMO it's always better to have more control over the exact behavior you want, the way it is now. It is simple enough (and you have several options) to add conditions to specify the specific object you want within a stack of picked objects such as when touch overlapping objects.

    Look at it from a different perspective. If the touch behavior was changed as you specified, what do you do when you DO want touch to interact with overlapping options? If the objects below the top instance are already filtered out, how would you interact with them by touch?

  • It depends on what you do with it. If you're looping through the entire array it might be a bit taxing, that's a million cells to check.

    There may be more efficient ways to store the data. Again it depends on your use.

    I've made a parser that uses arrays with 100k+ cells, it performs operations pretty much instantly for me.

  • Unsure what you mean by ping.

    Most games will usually have some things need to be done every tick. The key to maximize performance is to use it only when you need to.