Berserky's Recent Forum Activity

  • Thanks this works nicely, but what i meant when i said shared was the situtation when i have more than one red and blue,

    If i had 7 Reds vs 7 Blues and they engage each other how will it play out, I am not sure if the "for each"condition will be enough

    P.S When i said 10% i meant 10% more, so 60% in total, But yes i did make a mistake, i just add 50 into the equation.

  • I need this for a combat system, so i have 2 sprites, Red and Blue.

    They both have the variable Chance to attack(CTA), Chance to deffend(CTD)

    When they get close I want them to share values of those variables to determine how will the fight turn out

    For example:

    They enter each others ranges

    -Red's CTA is 5, Blue's CTA is 4

    -1 for Red he now has 10% percent chance to go first (10% for each CTA point)

    -The chance paid off Red goes first and attackes

    Now, they "shared" CTA, but CTD is unique to each

    -Blue's CTD is 4 (40% to effectivly deffend)

    -he deffends himself

    And then it goes again, until one of them loses

    So, I am not sure how actually complex it is, it seems pretty hard to me, I tried but nothing good ever comes out of that , i usually end up here lol, so thanks in advance

  • Not sure if it is costumary to reply to a few year old posts, but this is AMAZING seriously this has so much potential, thank you for this.

  • So i have a lot of different animations, but when any one of them ends i want to trigger a certain event.

    I could do an event for every animation but it seems sloppy and like a bad solution in general.

    I cant use "on any animation finished" because i need certain animations to end.

    Thanks in advance.

  • Thanks for the help guys, I did it, it needs some polishing but it works like this:

    Every X seconds- Boss/ add choose (1,2,3,4) to Attack

    Attack=1-Set animation 1,set Attack to 0

    Attack=2-Set animation 2,set Attack to 0

    Attack=3-Set animation 3,set Attack to 0

    Attack=4-Set animation 4,set Attack to 0

  • Which action do I use for "choose"

  • Basically what the title says. I am trying to make a boss for my game .He would have 3 variables and they would be set to false. Every X seconds he would chose one at random and make it true. When a variable is set to true he would preform an attack and then set it to false again. Each variable would represent a different attack of course.

    So have can I do it? Thanks in advance.

  • Oh yeah didn't thinks of that *slowpoke LoL, Thanks I'll try that

  • So I have a player sprite where I stored animations.

    Player hit box which does collisions and carries behaviours (platform, scroll to)

    And now I have 4 different attacks, so I was thinking how should i make hit boxes for them.

    What I have in mind to do is something like attack1 is playing, on frame3/ spawn attack1 hit box

    So what I want to know is if there is a better way to do this because it seems kinda clumsy.

  • So yeah as you can see I am loosing my mind . But seriously.

    Anyway here is the thing I want to make a great attack combo sequence but everything i do just doesn't seem to work. I have tried quit a bit of different events and if you take a look at my previous posts you will see I am constantly fighting it.

    So what do I need? Well, I need help. A lot of it if possible, and I really can't continue trying because I don't have enough experience jet, so I would be very very grateful if you could help me.

    Well let me get to the point.

    I have 4 different attack animations. Light attack 1 (LA1), Light attack 2 (LA2) , Heavy attack 1(HA1), Heavy attack 2(HA2)

    A-activates LA 1

    pressing A again starts LA2, spamming A will spam LA2

    S-activates HA1

    pressing S again starts HA2,spamming S will spam HA2

    But the thing is that you should be able to combine those 4.

    Now imagine this is a combo sequence this is how it should go

    A,A,A,A / LA1,LA2,LA2,LA2

    S,S,S,S / HA1,HA2,HA2,HA2

    A,A,S,S / LA1,LA2,HA2,HA2

    S,A,A,S,S / HA1,LA2,LA2,HA2,HA2

    That's it I think , thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks brunopalermo just the way i wanted it to work

  • So I am making a side scroller. I have 2 attack animations, and what I want to do is when i press A that the player starts the first attack animation, if I double tap A the player starts first attack animation and then the second. And if I press A four times the player should start with the first attack animation and then repeat the second attack animation 3 times.

    It doesn't seem hard but I just can't pull it of I am still a newbie.

    Hope you understand what I am saying .Cheers!

Berserky's avatar

Berserky

Member since 30 Jan, 2014

None one is following Berserky yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies