oosyrag's Recent Forum Activity

  • OR

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It should be in a container, so when your peer player sprite is created, they get an AimSpot as well.

  • Oops, silly me, you're right.

    I did notice when I tried it as shown in the screen shot, the first object created starts at level 2. This is because you have the initial object placed in the editor, which will trigger level to increase to 1 immediately. Then in your loop, you create the first one, which increases the level global variable to 2, then that gets set to the instance variable.

  • That will not work. The loop runs in its entirety before continuing to the next event. So all 10 sprites will be created with the same number, THEN the instance variable will increment 10 times.

    Try simply adding 1 to level in the loop actions instead of on sprite created.

    So

    Create object

    Set level to level

    Add 1 to Level

  • The AimSpot sprite should not be synced at all I believe. Then each peer will update and see their own, and the host will have a copy of each peer's AimSpot, but the host will not sync each AimSpot to all the other peers.

  • Or (For 1 to 10) - Create Sprite, set level to loopindex

  • The most straightforward way is to add an animation frame for the object with the red already removed via an image editing program and just switch to that animation frame.

  • Check your origin point on each animation frame and make sure it is in the same spot.

  • Nah don't worry about that, it was just a quick little experiment for me, not a big deal.

  • Sure, no problem. Glad it worked out

  • Oops, fixed.

  • I would build the string one character at a time with a loop. Upon encountering your escape character (/) have a subevent run to create the icon, skip the appropriate number of characters (the length of the /i[x] part) then continue. To position the icon correctly, you can get the len() of the string upon encountering the escape character and use that to figure out where your icon should be.

    Here is an example I did for someone else for text effects, see if you can figure out how to modify it for your purposes. If you want to have the entire string shown at once, use a loop instead of every x seconds. Also the example used the text object, but you should definitely use spritefont for more control.

    https://www.dropbox.com/s/211xd1ir76hq8 ... .capx?dl=0

    Edit: fixed link

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