smitchell's Forum Posts

  • Are you using mysql?

    I tried doing this a while ago, but im not a PHP genius.

    Is it possible to share your PHP script some day? or point me to a right place?

  • All these software's are just trying to be Photoshop. I suggest you use Photoshop. Or use the free alternative called Gimp

  • I'll make the game for you if you provide the art :). I also have a really good audio artist if you need him to make some music.

    I'll knock up a prototype with place holder art ASAP and send you the link.

  • You dont need to use families.

    If you have a instance boolean called controlled then compare the boolean when arrow is down ect then if the boolean is set to false then you cannot controll it, And set the boolean to the other one true..

  • Wow Great!!, Would it be possible for you to share how you done the registration? <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Just a quick wondering if any geniuses could help me out. or maybe even R0J0hound himself as its his plugin.

    Basically I have a application which generates either a random combination of images into one, Or a level editor kinda thing where they build there image and then make it one using The Canvas plugin.

    So i was wondering if its possible to take whats in the canvas plugin and then export it as a image and post to Facebook somehow?

    Thanks <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Lerp takes 3 perameters, a a, b and c.

    the a is allways the start of what your lerping, It tends to only work if you call something like: sprite.opacity. ect then b is what you want it to lerp to, so if i want the sprite to animate from a opacity of 100 to 0 then i set b to 0. And c is the time it takes to do it. Usually 0.8 is a nice number buy you can play around with it. and then you times the number by dt this just makes things happen in real time.

    So for a opacity of 100 to 0:

    Sprite.setOpacity{lerp(Sprite.Opacity, 0, 0.8*dt)}

    To animate its x position to the center of the stage:

    Sprite.setX{lerp(Sprite.x, WindowWidth/2, 0.8*dt)}

    To animate its y to center of stage:

    Sprite.setY{lerp(Sprite.y, WindowHeight/2, 0.8*dt)}

    Hope that was some help.

  • I mean set its x to that through events by the way <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Set its x to this:

    lerp(self.x, WindowWidth/2, 0.8*dt)

    Hope that helps, Let me know if you need me to explain it to you.

  • Kyatric, Thats exactly what i do have a event sheet called vars <img src="smileys/smiley1.gif" border="0" align="middle" /> Its tidy.

  • Yeah families is a paid feature..

  • Make it a family, then compare the width, if the widths over a certain width spawn a sprite or whatever at sprite.x + 20

  • Wow level saving API would be great!! Can't wait for that one ;)

  • No it will not work for the competition unfortunately, Its a great game, But the rules of the comp state that rotation must be incorporated through the use of the action: RotateLayer, Or RotateLayout.

  • Try Construct 3

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

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

    Did you do it with app mobi, or phonegap?