Calfuso's Recent Forum Activity

  • When i mean following is that the enemy has it's usual movements but it will always be on screen. The enemy i am thinking of is a floating enemy. So i don't want to know how a enemy on ground would be able to follow you i want to know how a enemy that floats in the air follow you. Basically so should the enemy move whit the screen and adjust it's position to the player while still moving around. So how do you make this work?

  • The enemy is supposed to jump and then try to fall on the player. I tried many things but the enemy always seem to miss the player. So how do you make it aim for you successfully?

  • The problem here is the jump? Or the fall?

    A little more info could help.

    Maybe a screenshot of your event list, for the jump/fall?

    I think the problem is both the fall and the jump since the enemy need to aim for the player in both situations otherwise it will havw trouble jumping on the player no matter what.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The enemy is supposed to jump and then try to fall on the player. I tried any things but the enemy always seem to miss the player. So how do you make it aim for you successfully?

    I would like an anwer to this please.

  • I may get rigth and left mixed up but i pretty sure sprites whit the sine behavior always start their cycle by going to the rigth. I want them to start by going to the rigth. How do you do that? I tried rotating the sprite but it still begins by going to the rigth.

  • The enemy is supposed to jump and then try to fall on the player. I tried many things but the enemy always seem to miss the player. So how do you make it aim for you successfully?

  • I know that it exist manual entries about expressions but i haven't been able to understand them well enough to get the hang of expressions. I have made successfull expressions but some doesn't work. I made one today that doesn't work. Expressions seem to always need " " in them. Is that rigth? Do they need ( ) too? How do you write a expressions in easy to understand words. Do you write it "( Sprite )" or "Sprite"()? I may go deeper into what my expression that doesn't work is but i just explain that if i need to.

  • I want a sprite to first move horizontically and after a couple of seconds move vertically and stop moving horizontically. So i made the event after x seconds and made Sine 1 inactive and Sine 2 active. But it doesn't work. The horizontical Sine keeps on going and the vertical Sine doesn't start. Why doesn't the event work?

  • > And i told you to not comment on my project. Telling me that my images are too big and that i have too many sprites and shouldn't call them all sprites is commenting.

    >

    I'm sorry for giving unsollicited advice..

    Pinning works like blackhornet explains, actually all events do..

    You have to reference the sprite you intend to do actions on in the event..

    So if you use the pin action, it should be clear which instance of the object you want to pin to..

    This is called picking..

    In your case you could use overlap or pick nearest..

    If there is only one instance of the object to pin to on the layout, automatically the right object will be selected, ofcourse..

    Since i am too stupid or not good enough whit using Construct 2 i don't understand how to do that so if you wwant to help me you need to create such a event that makes the pinning work and share it.

  • You can't assume that Sprite67 knows which Sprite to pin to just because it is on top of it. Add a "Foreach Sprite" and a "Sprite67 Is overlapping Sprite", then do the pinning. This picks each parent sprite and finds the overlapping child so it can pin 1:1. A Container might also work, instead.

    You must have uploaded an earlier CAPX, as there is no Layout 9 or Spites 122,123,124.

    My mistake.

    https://www.dropbox.com/s/4ks20oboupgz8 ... .capx?dl=0

    Here is the newest capx. You don't need to download the capx fi you don't need to. Just answer me why sprite 123 and 124 doesn't pin to sprite 122 and follow it when it rotates. I have read your answer on the first problem. But did you try layout 5 to see how Sprite 67 reacts? I have placed the player rigth next to it so you should see it transport up in the air immediatly. If pinning works like you told do all pinning require that. I have pinned sprites whitout needing to do that. And i told you to not comment on my project. Telling me that my images are too big and that i have too many sprites and shouldn't call them all sprites is commenting. So now i feel a little worse considering i probably didn't need to share the capx. I just did it in case it was needed to solve the problem.

  • 208 MB ??

    Couldn't you make the capx bigger?

    Please do not be rude. My capx is big becuse i make my layouts bigger then neccissary. But it shouldn't be too big so what,s the problem? Can you not open it or what?

  • It exist two instances in my project. where the pinning doesn't work properly.

    Here is my capx: https://www.dropbox.com/s/4ks20oboupgz8 ... .capx?dl=0

    Note that this isn't saved in the latest version of Construct 2 so if you have that you need to download a earlier version to solve this.

    Please don't comment on my project just solve my problems.

    The first problem is in Layout 5. It's about Sprite and Sprite 67. The events related to the sprites is Event Sheet 4 Event 80-94. 94 is the most most important event however. I want Sprite 67 to Pin to Sprites position and angle. Instead when i test it i not positioned on Sprite. It's instead positioned far over Sprite. I want you to either tell me how to fix this or fix it yourself.

    The second problem is in Layout 9. Sprite 123 and 124 is pinned to Sprite 122. I have made it so Sprite 122 rotates. When i test, Sprite 123 and 124 doesn't follow Sprite 122s rotation and instead sticks to their original position. How can i make them rotate whit Sprite 122?

Calfuso's avatar

Calfuso

Member since 23 Jun, 2015

None one is following Calfuso yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies