Gougth's Recent Forum Activity

  • Hey folks,

    as I was taking a break from my main project, I unfortunately stumbled upon a problem in my new project.

    You will see two streams of bubbles facing each other from different directions (top & bottom) and as they collide they are destroyed. If two bubbles share the same color you will receive a point. By clicking on a bubble you will destroy it and so manipulate the streams. However I want to check if there are more than 2 bubbles of the same color in a row (like in every bubble shooter sort of game). If so they all should also be destroyed and some extra points shall be given.

    [attachment=0:2k47f37s][/attachment:2k47f37s]

    So the pseudo code should be something like this:

    int score = 0;
    if (bubbles collide){
                    if (colors of bubbles match){
                        score = score + check_upper_Neighbours() + check_lower_Neighbours();
                    }
    }
    /* same with lower_Neighbours */
    check_upper_Neighbours(){
          temp_score = 0;
          if (color of bubble above matches){
               temp_score +=5;
               check_upper_Neighbours();
         }
         return temp_score
    }
    [/code:2k47f37s]
    
    So what I am asking is help to develop this idea since recursion always makes my head want to explode 
    I hope you get the rough idea! 
    
    Cheers!
    Theo
    
    =======
    [i]bubble_forum_capx.capx[/i] contains the recursive function (isn't working).
    And[i] game2.capx[/i] contains a working project without recursive function to understand what I want to achieve.
  • ahr Ech

    this is incredible. I'm missing words for it. so freaking nice!

    besides the fact that it showed me that my beginnings on something similiar are just silly attempts, it's really great!

    Definitely something i would even consider buying.

    btw. which size is your main char's sprite? 128x128? are you planing to release the source as well? I think i could learn so much from it (specially when it comes down to enemy movement (yours seems not to be that typical buggy pathfinding sort of thing )

    Cheers!

    edit: I'd love to leave the game easier tho. atm I have to go back to the title screen to close it permanently.

    edit2: i guess i found a bug in stage 1: at the end crystall i get 2x the option to go back to the base (screen)

  • Thanks for the fast answer!

    Where is the difference? And how do I compare the other one since i can't find any condition/index command to check it.

    edit: I got it, thanks. I have to check function.param(1) since it's the 1# parameter not the 0th as u mentioned.

    Many Thanks

  • Hi folks,

    whilst playing around on a new project i stummbled upon a problem i'm not quite sure how to fix.

    As you can see I call a function with a parameter. The first command ("set animation [...]") in the function works fine, which means the parameter is correctly set to a string called "down" or "up" or whatever since my animations are named in that way.

    However the subevent conditions are not triggered even if the parameter has to be "down" (triggered on touch). Can anyone explain this to me plausible?

    Thanks in advance!

    ~Gougth

    [attachment=0:18j4qpjd][/attachment:18j4qpjd]

  • Icarus

    best C2 game (graphics+gameplay) I've ever seen so far.

    10/10

  • Raicuparta

    definitely design it around indivual for every song

  • Raicuparta

    I like this "out of the box"-thinking way!

    I have been working on some gates (= portcullis?!) lately. I guess they will come in handy in a future multiplayer. I'm playing with the thought to add obstacles (such as barrels for example) which can trigger the buttons too. What do you guys think? Drop me a line.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • These look amazing, thanks for sharing! I didn't know about the new store until i read your post.

  • beardedeagle

    i like the idea of a brawling game for pc/browser, especially the multiplayer concept. Imo it feels nice to play the character (spent some minutes just jumping around because it feels "right") and has fun potential!

    I'd love to shoot with mouse and jump on space tho'. But this is just some personal preference. Anyway I like the idea & the raw concept.

  • i nearly lost at "dyslexia" - this coincidence. lol.

    great work tho!

  • Valerien

    wow. just wow. It looks so nice and feels (!) even better. I want to cuddle the shit out of Dan, regardless that he would probably knock me out! No wonder the marketing people liked it - it's marvelous imo. Keep up the good work and please share your updates with us!

  • that looks nice, polished and clean! Did you create the graphics on your own?

Gougth's avatar

Gougth

Member since 16 Nov, 2013

None one is following Gougth yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies