Calfuso's Forum Posts

  • I can't make a seperate file everytime i have a problem whit something. So if the fact that my project is too massive is the reason why no one is replying, please try to ignore that fact and still look at my project. You will start at Layout 50, the layout where the problem is. The problem sprite is Sprite 1258. If you search for Sprite 1258 in Event Sheet 4, you should find all events related to it. You can also help whit making my project takes up less memory if you can. I have done my best to make it take up as little memory as possible.

  • The enemy sprite 1258 is supposed to move in different directions. But rigth now it just moves in 0 degrees and never changes direction. I have tested it alot and it always moves in 0 degrees purely. I doesn't have anything in the event sheet that specificly would make it move more in 0 degrees then any other angle so i don't know what to change. This is about a advanced enemy behavior so it could be hard to solve but i would be glad if anyone could. So here is my project. I want you to make it so that Sprite 1258 does not just move in 0 degrees basically. You don't need to figure out how the enemy is supposed to move i just want you to make it move in any other way then 0 degrees. And please don't say something like, your project takes up to much memory and is to massive for anyone to look into. I didn't want to make a seperate file to show off the problem so please try to look into the full project.

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

  • I have a easy problem that i need help whit fixing. Sprite1258 is supposed to change movement direction constantly whit the help of Sprite 1288s timers. The problem is that Sprite 1288s timer never starts or doestn't make Sprite 1258 change direction. So i want to know how i should make it work. This is a very easy thing and thus i can't find a reason to it not working. So here is a capx whit just the problem and nothing else. So i would be glad if you could tell me what i am doing wrong so i can make progress whit this.

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

  • It doesn't matter that my capx takes up alot of memory and is massive. When you start the project you immediatly start at the layout where the problem is so you don't need to worry about all the other layouts and most things basically. The problematic events is also the latest events in Event Sheet 4 so no need to look for them. I have done all i can to make the capx take up as little memory as possible and if you know some way to make it take even less you are free to do it. But anyway if you still is hindered bu the high memoru usage here is a capx whit only thhe problem and nothing else. Evyrything is the same.

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

  • If you wonder what the sprite is supposed to do is that it should change movement direction. In the currents state its starts whit moving one direction but never changes direction even though it's supposed to.

  • I tested the On Animation ended solution but it has problems. The sprite is supposed to be affected multiple times. So after it has been affected by a another sprites on animation ended event, it still needs it to happen again multiple times. So i added the action, go to frame 0 to the On animation ended event so that the animation would run again and reach the ending frame. The problem is that if you have Loop set to no, the animation goes to frame 0 but don't go on past that. If you set Loop to no it goes past frame 0 but the effect the on animation ended is supposed to create doesn't happen instead. That could be becuase the On animation ended event doesn't work whit looping animations but like i said making it not loop doesn't work either. Thanks for the suggestion anyways. It maybe could work, if you could give a solution to these problems.

    But in case there is no solution to the problems whit that suggestion, here is a copy of my capx. The capx takes up alot of memory, so now you know that and don't need to comment on that. I have changed the appearance of some sprites for private purposes. When you open the capx you will start on layout 50 where the Sprite 1258, the spriet whit problems is located. The latest event in Event Sheet 4 is the ones that is connected to Sprite 1258. Please don't look deeper into the project then necissary and don't comment on anything that isn't neccissary.

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

  • If you can't answer the question whitout looking at a copy of my capx, say that now.

  • Yeah, I had told you I fixed it for you. I actually haven't sent it to you, as for what you mean. I've been holding onto it for a while. You're free to have the fixed one if you wish, though.

    I can't find a place where you linked to it. If you are talking about the Movemnt switching question, there is no link to a fixed capx in any of your replies there. So i would be grateful for a link. If there is something else you are talking about then what problem is it? And once again, this a different problem then the movement question.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What can the problem be if you can't make animations or values start timers? Whit animations i do make it so that the timer only starts at the animations first frame and whit values i only make it so that the vales immediatly switches to something else after it has started the timer. Still the effect of the timers never happen. So what can the problem be?

  • I have downloaded that capx and it was helpful making me understand things, i just didn't reply, sorry about that. But this is a different problem then that. Also has there been any progress whit the movement swithing question?

  • I mixed the Is Playing Event and the compare frame event but the effect of the timers never happens. I don't need to say more about the matter. It has worked before but not whit this sprite for some reason.

  • I'll see what I can do soon, and will try to find a solution for you ASAP , but I hope you don't mind if I optimize your capx a little.

    What do yo mean whit optimize? i don't want you to do change something major or look deeper into the project then neccissary. But no matter what i happy for help.

  • Like i said debugging did not work. If it should work so tell me a way to use it in the rigth way. I just want someone to fix this since i can't fix it myself or tell me how i should fix it. I would want a answer.

  • https://www.dropbox.com/s/ntlcy96kxs75n ... .capx?dl=0

    Here is my capx. When you open the file you will start at Layout 42, where the problem is located. The sprte that has problems is Sprite 1073. Search for the name in Event Sheet 4 and you should be able to find the events related to it. The sprite does not look like it does now, i just changed it's appearance for private purposes. I have already explained what i want the sprite to do so i hope you can fix the problem yourself or find a way i can fix it. My project takes up alot of memory, now you know that and don't have to comment on that.

  • The thing whit debugging. I have used debug mode alot to great effect. Debugging the layout whit this sprite did help a little but not by much. I found out that i had made a event that made Sprite255 set Direction2s value to 4 so long 8 direction was moving. It is 30 from the start and is supposed to switch to 1 when it has fallsen off the platform and switched from platform movement to 8 direction movement. So making it set 4 constantly clearly hinders that so i erased that event. But Sprite255 still does not work. It is supposed to disable it's platform and go back to 8 direction movement and set Direction2s value to 1 when it collides whit a sprites that it automatically falls on when it falls off the platform. Instead it doesn't disable the platform behavior ans does not set Direction2s value to 1 and it remains at 30. So Sprite255 falls down to the bottom and keeps moving the left into the wall.

    Here is a video showing how things turn out. The problem is that Sprite 255 changes to Animation2 whitout anything in the events triggering it. It needs to be in Animation3 for things to work out. Even if i manage to make it so it does not do that it will probably still not work. In this video i am trying to show how things turn out, the events and the sprites related to the events.

    https://www.dropbox.com/s/1y457xtg1zf74 ... 8.avi?dl=0