shirokuma's Recent Forum Activity

  • To me it looks like a bunch of your level start functions are actually empty functions.

  • wolfomat

    Do you want something like this?

    The blue box centers to touch. The red box only centers the to the Y of the touch.

    You can change the speed by adjusting the 0.05 value

  • You are the blue player, the red box it the enemy. Run and jump into the enemy using the arrow keys. You can create a new player all day long if you like.

  • If you select the magnet sprite, in the properties panel you can add the pin behavior to the magnet sprite.

    So I made a collision event for the magnet.

    When the magnet contacts the platform I pin it to the platform.

  • Did you want something like this?

  • Perhaps this will interest you too:

  • So, instead of disabling the scroll to behavior I ended up creating a second sprite that has its X value set to the player's X value as long as the player is in a certain range.

  • You could set an event for the object you are scrolling to so that when it reaches a certain X or Y value you disable the scroll to behavior, and of course re-enable the scroll to when it gets back in an acceptable range.

  • Here you go. I created a global variable called mouseAngle that I calculate every tick. Then I have 4 events to see if the mouseAngle falls into the range for front, right, back, or left.

  • Dasat

    I think the length of the probe lines are not constant. If you place the meter in the lower left you can drag a probe to the upper right (and beyond). The length of the line seems longer to me.

    I think everything in hat Java app looks doable in C2. I think you are going to need to use something like this plugin to accomplish those lines.

    I haven't played around with this plugin too much, but it does have bezier curves, which is what I think you will need for those curved probe lines.

  • rheece

    I was just discussing vectors with a coworker (an actual programmer instead of a hack like me), and I can say it is possible to calculate a vector in the negative Y direction. In my example I intentionally avoided them thinking that you wouldn't need a negative Y vector because you are standing on a platform, so you can't go that direction. But I guess if you want to do something like that you could add some code that turns off the solidity of the platform you are standing on when you get a negative Y vector.

    I should warn you that my vector code isn't correct, so use at your own risk.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, here is a start. It still needs work, but I'd need to study some on vector mathematics before I could go farther.

shirokuma's avatar

shirokuma

Member since 8 Mar, 2014

None one is following shirokuma yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies