Crovvv's Forum Posts

  • 8 posts
  • Hello, I'm making a cookie clicker-esque game and I need to shorten my numbers. I already know this trick: if variable > 1000 set text: round(variable/1000)&"K"

    But, If possible I'm looking for another method to use, because having to do this for every single text box and a few dozen times at that isn't very appeasing. So I wanted to know if there were another way? Maybe a plugin? A function? Any help is appreciate.

    Note: I know construct 2 also has a hard limit on the number size (It's 9 000 000 000 000 000 I believe). So if the method you suggest has a way to work around that too I'd be very happy. Thanks!

  • Use family if you can access it:

    Thank you, you are awesome!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Obvious question, have you checked the collision box for the enemies?

    Uh yeah, of course. They're currently set as squares cause that's the shape of enemies atm. I doubt they have anything to do with the problem.

    Like I said, they collide with the player just not each other.

  • Hello, I'm currently making a top-down shooter with enemies that chase after the player to kill him. I hit a problem when trying to make them chase after the player, the enemies just overlap each other, even if solid or physic behaviors are enabled. However they collide with the player strangely enough.

    For making the enemies chase after the player I'm currently using this:

    Every tick:

    • Set Angle Toward (Player.X, Player.Y)
    • Move Forward 1.5 pixels

    Note: I used to have the Bullet Behavior instead of this for the enemy's movement but it didn't seem to make a difference. I also tried enabling bounce on collision with other solids in the Bullet Behavior settings but it's just made them bounce really stupidly and spazy off of each other which doesn't look very good.

  • ty

  • I know there's a round(n) thing but I need something that will allow me to do this: exp(3.7) = 3 or exp(2.2) = 2. You get the idea.

  • Thank you, that'll work

  • Hello, I'm new to Construct 2 and I've only been using it for a couple months.I need some help with something I just can't find the answer to. I'm not really good at explaining things but I'll try to explain my issue as best as I can.

    I'm trying to create an inventory system for my game. But the problem is I need to check which slot of the inventory to store my values. Is there a way to Use a variable in which text I Set the text of?

    Or similarly , Say I wanna edit a Global Variable but have multiple and I want to decide which global variable to edit with a global variable How can I do so?

  • 8 posts