zenox98's Forum Posts

  • Works OK for me - both preview and export.

  • If everything was working, then it suddenly stopped, it seems unlikely to me that it would be a C2 or NW.js problem. More likely it's an OS/Antivirus/GPU change that has triggered it.

    What happens when you run NW.js in debug?

    Maybe try an export with a keyboard action to show the devtools - might get some info from that.

    Have you got access to another machine that you could maybe install the release from today, along with today's release of NW.js? NB/ both available from HERE.

    Or even try to install standalone r217 in a new folder with the new NW,js.

  • Can you post an example that doesn't work for us to test?

    What version of C2 are you using? Do you get the beta through steam?

    If so, have you tried the latest r217 and the new NW.js released today?

  • Are all of them really done on Construct 2? Or some people just post their creations to get download/views? I'm just amazed at some of games posted here that's why I'm asking .

    If they are not created using C2 then they wouldn't / shouldn't be posted here, and I would remove them (and have done previously) if I found that to be the case.

  • Moved.

    This is a more appropriate place as it is a website issue. Tom won't notice otherwise.

    As to the links - they don't work for me. Maybe Tom can say whether they are allowed or not, or just awaiting further development.

  • I was still editing my post - adding links - when you responded.

    I was also going to mention the bullet behavior, but LittleStain has already beat me to it.

  • Two user created plugins come to mind - 'Move To' by RexxRainbow and 'Liteween'.

  • Seems simple enough. Just play the expanding cannon ball animation and check for the last frame of the animation, then spawn a normal ball.

  • Please check my capx ok?

    Just a quick - hopefully helpful - suggestion.

    If you used a hosting that doesn't try and force ads on you or make you wait, then maybe more people would download the .capx and have a look at it for you.

    I for one won't even bother trying to help if a file is hosted on a site such as this.

  • Try Construct 3

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

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

    Editing out what you posted is pointless - that's why I quoted it. This just puts you in an even worse light.

    It would have been better just to apologize and move on.

  • Sure, but where do I share it?

    You will need to use a free hosting site, such as provided by Dropbox, Microsoft, Google etc. Try to avoid those that force the downloader to wait or sit through ads.

    Then save your project as a single file '.capx' and upload to the hosting site. Provide a 'public' link here.

    To bypass the posting restriction for new users, just insert a couple of spaces in the URL at the beginning, e.g.

    h <SPACE>ttp<SPACE>://www<SPACE>.myhost.com/mygame.capx[/code:2o1gcx23]
  • If I understand you correctly, you are wanting to set a sprites visibility state to that of a different sprites visibility state?

    Why not just use a variable as an intermediate step?

    If sprite Is Visible Set Visibilty = 1

    Then the other sprite can just check the variable when it needs to.

    Is this the kind of thing you mean, or have I totally missed the point (possible )

  • When I run the game all I can see is black and orange in a square.

    When I move the character u can see the colors move around.

    I'm running it on edge cause I don't know how to make it go to a different browser.

    An help will be greatly appreciated.

    Have you installed any other browsers?

    Have you read the manual entry on changing the Preview Browser? It's in the 'Project Properties' window on the Left.

    Does previewing the built-in examples/templates display correctly?

    If not, then it suggests a poor or broken graphics driver.

    If these examples display correctly, then can you post a link to the problem .capx?

  • davy421

    Thank you Colludium this works great! What I'm trying to do now, is translate this into code into Unity. I'm not sure if you're familiar with it, but I get a bug where the arrows just fly off into space, like rockets. For now, to avoid complexity, I'm not using shadows, but still, no luck. This is the code I'm using:

    To set up the arrow (left click in your demo):

    >         angleTowardX = target.position.x;
            angleTowardY = target.position.y;
            lastX = transform.position.x; // Get the possition of the arrow
            lastY = transform.position.y;
            launch_time = Time.time;
            Vector2 launcher = new Vector2(transform.position.x, transform.position.y);
            Vector2 aimpoint = new Vector2(target.position.x, target.position.y);
            flight_time = Vector2.Distance(launcher, aimpoint) ; // Not using the shadow bullet speed here
            Y_init_velocity = (float)0.5 * flight_time; // Not using the accelerator here[/code:3t219d1t]
    
    Each frame I do:
    
    [code:3t219d1t]
             time_of_flight = launch_time - Time.time;
    
            // Set the position of the arrow
            transform.position = new Vector3(transform.position.x, (float)(transform.position.y - Y_init_velocity * time_of_flight + 0.5 * Y_accel * Mathf.Pow(time_of_flight, 2)), transform.position.z);
    
            // Calculating the rotation
            Vector2 last = new Vector2(lastX, lastY);
            Vector2 current = new Vector2(transform.position.x, transform.position.y);
            // Not sure if this line works correctly, could this be it?
            Quaternion rotation = Quaternion.Euler(Vector2.Angle(last, current), 0, 0);
            transform.rotation = rotation;
    
            lastX = transform.position.x;
            lastY = transform.position.y;[/code:3t219d1t]
    

    This forum, and particularly this section, is for questions on C2. If you have questions on Unity, then you should be asking on their forums, rather than here.

    Getting a C2 user to go out of their way to create something for you just so you can convert it to Unity is quite frankly a disgrace.

  • SIDZZERO

    In that case, my post stands. I'm just not seeing any problem. We're going to need more testers.

    What OS/GPU/browser are you using?