razorMonkey's Recent Forum Activity

  • Notorious406

    Problem is, when you restart your layout everything on it is destroyed and then whole layout is recreated.

    One way to solve this is to put UID of each coin player picks in an array, and then when you restart the layout pick each coin by UID number in array and destroy it.

    Another way would be to avoid layout restart if you can.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you just move it to the other door position?

    Do you use fade behavior on character?

    If you do you can put 2 fade behaviors, one for fade in, one for fade out.

    Then, when fade out completes, you can change position of your character and activate fade in.

    And, of course, "destroy" on both behaviors must be unchecked.

  • You cannot ask me to create whole game for you. Unless it is a business offer.

  • mailalon

    It seems you cannot with Construct.

    Maybe this can help:

    https://www.scirra.com/tutorials/537/ho ... s-with-svn

  • 88u

    1. spawn current wave:

    • store current wave number in one variable and have function that will check which wave is active and spawn enemies accordingly

    2. check if current wave is killed:

    • you can do it by putting all enemies into one big family and check how many instances of enemy are available, when that number is zero go to point 3.

    3. add 1 to your wave variable and then go to 1.

    Very general answer for very general question

  • I believe collision is only for interaction between two objects.

    Safest way to disable click would be to add boolean variable "clickable" into object, and in every mouse click condition also condition which will check if "clickable" variable is true.

    And every action which should disable clicking could switch "clickable" variable to false, and every action whick should enable clicking should switch "clickable" to true.

  • You can draw it using this as inspiration:

    https://www.google.hr/search?q=bite&esp ... bite+shape

    <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Random part is difficult.

    You will need a mask for that, so you will draw bite shape with mask on it to "erase" bitten part of the pizza.

    I am not too familiar with masks, maybe this could help:

    http://berryijmker.com/how-to-create-a- ... t-2-html5/

  • ekajuan

    Depends on other parameters.

    For example if you are using Custom Movement you could do:

    Spaceship - Custom movement set speed = Spaceship.CustomMovement.Speed - recoil

    For bullet behavior:

    Spaceship - Bullet set speed = Spaceship.Bullet.Speed - recoil

    problem with bullet could be, if you have "set angle" to yes, that is you start going backwards spaceship will rotate by 180. It could be solved by additional bullet behavior.

    You could also do it manually, with variables, but it would be a long story with more variables like speedX, speedY and cosinus/sinus calculation, but it could be done.

    But it would be pointless if you have construct behaviors to do that instead.

  • First idea:

    First you need condition that will ensure that object "your mouth" is overlapping object "apple".

    Then, if that is true, your apple should change animation frame, from full apple to bitten apple.

    Also you can create variable that will keep track which apple is bitten.

    Can you provide capx?

  • Most basic way would be to create variabe, give it random rounded number (from 1 to max number of combinations) and then for each combination IF condition like:

    if var = 1 - do 1st combination

    else

    if var = 2 - do 2nd combination

    and so on.

    Of course, there are probably more advanced and elegant way, like using a family (when you create family construct spawn random member), but sometimes most basic things are the best.

    Can you give us capx?

  • For 2d, I believe C2 can fulfill almost all needs, only question is can "direct" coding be more hardware effective.

razorMonkey's avatar

razorMonkey

Member since 4 Dec, 2013

None one is following razorMonkey yet!

Connect with razorMonkey

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies