CREATOR4's Recent Forum Activity

  • You do not have permission to view this post

  • You could give each pet it's own dictionary: construct.net/en/make-games/manuals/construct-3/plugin-reference/dictionary

  • Hi,

    Yeah I have an UID parameter in all functions that identify which instance is picked. The function is run for each instance that meets the original conditions to trigger the function.

    Functions won't really slow you down, but For Each will! You have to be careful when using it. One tip I have is to make sure you do all the picking BEFORE the For Each

    For examnple:

    you have 10 sprites. 5 are blue and 5 are red

    Sprite = Blue

    For Each Sprite

    This will run 5 times. First it picks all the sprites that are blue, and then it goes over each one

    For Each Sprite

    Sprite = Blue

    This will run 10 times. It will go through each Sprite one by one, checking if it's blue

    So you want to do your picking before your For Eaches when possible. This will weed out only the objects you need to do For Each on, which will help performance

  • Make sure that the Platform behavior is turned off by default. Then make sure only the Host enables the platform behavior for everyone's character. You don't want both the Peer and the Host to be controlling movement, only the host

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Mouse.X("LayerName")

    Something like that

  • You do not have permission to view this post

  • see condition of 3rd and 4th event

    dot | ID < gCurrent

    dot | ID > gCurrent

    in the function i can use either dot | ID < gCurrent OR dot | ID > gCurrent, i cannot use both on one function.

    Noah Gengo suggested to pick Dot and steps using UID inside function but by doing this function will pick only 1 object but dot | ID < gCurrent is picking multiple object.

    You can call functions for multiple objects. Just put a 'For Each' condition after you've picked your objects. This will call the function for each object

  • is correct

    The solution is to pass the objects' UID into the function as a parameter

    For example:

    Call myFunction (pos: 300, alphabetUID: alphabets.UID, dotsUID: dots.UID)

    myFunction

    Pick alphabets by UID: alphabetsUID

    Pick dots by UID: dotsUID

    (then do your actions)

  • Theoretically "Every x seconds: make sprite" should be working

    Can you run the game in debug mode and see if any sprites are being created for the Host or the Peer?

  • I usually use a tiled background

    Every tick:

    1. Set the angle to the player

    2. Set the height to the distance between the origin and the player

  • As far as anxiety goes, try Trello for planning your game out :)

    C3 isn't free

CREATOR4's avatar

CREATOR4

Member since 7 Sep, 2019

Twitter
CREATOR4 has 1 followers

Trophy Case

  • 5-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies