zenox98's Recent Forum Activity

  • 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.

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh man. Works a treat.

    Ridiculously easy to create your own track.

    This is amazing, Gigatron.

  • I'm not seeing an difference. Tested in Firefox 42.0, IE 11 and latest NW.js - 60 fps.

    Tried running in Debug and also added a text box set to show FPS. Sorry- just not getting any problem.

    Can anyone else please try this and report back please.

    What OS/browser/GPU have you got?

  • matrixreal

    Hi,

    i already report it and no one replys except zenox98

    Adding 1 layer (+ the original layer) will decrease the fsp and increase cpu usage)

    the link is an example with capx

    i will post screenshoots later

    Sorry - lost track of this. Just tried to run your .capx but it has 2 plugins from cranberry that I don't have. Any chance you can re-upload without the plugins? (please use your original thread so we can keep the issues separate for now)

zenox98's avatar

zenox98

Member since 30 Jun, 2010

Twitter
zenox98 has 3 followers

Trophy Case

  • 15-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

17/44
How to earn trophies