linkman2004's Forum Posts

  • Even though you solved the problem, I just thought I should mention that you can get the image point locations with this:

    object.ImagePointX("imagepoint")

    object.ImagePointY("imagepoint")

    You could use this so you don't need a dummy object.

  • Damn, I thought that would have worked properly.

  • If you want it to go pure white, here it is:

    // Flash
    // Linkman2004
    // PS 1.1
    // Sets every pixel to white
    
    // Foreground texture
    texture ForegroundTexture;
    
    // Foreground sampler
    sampler2D foreground = sampler_state {
        Texture = (ForegroundTexture);
        MinFilter = Point;
        MagFilter = Point;
        MipFilter = Point;
    };
    
    // Effect function
    float4 EffectProcess( float2 Tex : TEXCOORD0 ) : COLOR0
    {
        float4 front = tex2D(foreground, Tex.xy);
        front.rgb = 1;
        return front;
    }
    
    // ConstructEffect
    technique ConstructEffect
    {
        pass p0
        {
            VertexShader = null;
            PixelShader = compile ps_1_1 EffectProcess();
        }
    }
    [/code:2yoyurmx]
  • Well Vista/Win7 doesnt have any dx so you need to install both DX9/DX10 to get all the stuff working.

    Vista comes with DX10 and 7 comes with DX11. You don't have to install anything.

  • Yay! I've been waiting a loooong time for this. Unfortunately, collisions with rotated/solid objects and behaviors seem to be buggered up. I've submitted it to the tracker.

  • That looks pretty cool, vrav. Perhaps this will help you with the problem you were having. It will work no matter how fast you make the stroke.

    Painting without line breaks

  • I turn on additive plus and the shadows disappear

    Did you keep the default image on the light, or did you get rid of it? The image needs to be there or it won't work.

    Example

  • Applying an effect like additive plus at to your lights will make their shadowing range only as large as their radius. Also, I'd set the power of the additive effect to 50%. This will make the shadows look much better.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It uses Lua script, actually. Somebody brought it up several months back.

    I never did try it, mostly because I didn't feel like learning the scripting language for something I'd never really use.

  • The best idea would be to save this .CAP as something else, and then start deleting objects and/or events until the it runs again.

  • I voted(or whatever). Don't remember what categories, but I did.

  • Rich - Construct crashes. I'll go ahead and submit it as a bug as soon as I can.

    Ashley - I'm pretty sure I'm using CRunObject, but I need to reinstall VC so I can check. Ultimately, I kind of stumbled around like a blind person when making the plugin.

  • I wish I had know about using expressions for keyboard input before. Thanks for pointing that out, lucid.

  • Okay, I have a question about some plugin things. I just found a crash associated with my IK plugin. If the objects the IK plugin is using aren't there(if you have them destroyed at the start, for example), Construct will crash since it can't find any objects to use. I know Construct shouldn't crash, but is there some code I need to put into my plugin to keep it from crashing?

  • Nifty. I didn't notice when I looked at this earlier that there's actually perspective, something that eluded me when I did this. The method I came up with didn't really support it.

    nice job on this, id love to see .3ds importing like i heard linkman had done a while ago.

    Mine didn't actually import .3DS files. I used Anim8or to output a vertex file(or something), then I cut all of the unnecessary crap out so I could read the files line by line unhindered.