tulamide's Recent Forum Activity

  • When clicking "start" set a variable to "TRUE"

    Check if that boolean is set and add "every x seconds" as a subevent.

    + on start clicked -> set do_grow to true

    + if do_grow

    ++ every 1 second -> set height to height +2

  • I would be very interested also. I never heard of overloading variables before. I would love to learn about it.

  • I understand you very well. Indeed, if this was about some other sign, I'd agree.

    But since it is a protection sign it is a special case, and it's purpose shouldn't be trivialized. Just remember horror games where dangerous zombie girls approach you, wearing a white nurse dress with the red cross.

    But that's just my personal view.

    In general, I also tend to your point of view, since I read "1984" twenty years ago.

    Imagine Microsoft would forbid the use of a white x on red background as an exit button.

    Or if we weren't allowed to use images of cogwheels, as it represents the software C2.

    Or if a name of a software company's service would be protected, so that we could never again use the word "steam" in any other way than referring to that service.

    So, yes, I hear you. It's just that these international protection signs really are a special case that should be respected.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Fimbul

    You're not right in your assumptions. The red cross on white background is a protection symbol and therefore protected by international law. Any misuse of that sign is forbidden and is a punishable offense.

    The use of the sign is only allowed for certain organizations and groups of people and only in armed conflicts. Anything other is a misuse.

    The purpose of a protection sign, btw., is to be as simple as possible, so anyone can recognize it anywhere without further informations.

    The countries around the world have different punishments for the misuse. For example, in germany it is a petty offense, punished with a maximum of 250,000.00� or 6 month of "Beugungshaft" (there seems to be no equivalent word in english, basically you're going to jail until you either pay your penalty or the time is over).

    So don't take it too easy. Also ethically it is good manor to treat such protection signs with respect. (There are quite a few others, like the red crescent, the red lion, the blue triangle on orange background, the emblem of the UN, the letters "UN", etc.)

  • The first thing that comes to mind is if you've set the width of the array correctly? If you add an array it is set to (10, 1, 1) initially. You can access the values in the array's tab, or via event prior to pushing the animation names.

    If it is set to 10, then any push adds to the size, and when randomizing it will select the first ten cells a lot more often than your animation entries.

  • They already implemented what you are saying a while back: scirra.com/construct2/releases/r133

    On export, your images should be deduplicated.oops <img src="smileys/smiley4.gif" border="0" align="middle" />

  • If you're already at a high data size you could also consider doing your own animations with events, if javascript to make your own plugin isn't a possible way for you.

    1) Add all frames in one animation of your object.

    2) Fill an array with the indices of the frames you want to use for an animation

    3) To animate, run through the array at a certain speed. There are various ways. For example,

    myFrame = (myFrame + 20 * dt) % walkArray.Width

    Set animationframe to walkArray.At(myFrame)

    will loop your custom walking animation with 20 fps

  • Thank you DatapawWolf for linking your work. I especially like the blue level with the mummies. The music fits as if it was made specifically. The game looks very good, btw. I always have to smile when seeing the mummy's movement, almost like a "thriller"-dance-move <img src="smileys/smiley4.gif" border="0" align="middle" />

    p.s. Yes, you pronounced it correctly <img src="smileys/smiley2.gif" border="0" align="middle" />

  • First I want to say that I had read the stuff about optimisation:

    https://www.scirra.com/blog/83/optimisation-dont-waste-your-time

    https://www.scirra.com/manual/34/best-practices

    http://www.scirra.com/manual/134/performance-tips

    But I want to make my "ode as "clean" as I can.Regarding that you already read these, keeping the code clean should just focus on the human readable aspect: Arrange your events, so that it is most easily maintainable.

    1) For repeating the same actions all over your code, a function is optimal. If you only use those actions once in your event sheets, it might be better not to use a function and to keep all events together that affect a certain object.

    2) For better maintaining do the collision check based on logic. If that check is done in a block of events that refer to the player, check if player has collision and vice versa for enemies.

    3) Again there is no better ways, as all are acceptable. If you fr example want to display the game behind your menu, there is no other way (besides using no layer at all).

  • There is a function that spawns 3 instances every x seconds and randomly selects a unique frame for each instance such that there are no duplicates via an array. After the function is called, an event picks a random instance from the 3 newly created instances and selects one of them to be the answer by setting a boolean on the sprite instance to true.First you asked for exactly this, and I made the whole work for you. Now that you had someone done this for you, you're asking for the next step. Why not just asking someone to do the whole game for you?

    You could at least use the examples you got and learn from them. As soon as you understand how they work, you don't have to ask for the next step. It will be easy as pie then.

    Looking for suggestions as to a better way to go about thisThe best solution to your problem isn't good enough for you?

    If you want to make a game and realize that it's beyond your capabilities, try an easier game mechanic first and go back to your idea when you are a bit more skilled.

  • E would be my favorite.

  • ryackov

    I thought of more general requests, as this is a free library for all. But I'll see if I can add loops that match your requests.

tulamide's avatar

tulamide

Member since 11 Sep, 2009

Twitter
tulamide has 3 followers

Trophy Case

  • 15-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

17/44
How to earn trophies