Cocobread Studios's Forum Posts

  • Because otherwise you would be able to move the player on the title screen.

  • So I have a game where I have two layouts, one is the menus and another is where the levels are. I have an event that when you tap/click the level button, it sends you to the other layout, moves the player to the proper position and enables platform and scroll to. All of the other actions work, but for some reason the platform and scroll to won't enable. It just puts the screen at the top-left corner like usual. Does anyone know why this is happening? I've tried changing a lot of things but nothings working. I checked with debug and it literally says that the behaviors aren't enabled. Why won't it go on?

  • I'm making an inventory for a survival game, and I don't know how to make an inventory where the items show up like they would in a game like Minecraft or Terraria. All the tutorials are complex and have things like different places for different types of items. I just want a simple one. How do I make one?

    Tagged:

  • Yeah, I shouldn't have. But thank you so much for this! I edited the events to go into my own game and it works perfectly! Thx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What I mean is, I have an idle game, so numbers get really big. To shorten them, I do a thing that works like: Coins=Over a million - Text set text to Coins divided by 1,000,000 & M. This makes it show up like 1.536M. This is fine, but my problem is that whenever I buy something the numbers go like 1.3425635342545M. This is really annoying does anyone know how to fix it? Image of the event below.

  • I've no idea how to use the left or float expressions.

  • Also, with this float thing, do I use it in a separate event or put it in the same one, and if I do how do I implement it?

  • Wait, what is the float expression? How do I use it?

  • Wait, this doesn't work exactly. If I, say, have 1.568M coins, and then I spend it on something, the numbers goes like 1.432575234M. Do you know a way to fix this?

  • Thanks all of you.

  • I have an idle game where numbers get really big. Because of this, numbers go off screen and overlap other text. How do I make big numbers 1ike 1,000,000 go into 1M or a billion into 1B and so on.

  • That should work. It'll also work with the upgrading by using my global variable CriticalDamage in the event. Thanks!

  • The title may not make much sense. Basically, I'm making a game where you have a chance to critical attack, but I'm not just making it deal X2 damage. It deals a percentage of damage that you can upgrade. When you start the game a critical strike will deal 200% damage, so it is then X2. But I want it so you can upgrade the percentage it deals. With a normal attack I just do 'Subtract player attack damage from enemy health'. How do I make it 'Subtract 200% Player attack damage from enemy health'. Or any percentage.

  • Thanks it works!

  • So, I'm making a game, and I want it so when you attack, the enemy turns red than normal. Normally, I'd do this with an animation, but for this game it won't work. I make it go red by using 'set colour' and then 100, 0, 0 to make it red. How do I make it go back to its original colours after this?

    Tagged: