imothep85's Forum Posts

  • hi, in my app i use the plugin 3dstarfield shape.

    in my game view from a spaceship cockpit, when i fire i would liek to destroy the meteorites in front of my target.

    someoen iknwo how to achieve that?

    here its an actual picture of what i have at the moment.

    https://s2.postimg.org/daehyjg87/starship_firing_at_meteor02.jpg

  • mekonbekon can you explain me how to control the red bullets in your capx, firing with the joypad xbox if i push the button B for firing, and control the directions with the analog left joystick?

    i dont use the mouse for my game, thanks

  • its a BUG with the 3d starfield plugin & 3d starfield shape, if i use the3d starfield shape with a météor sprite, and in the 3d starfield i add the stars, the only whay to see the meteors on top of the stars is to change the effect to "additive" but then we see the stars trought the meteorites.

    its impossible to have the meteors png on top of stars something is wrogn with the transparency with this plugin "3d starfield shape"

    here you can see what i mean.

    here its the plugin 3dstarfield shape https://s3.postimg.org/slamay2qp/bug01.jpg

    here its the 3dstarfield shape in "normal" mode effect https://s1.postimg.org/vdmfls2jh/bug02.jpg

    here i added the 3dstarfield shape to "additive" effect, it results with transparent meteorites we see the stars layer "space" trough the meteorites https://s4.postimg.org/3y504s1gr/bug03.jpg

    and here you can see my meteorite sprite png i use https://s2.postimg.org/j86t964mf/bug04.jpg

    i need to solve this problem.

  • im stuck with this problem :s

  • hi, in my app i control a square, with the xbox controller, i would like to achive this.

    that object is at the start of layout centered on screen, when i move the gamepad analog left joystick the square move to a direction, works same for all directions.

    my square sprite has 8 directions behaviour for that.

    i tried to center the object on screen when the left analog is not used, but i can't make it working.

    also i dont know how to make the sprite move to any direction, like diagonal corners from the gamepad analog

    can someone help with this problem, when the player release the analog joystick the sprite need to return to the center of the screen allways.

    thanks

  • thanks a lot mekonbekon

  • hi in my app i use the 3d starfield plugin i would like to change the directions of the stars when i use my xbox controller, i created a picture where i explain what i need to achieve, by default the stars are centered in the screen at x0, y0 and thats perfect for the moment, but need to change the directoons of the stars.

    https://s3.postimg.org/6lhrysf1t/ship_stars_directions.jpg

  • can someone help?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hi in my app i need to add lasers who are shoot from the cockpit of my ship, how to make the sprites go very far to the center of the screen?

    here is my ship cockpit (wip).

    https://s3.postimg.org/42on5ok4h/ship.jpg

  • how can i make this, i want the star to move when i use my analog joystick, when i push the left analog i would liek the stars move to the right, dont know how to achieve this.

    tried lots of things but nothing works :s

  • how can i use this shadertoy with construct 2??

    void mainImage( out vec4 fragColor, in vec2 fragCoord )
    {
    	
        
        vec2 position = ( fragCoord.xy - iResolution.xy*.5 ) / iResolution.x;
    
            // 256 angle steps
            float angle = atan(position.y,position.x)/(1.*2.14159265359);
            angle -= floor(angle);
            float rad = length(position);
            
            float color = 0.0;
            for (int i = 0; i < 2; i++) {
                float angleFract = fract(angle*36.);
                float angleRnd = floor(angle*360.)+1.;
                float angleRnd1 = fract(angleRnd*fract(angleRnd*.7)*45.1);
                float angleRnd2 = fract(angleRnd*fract(angleRnd*.97)*13.724);
                float t = iGlobalTime+angleRnd1*10.;
                float radDist = sqrt(angleRnd2+float(i));
                
                float adist = radDist/rad*.1;
                float dist = (t*.2+adist);
                dist = abs(fract(dist)-.2);
                color += max(0.,.5-dist*50./adist)*(.5-abs(angleFract-.1))*1./adist/radDist;
                
                angle = fract(angle);
            }
        
        
        
        
        
        
       fragColor = vec4(color,color,color,1.0);
    }[/code:2m2t73ws]
  • Thanks so much VictoryX

  • hi, i would like to know how to use the analog joystick of my xbox 360 pad, i added "gamepad 0 right analog button is down" "simulate 8 direction pressing right" but nothing happens.

    i would like to use left, right, top, down analog joystick.

  • how can i use the qfx shader, i imported my 3d object but i would like to use any kind of shader?

    from

    it is possible?