gumshoe2029's Forum Posts

  • Ah, yea, the behavior fade looks like it might work better. I'll let you know when I test it further.

  • Either there is a bug in the sprite's set opacity, or I am doing this loop wrong somehow:

    When I set logoFade to 1 it should change the opacity based on the current opacity, and stop when it reaches 0 or 100.

    Ideas?

  • I got the "Else" working now. I was layering the events incorrectly as subevents of the subevents. Thanks for your help.

  • The for loop that is readily available in Construct Events does not support that though, at least not that I have found.

    You either have:

    for 0 :100{
        if(condition)
        if(condition)
        if(condition)
        if(condition)
        if(condition)
        actions
    }[/code:31xnz5q1]
    
    Which will execute all of the actions upon any one of the conditions being true, or you have:
    [code:31xnz5q1]
    for 0:100{
        if(condition) action
        for 0:100{
            if(condition) action
            for 0:100{
                if(condition) action
                for 0:100{
                    if(condition) action
                ... 
                }
            }
        }
    }[/code:31xnz5q1]
    
    Which logically should do what I need, but hangs.
    
    Could I write a custom JS block to do exactly what I put above?  Yea, but I would like to avoid that as a first option.
  • Hey all,

    Firstly, my apologies if this question has been asked before, but my cursory forum search did not turn up what I am looking for.

    I am trying to do one loop with multiple conditions, something like:

    for(i = 0; i < array.size(); i ++){
        if(param=1)  Create Object 1;
        else if(param=2) Create Object 2;
        else if(param=3) Create Object 3;
        else if(param=4) Create Object 4;
        else if(param=5) Create Object 5;
        else if(param=6) Create Object 6;
        else if(param=7) Create Object 7;
    ... so on.
    }[/code:dpgskplu]
    
    I tried doing a series of For loops, but that hangs my program since I have a large number of objects to loop through.
    
    Ideas?
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • gumshoe2029

    Uh, it's a bug, I had fix it. Try to download plugin again.

    capx

    Beautiful, it works flawlessly now, thanks!

  • Update:

    Add "action:pick keys", to pick keys into an array object. See sample capx.

    This action will set array size to (0,1,1), then push keys into array. Using "array condition: for each element X" to pick them.

    Hey rex,

    I cannot seem to get your example capx for pickkeys to work properly. Do you know if something changed in Construct that would undo your plugin's pickkeys method?

    Thanks,

    gumshoe

  • Hey all,

    We have a team already in place, a number of game ideas under development, but our programmer for our MMO game ran into some real life issues that are constricting his time greatly.

    As such, we need a front-end User Interface programmer who is skilled with Construct (or any other HTML-capable publishing IDE), or in raw HTML/CSS/JavaScript for a web-based MMORTS.

    We CANNOT pay you.... yet. However, if you are honest, competent, and sane, you will be written into the contractual basis of the company and be rewarded greatly once we actually launch. We will be launching a Kickstarter in about 2-4 months depending on how quickly we can get this UI finished.

    No server/database knowledge is required, as I am doing all of that already and all of the calls will be made using HTTP AJAX GET requests. Also, you will be required to sign a Non-Disclosure Agreement as part of any contract that is made.

    If you are interested, please private message me your contact information on this forum. Feel free to post questions, and I will answer as I can.

    Thanks,

    gumshoe