LittleStain's Recent Forum Activity

  • Well, good for them mindfaQ , but that doesn't really help me with anything. I need a capx(or some screenshots) with how things would be done in C2 following the rules and example I gave in the first post.

    Ok, so these "fases" or "batches" are at the same time or at different times?

    It would be pretty easy to create a loop that would create a sprite animationframecount times and set each instance to a different frame..

    If they should be created at different times you might want to use that anyway and remove all the ones that have been created before, pick a random instance, etcetera..

    It really depends on what you want to do..

    How many members of the family are there and ist there a reason they should be created as family-memebers instead of creating them as sprites?

  • As explained here:

    Remember not to waste your memory

    A sprite of 1100 by 1800 px needs about 8Mb of memory if not put on a power of 2 texture (in which case it would take about 17Mb of memory)

  • - the family members don't all have the same number of frames, some have more frames some have less. So what happens for example if my highest number of frames is 8, 1 to 7 have already been picked, but the next family member randomly picked to be created only has 5 frames?

    This makes it impossible..

    You can't set an animation to a frame that doesn't exist..

    If you could explain what you would want to happen in the case this happens?

    Also, what do you mean by "after all combinations of family members and frames have been met"

    Do you just want to create all family members and all frames, or just one of each family-member?

  • What's the problem with using tags?

    You'd just need one tag "effect" and one tag "music" right?

  • Construct2 is actually pretty good at scaling, so I never had any issues, but maybe I've never had that big of a difference between the original image and the display of the image as you have..

    How big are the images you use and how big are they displayed on your mobile phone?

  • I still don't really get why pick by comparison didn't work, but anyway, it's done. Thank you.

    Your comparison:

    "JustSpawned" = 0

    Is comparing if the text "JustSpawned" is the same as the number 0

    My comparison

    MonstersNoSigns.JustSpawned = 0

    Is comparing if the instance variable JustSpawned of the object (in this case family) MonstersNoSigns is the same as the number 0

    As a text can never be the same as a number (and everyone can see "JustSpawned" isn't the same as 0), your event can never be true..

    The instance variable JustSpawned however is a number, so that number could be 0..

  • LittleStain

    I think you are right, Thank you...

    Wow, cool!

    You actually tried it..

  • I guess you'd want:

    Pick MonstersNoSigns where MonstersNoSigns.JustSpawned = 0

    Or

    MonstersNoSigns compare variable Justspawned = 0

    These are basically the same..

  • What do you mean by "project"?

    Construct is javascript/html5 based itself..

  • yeah this is what im working with

    anyway i can implement something like that easily?

    I don't see why not..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, it is a instance variable of monsters. But if that comparison is never true then how come the other parts of the event work as intended?

    First thing I tried is "compare instance variable" but that doesn't work, it's very buggy...

    LE: And I just tried changing the numbers from 0 to 1 and 2, if I do that nothing happens anymore at all... so what gives? I'm very confused...

    As stated, the string "Justspawned" can never be the same as 0

    You are trying to see if a word is the same as a number, but you could also be trying to compare if 54 is the same as 100, which will never be true..

    What you want to do is compare if the instance variable on the object is equal to 0

    Why the rest of the actions work?

    Well event 7 is true every time, because "justspawned" is never the same as 0, so it's actions are executed..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies