Everade's Forum Posts

  • Construct 2 forums can be found here.

    I recommend using virustotal to analyze suspicious files or domains to detect malware prior executing or visiting.

  • Are you sure the layer "main" exists? Because otherwise it won't spawn.

  • Go back to the asset store, navigate to the item you've purchased, and open your eyes. The compatibility is stated, and for your specific "Epic Platformer" purchase are even additional details about C3 in the description.

    If you still have issues, there's a support section for any purchase within the asset store.

    And no, your C3 license won't work for C2, and C2 licenses are no longer available.

  • I tell you why the idea page doesn't work. Because they've hidden it so damn well that most people either don't know, or forget about it. It's a hit&miss for most.

    It should be more closely integrated into their website, not a hidden link in a super long hidden forum post.

    Also keep in mind that the majority of ideas are not properly executed. Fullfill their 4 idea requirements, have at least 1 vote, and you've got a fair chance. Don't, and they skip it.

    But yes, get effect parameters, now :D

  • There you go, i took 3 off from my own ideas.

  • I've just been working around this and couldn't agree more.

    Might help if you open a suggestion for it:

    https://construct3-21h2.ideas.aha.io/

  • If you add a single event, that sets the animation frame, this will pick ALL instances of an object. So as you've witnessed, it will change all blood splatters currently in existance, not just newly created ones.

    The "Create object" will automatically pick the created object for us. So if you change the animation frame within the same event like we did, then it will only change this particular splatter.

    For example "Repeat 2 times" of an event means, this whole block will be repeated 2 times from top to bottom. Like this:

    1. Create 1 blood sprite
    2. Change its animation frame randomly
    1. Create 1 blood sprite
    2. Change its animation frame randomly

    As you can see, it created 2 blood sprites, but both set an individual animation frame. If you want all of them to be the same, you could define the random number for the animation frame before starting the repeat event, then use that generated number so all blood sprites will be the same.

    This is what you want:

    1. splatterType = Set to number of splatter animation frames
    1. Create 1 blood sprite
    2. Change its animation frame to "splatterType"
    1. Create 1 blood sprite
    2. Change its animation frame to "splatterType"

    Which will look like this:

    https://easyupload.io/fog103

    Tip:

    Add the behavior "Destroy outside of layout" to the "Splotch" sprite. Otherwise the engine is still wasting resources to calculate splatters outside of your screen.

  • Looks like that hoster deletes the file as soon as it has been downloaded ones.

    Here a different file hoster:

    easyupload.io/qn23vh

    Valid for 30 days.

    Please note that this file is also saved in the latest beta version of Construct 3.

    Setting up a "repeat x times" is super easy.

    System -> repeat

    enter how many times

    done.

    Just like on the picture.

  • I told you how you can forward a unique identifier over a function.

    Wasn't that the question?

    This helps to pick a specific object, out of many.

    If you only have a single sprite instance, then there's no need to forward this information. In that case, just apply the re-positioning directly.

    But if you have multiple instances of a single sprite, this is how you can pick a specific one, over a function.

    Otherwise please share your project (or an example file) and give a more detailed explanation of what you're trying to achieve.

    If you're just trying to keep multiple objects at relative positions to another sprite, use the hirarchy feature as described by dop2000. But that has nothing to do with a function.

  • Don't be sorry, we're all just trying to help here. ;)

  • brainwavecreations

    You're still overcomplicating the blood splatters. And it doesn't seem like you tested yours.

    • My example uses 1 event, 1 actions. And fixed the random issue.
    • Yours uses 8 events and 29 actions. Random issue still persists.

    While your animation frames are not generated properly due to floating numbers... mine gives you the wanted results. What i just explained about how to use random in conjunction with whole numbers is not applied.

    I highly recommend using my example. I haven't changed the main functionalities, i just fixed it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can forward the Sprite object's UID as a function parameter.

    Or forward multiple UID's, or variables which help you define specific objects.

    This works as follows:

    1. Right-Click the function, and select + Add parameter.
    2. Then when calling the parameter, you can forward the UID to the function.
    3. And within the function, you can then use the parameter "which works like a local variable" to pick the object you forwarded.

    For example:

  • Yes round() can be used to round numbers up and down... But that's a problem if you're looking for "equal" random() chances. It won't give you the same results like floor() and ceil().

    I don't recommend using it in combination with random(), because the lowest and highest number have a 50% lower chance to be generated compared to all the others inbetween.

  • https://file.io/1GAweOvsidUZ

    I also made some correction to your random logic.

    Please note that for example random(0,10) will generate a random FLOAT number between 0 and 10.

    Which generates numbers such as 0, 1.12478, 4.25176, and additionaly, it can never be 10.

    To generate whole numbers like 1,2,3,4.... you need to use either floor() or ceil() to round to whole numbers.

    For example:

    ceil(random(5)) will generate either 1,2,3,4 or 5

    floor(random(5)) will generate either 0,1,2,3 or 4

    ceil(random(2,5)) will generate either 3,4 or 5

    floor(random(2,5)) will generate either 2,3 or 4

    Overall, your project is extremely inefficient and/or over-complicated.

    Most things you did could be done with much less events and objects.

    I suggest you look into: families, containers, functions, and use animation frames for different enemy types.

    Not for performance reasons, but for you to learn how to do things faster/easier. So you don't have to copy/paste your code for every new dot type.

    Differentiate looks with animation frames, and health or other logic with variables.

    Or use families.

    So instead of repeating click/death logic for each enemy type (in your case 3 times), it could be done by a single function. Within the function read the enemy animation frame and/or type variables to run different actions based on it.

  • DiMinuto

    I assume you're talking about a 2 player - online multiplayer scenario. Otherwise it might be difficult to hide cards from one-another when they look at the same screen.

    So for a multiplayer scenario, all you have to do is to differentiate betwen Host and Peer. This should be fairly easy to do and is covered in the official examples and tutorials.

    If Multiplayer-> is Host -> hide Peer cards.

    Else -> hide Host cards.

    Multiplayer Examples

    https://editor.construct.net/#open=multiplayer-pong

    https://editor.construct.net/#open=multiplayer-game

    https://editor.construct.net/#open=multiplayer-chat

    Multiplayer Tutorials

    https://www.construct.net/en/courses/online-multiplayer-construct-12