ZeroBelow's Forum Posts

  • I do have one and I use it to set the damage for all the bullets, but I want each bullet to modify that number.

    Example if the blue bullet would make the do the BulletFamily.damage+1 but the Red bullet would do Bulletfamily.damage.+2

  • What is the best way to have multiple bullets from the same family do different damage? I want all the bullets from the family to have the same properties but have different damage amounts they deal. Like a blue bullet does 1, a green does 2, and a red does 3. But I want them to be able to damage and be destroyed by the dame things. Any ideas?

  • Smallest payment is $100, you need to get $100 before you can pay. Your money earned is carried over each month.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0j0 I understand all of your and have a idea how to put it into C2, expect for this line "set prev1 to (rand-1)%4+1"

    I do not fully understand what it does and I am not sure what the % is doing

  • Thanks again for the feedback it is really helping me structure my boss better.

  • Thank you all for the help, I been working on using the phases for the boss for a bit now but I was wondering how others would do it. It gives me ideas on how to make the boss more dynamic.

    Currently my boss is set up using animations to control when it changes it phases. This makes the phase take the same amount of time each time it goes into it which can make it easier for the player to predict the boss and fight against it. Something I did is make it where the boss has a default phase I call Phase0 and after each phase the boss goes into phase0.

    Phase0 is the phase that controls which phase it goes into next. What I want to do is make it where it cannot go into the same phase it was in before it went back to Phase0.

    So an example would be

    0,1,0,2,0,1,0,3

    0 is the default phase and 1-3 are the other phases.

    an example of what I dont want it

    0,1,0,1,0,1,0,3

    I do not want the boss to be able to keep repeating the same phase over and over again. This way it makes it more likely the player will see more of the bosses phases and keeps switching up what it is doing.

  • I want to set a value to a random whole number but I do not want it to repeat the same number unless it has given 2 different numbers before it.

    example: Lets say I want to get a random number 1-4 each time I push a button it will random a number between those values.

    lets say it gives me 1 now I do not want to get 1 the next time 2x I push the button, but after that I want 1 to go back into the pool of random numbers

    so the out of a string of 4 times I random the number I wont ever get

    1,1,1,1

    1,1,4,1

    1,2,1,2

    1,2,3,2

    etc...

    combinations I would get would be

    1,2,3,4

    1,2,4,1

    1,4,2,3

    2,4,3,1

    etc...

    I know a array could do something like this but I am unsure how to set it up

    anyone have any ideas?

  • yeah I been doing something like that but the way I am doing it makes the boss repeat the same action on random, I think my problem is when i select to do another phase.

    As an example I have a instance variable called phase on the boss and while than = 0 the boss will do a animation then change phase to a random number based on how many phases I have total. At the end of each phase I have it change Phase back to 0.

    What my problems are is it will select to do the phase that it did before again so it will go from 0,1,0,1,0,1 and sometimes it will rarely go to the other phases.

    Another problem I have is it will not full finish a phase and try to jump to another one. ( this has to be a problem with the way I set up what makes it change.)

  • I am looking to make a boss for a top down style adventure game. I want this boss to have different phases that it goes through and it will play animations as tells so the player can predict what it is going to do. I do not want the boss to do the same phase more than once in a row. Does anyone have any good ideas on how to achieve this?

  • I know the type of game you are making can be done in C2, here is a an example of one. https://www.scirra.com/construct2/games/cosmochoria

  • I recommend starting with the topdown shoot game template that construct gives you, That is what I started with for me Zelda like game.

  • Yes you can, What I did was set up a sprite set it's angle towards my mouse X and Y. Then I used the "is between angles" of that sprite to find what angle my mouse is at on the screen.

  • Ok I figured out a way to do it, All i needed to do what make it where the player is being moved at the same speed and direction of the platform. So I used the move object at angel command. It works it just took a bit of tweaking to get the speed for the player right.

  • Korbaach I do really appreciate your help, but their is a glitch with just pinning the character to the platform, it makes it where if u move perpendicular to the movement of the platform it will move out from under you.

  • Thank you for the quick reply

    not going to let the arrow keys affect player going to disable that

    I am trying to do what you said but I am not having any luck, when I put it in it sets the player set X and y to the edge of the platform rather than to where he is currently on the platform. it also does not allow him to move if i set both the X and y. Is there any way you could show me a capx of it?