dop2000's Forum Posts

  • Just one curious question: When you first spawn "RobotsHealth" there is a toggle option for "Create hierarchy". I didn't click it, because I see you didn't click it, but what does it do?

    You can prepare the entire hierarchy (in the editor), say, a robot + two arms + two legs + head + health text. Then in runtime when you create this robot and tick "create hierarchy", it will be created with all those parts!

  • When you change player's position directly, it messes with the 8direction behavior - the behavior tries to keep up and fix any collision issues. That's why the jittering happens.

    You should avoid doing that, use 8direction actions instead - "Set X/Y vector" or "Simulate control".

    Also, when you are changing something on every tick, don't forget about delta-time. (This is not needed when using behavior actions)

    construct.net/en/tutorials/delta-time-framerate-71

  • Pin behavior also has PinnedUID expression. But it's much easier to use the hierarchy.

  • They don't respond on weekends, you'll have to wait until Monday morning (UK time).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When I go to add the condition and I select "Icons" (which is my family), there is no option after that for any ObjectTypeName.

    ObjectTypeName is an expression. You need to use a condition like "System Compare Two Values" to check it:

    Compare Two Values Family.ObjectTypeName="SpriteName"

    Make sure to pick the family instance first.

  • If you want the typewriter to start when Sprite_Calm is tapped, then you should move Next function call to that event.

    I don't understand your code. Why are you setting Paragraph variable to "-1"? It's a number and it's supposed to increment with every block of text.

  • The problem with this approach is that most of the cells will be empty, so a lot of memory will be wasted. Also, referencing 50 values stored on Z axis by their index will not be fun.

    I would probably use JSON and store only the cells which contain objects. Or it could be a combination of an array+JSON. Say, the array will store only object types for occupied cells (belt, pipe etc.) And the rest of the information will be in JSON under the key with the same coordinates - for example "Pipes.152_330". Knowing the object type and cell x/y you could easily access it. This will be a flexible and expandable system.

  • Aizuddin1573 Your question is too general and vague. This is not how this forum works. You need to do your own research first - there are official examples, tutorials, youtube lessons, google. Once you've started working on your game and have specific questions, we'll be happy to help.

  • Did you manage it to work with the keyboard?

    Typewriter text "txt" over 0 seconds makes no sense. It will just print "txt" immediately.

    Also, I think event #6 is triggered every time you tap the text, whether the typewriter has finished or not. You should probably change events 4-6 to this:

  • If the bullet is very fast and the target is thin, then even stepping won't help. In this case use raycasting feature of LineOfSight behavior.

  • Ah, it's not a condition, it's an action.

  • I'm afraid there's no easy way, only manually.

  • You do not have permission to view this post