LittleStain's Forum Posts

  • The actions I said aren't actions.

    Like I said in my post it's only possible to reverse the sucking if you know how the sucking is done.

    The void isn't attracting the objects towards it, the objects are set to move toward the void.

    If you reverse this action you won't even see the objects anymore.

    You should make an event in which if the objects are near the void it starts attracting them.

    I see you haven't used any variables or extra conditions in any of your events. Have you followed enough tutorials to know how to make events?

  • If you only want to check if the pair exists within the string they dont have to be the same? if not -1 it exists.

    But probably I don't understand what you are trying to accomplish.

  • You could use the system expression

    find(src, text)

    Find the first index within src that text occurs, else returns -1.

    So if the result of that expression is something else than -1 the pattern exists within the text.

  • That's simple:

    -if button pushed reverse.

    -if other button pushed increase suck.

    I don't know the events you use to make the void suck, so I can't give you any details. for now you will have to do with this simple explanation.

  • Ninja'd by :'(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One of the numerous ways to do this is create a tiled sprite which only has to be 1 pixel if you want and stretch it over the layer zet it's z-order to bottom of layer and set it's opacity to 50 during countdown. destroy after countdown.

    You could also create a layer underneath the top layer to use for opacity.

    I don't know how two extra events would cause spaghetti code.

    You could put these events in a group which is only active when you need it to be.

  • I'm sorry. It's impossible for me to do that. Maybe first you should change the controls so the game is actually playable..

    All I can think of is adding the condition sprite7 is not playing/visible to all the events regarding to setting chakra width to 0.

  • Look at it this way:

    If you have all the ingredients, you can bake a pie..

    If you have a pie, you can't take it apart to get the ingredients again.

    This is probably not 100% true for any computerprogram, but it comes close.

    One big advantage is you can make something without having to worry every Tom, Dick or Harry steals your code and/or graphics.

  • Don't know how to recreate your problem,because I haven't been able to get spiderman to show up on screen.

    All I have managed to do is fall of the tree..

  • Make a global variable MonstersDestroyed

    On monster destroyed add 1 to variable

    on monster created set monster.health to 10+2*Monsterdestroyed

  • Example

    I already posted this example in the other topic you opened under a different name.

    Why do you post the name question twice, with two different users?

  • I meant that if someone enters .25 it would automatically become 0.25

    and if someone enters 25 it will automatically become 25.00

    and if someone enters 0.5 it will automatically become 0.50

    Just making it easier for the user and keeping the output after enter logical.

  • you could set it, so that if text is "" set text to "0."

    and on enter if point is not yet used add ".00" to text

    if point is used but charactercount is not equal to text.limit add "0" to text.

    I'm not sure, but I think something like that will work.