eski's Recent Forum Activity

  • Same here with buttons and textboxes.

  • I'm setting up a easy game to test the facebook plugin.

    I can't get it to work locally, only when I upload it to my dropbox folder and link it to the facebook page.

    It's a lot of hassle to export and upload and all that to try out every little tweak, so I'm asking, is this possible somehow locally in a sandbox environment..?

  • Ah brilliant, found out by using the same lerp and adding one more action.

    Moved particle at angle of the two sprites. Found out the distance by using the distance expression to calculate the length between the particle and the square. Works like a charm :)

  • Is there a easy way to pinpoint exactly where the collision between two sprite take place?

    Lerp would work really well but one of the sprite is growing in size from 20px to 200px and can collide with the other sprite anywhere there between.

    I'm using lerp to calculate the distance between the middle points, so when the sprite is at 200px for example, the collision is a bit offset.

    So lerp(ring.X,square.X,0.5) does work but not when the ring is at 200px size.

    I'm creating a particle effect when they collide, so it has to be at the collision X,Y position.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I wanted to bump this.

    I found out that it is not possible to use animation speed with a physics sprite, it stops and well just doesn't work.

    So the best way regarding that is to have a physics sprite working as a placeholder for a another sprite that will have all the texture movement and what not.

    But still, I haven't found a good way to make the ball roll realistic regarding speed and when it bounces back from the bumper.

  • Now I have been trying to get this to work properly, not successful!.

    Anyway, here is a cap.

    http://dl.dropbox.com/u/4436588/pool2.capx

    Why can't i make the animation go faster without the whole thing lagging?

    Why can't i use really high animation speed, like 100-200. Do i need to change the sprite's time factor or what?

    Also, I'm trying to figure out the best way to make the texture react "real" when it bounces back from the wall. The animation always plays the same way though the "cue stick" hits it from another angle.

  • Kastas

    I like your example.

    Have been trying to change it to physics behavior because it is much more real when it comes to, well Billiard physics (back bounce of rail and what not).. :)

    There is no option to get pure speed from the physics behavior, just X and Y Velocity.

    I tried to use the custom movement behavior along with the physics to get the speed but it doesn't read the physics.

    What I would to do is to have the ball react naturally when it hits the rail, texture vise.. It will probably take more events then the bullet behavior thingy. Was a bit surprised how easy that was btw. :)

  • Ok, this is exactly the effect I'm looking for. It really looks nice btw :) Still not quite sure how to set it up.

  • I'm wondering how I would make a texture on a rolling ball so it seems to be 3d.

    For example in the game of Pool. When you shoot the cue ball at the eight ball.

    <img src="http://southernhillscoc.org/blog2011/wp-content/uploads/2011/06/poolballs.jpg" border="0" />

    I my case it would be a 2d top view of the table but if this effect would work, the game would look more natural instead just moving some circles around the table.

    Any thoughts?

  • Nevermind, found out by using left() and right() to remove them. But one other thing.

    I'm using the pause plugin and it doesn't seem to work on the counter. It still continues to count.

    The plugin basically changes the timescale, is there other way to pause the it?

  • How would I display the timer as mm:ss ? Using it to count down from 10 minutes.

  • I'd suggest using the box plugin instead of a sprite for the boxes. That not only allows you to scale the boxes without increasing the thickness of the edge, but it fixes the blurring associated with floating point sizes.

    For rectangular areas, I'd suggest setting the height of the objects to that of the width, just so all of the boxes are square.

    mmm.. i cant make any changes on the box plugin...

    I'm using sprites because i have animation when you click on the box and when you deselect it..

    I'm real close to geting this, just trying to figure out how to use the OR and else commands.

    Its confusing, when using OR and ELSE should i add it as a sub event ?

eski's avatar

eski

Member since 14 Dec, 2009

Twitter
eski has 1 followers

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies