Calfuso's Forum Posts

  • I have set my project to autosave every 20. The autosave is stored in a autosave file. Yesterday the power ran out while i was working on my project. I hadn't saved for a long time so when the power came back and i opened my project alot of things was gone since i hadn't saved in a while. But the autosave has all the data. The problem is when i try to open my autosave it says that the document is empty and error. There must be a way to use the autosave, what would be purpose for them existing otherwise?

  • I want a enemy to begin with moving diagonially downwards but after 3 seconds move diagoninally upwards. To do that you make the event simulate control up and simulate control left and thus the enemy moves diagonially downwards. Then you make a timer that last 3 seconds. Then you make a second 8 direction behavior. After 3 seconds have passed you make the first 8 direction disabled and make 8 direction2 simulate control up and simulate control left. If this worked rigth the enemy should begin by moving diagonially up and then move diagonially up. But instead it just moves diagonally down even after 3 seconds has passed. Why doesn't the timer work in this situation? If this isn't clear enough i will share my event sheet.

  • How do you make a sprite shoot the bullet sprite in a half circle. I mean a upwards half circle not a downwards half circle.

  • I want to create a turret that shoots three shots. One in 0 degrees, one in 45 degrees and one in 135 degrees. So i made the event every 2.0 seconds turret spawn shot 1 set angle of motion to 0 degrees and the same thing for the other two shots. But the turret just shots in one direction. I have no idea why it does this since it's such a clear thing. If this doesn't explain good enough i will show the event sheet.

  • The closest i have gotten is using the Custom behavior whit move towards angle but it doesn't work. I want to both know how a enemy that walks and a enemy that floats can do it.

  • 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?

  • 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.

  • 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.

  • 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 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.