kenhes's Recent Forum Activity

  • I'm doing something similar, but I can't get it to work. It's difficult to explain so here's a capx. It requires beta 130. Just drag the big hand and you'll see the variable change in the text. Thanks.

    Clock Hands

  • I've got a project where the user can drag the big hand of a clock around. Got this working fine. But....

    I'm trying every tick to change the angle of the hour hand by linking it to the minute hand, but when I do, it thinks "12 o'clock" is at the 3 mark. I think this is because zero angle for a sprite is to the right and not up. How can I change this?

  • When I move the touch.XforID/YForID to the On touched event, the sprite moves to 0,0 when I move it.

    It works as I have it so I won't disturb it but I agree, the issue could be caused by the code.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just tried it and couldn't get it to work. Here's a snippet of the code that is applied to every member of the would be family. Perhaps there's a way to change to code to make it work?

    <img src="https://dl.dropboxusercontent.com/u/10196246/Family%20variables.JPG" border="0" />

  • I just tried that in release 130 and it doesn't work. The family variable isn't visible at the sprite level. Maybe there was a change since the version you were using, but I'd settle for that work around.

  • As far as I'm aware, if we want an instance variable on 30 sprites, we have to go in to each sprite to create it....even if the variables all have the same name (eg TchID).

    There are family instance variables, but they're not quite the same thing.

    If possible, it would be great if we could select multiple sprites, right click them and specify an instance variable that will become specific to each of the 30 sprites.

  • That did it. Thanks 7Soul!

  • Yes, the ball has physics and low friction. Here's a capx to play with. Maybe you can find the problem? To move the player, drag the button at the bottom.

    Physics Ball

  • I'm making a top down soccer game using physics. When the player kicks the ball, the ball only travels a few pixels. No matter what force/impulse I add, I can't seem to change it.

    Any clue where I'm going wrong? Thanks.

  • Another event workaround:

    Compare if animation is on frame 0, then go to last frame of animation.

  • Hi I'm getting an error here. Can you help?

    Api.js error

  • austin I'm getting an api.js error when trying to run my project in Visual studio. Any idea why it's happening? Thanks.

    <img src="https://dl.dropboxusercontent.com/u/10196246/api%20error.JPG" border="0" />

kenhes's avatar

kenhes

Member since 17 Oct, 2012

None one is following kenhes yet!

Connect with kenhes

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies