Column's Recent Forum Activity

  • hello me does anyone know this solution for all latest constructs? I want to make one of the words in a text object have a different color.

    i came across the same problem but it was in a very old thread,

    construct.net/en/forum/construct-2/how-do-i-18/different-text-colors-text-45631

    so I think all the latest stuff that's in Construct right now does it support it?

  • I mean you can fiddle with the collision more. It may work better if the ball has a box collision and isn't rotated at all. You can use the "set angle of motion" to let you shoot where you aim.

    If the bullet behavior's bounce still isn't acceptable you can use the physics behavior instead to move the ball. Give the tilemap and the ball the physics behavior, make the tilemap immovable, and when you launch the ball you'd set it's velocity with:

    set velocity to (speed*cos(angle), speed*sin(angle))

    You may need to fiddle with some of the ball's physics properties to tune it. Stuff like collision shape and elasticity. You may need to disable collisions between balls or change the gravity with events.

    If that still isn't satisfactory you can calculate the surface normal of a collision and do the bounce with math. Here it bounces a perfect ball with a tilemap. This gives more control but isn't as simple to drop in.

    https://www.dropbox.com/s/r7ptcicrw0k753w/bounce_sdf.capx?dl=1

    wow this is the most stable bounce behavior i've ever found in construction, and you made a physics manual, looks good, thanks R0J0hound i'll learn this more

  • Do you have physics enabled somewhere?

    Hard to guess what's wrong without seeing your project. But something is definitely not normal. As far as the bullet behaviours bounce by itself goes, it should not be doing that.

    oosyrag

    I don't use physics anywhere, and I always minimize the use of physics.

    actually this problem I often find since I use C2

    only bullet behavior and enable solid bounce off property

    --------

    I made a simple example, please check and experiment with this bug '-'

    dropbox.com/s/rmxcvmttassmho1/tes%20bullet%20bounce.c3p

  • You could also change the bullet behavior property to not set the angle of the object when it’s moving. It would make the collisions more consistent.

    R0J0hound

    I've tried turning off the properties, and I think it's more consistent, but after trying many times it's still the same (watch this video)

    and the new main problem is that I can't aim my shot

  • What's the collision box on your tiles look like? I'm going to guess you'll be better off with square collision boxes.

    oosyrag

    yes indeed I set it to be a perfect square, but I use the tilemap object to create the platform

  • watch this

    hello, can i optimize the bounce of this bullet behavior?

    I find this slightly detailed bounce bug getting weird

    I've fixed a collision like this

    but is there a more effective way?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just got a notification from my Gdrive Desktop that there is a file that cannot be deleted.

    I thought at first it was normal, maybe my internet was bad.

    but looking at the file format, it's the first time I've seen it, and why does Gdrive want to delete it automatically?

    is this a malicious file?

    or other backup file formats?

    Tagged:

  • and, I also want to ask, how to call the function at once by entering the parameters

  • as I asked in the title, How do I use expression Function.Param(0) in construct 3 ?

  • For rounding decimals, try this. If you want a different amount of decimals to round to, change the number of zeroes in the 100s. The number of zeroes is the number of decimal places it will round to.

    round(INSERTVARIABLEHERE*100)/100

    Thanks ^-^ . it worked

  • Can I change the value that contains multiple comma-behind values ​​(like 2.6449999999999996) so that it has only 2 values ​​behind the comma (like 2.64)

    I thought leaving this kind of value would take too long, but I need a fairly detailed value.

    2.6449999999999996

    2.64

    I've used the "system expression round () & int ()" but that just converts the values ​​to the whole value.

Column's avatar

Column

Member since 10 Sep, 2020

None one is following Column yet!

Trophy Case

  • 4-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies