Gearworkdragon's Forum Posts

  • basically your event is remembering the old press down what i did was instead of press down i use press released that usually solve it.

  • I was wonder so im making a bullet hell type shooter. And I was wondering how can i bound the ship to an area where my UI is and not have the player to go off the game.

    I know what bound to layout but this is within the given area. Is there some fancy footwork i can do this easily or do i have to create invisible solid sprite ?

    Just a quick edit here I am using movement of mouse using everytick to mouse position is there something similar i can use so that the UI can be solids to do this with ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • what about two condition If D is down and let put in every one sec add one to a variable

    If variable is greater then 5 with the condition of D is down stop dash ?

    If D is release reset variable to 0 ?

    You can change the variable number but this is just another idea you can try or build into.

    and the variable can only be change when D is down. Does this work ?

  • Also try to check how many every tick you are trying to use. And avoid it at all cost if you can. Try to come up with a different solution for every tick.

  • I remember encountering a similar problem but wouldn't it be best to use variable for one sprite that can be change for each new of the same sprite created. I found that using one sprite and use a variable layout name for each place that would change layout so that i could find the right spot without guessing frame number.

    But to each one insanity i suppose.

  • keep in mind that when you are doing story mode or making a game type with this is that any variable that you have preivously saved for a layer will be there and it doesnt delete it self when switching layers. You might want to do layout instead if you choose to do so.

  • maybe if you access the cookie list it should be listed like something like Localhost:5000 ? Like as in the same name as the game in the browser? Im curious about this as well.

    I mean if anti-virus scan can find those cookies then we should be able to manually find it as well ?

  • What about using timer to call when it ends.

    Let say you press the button have it start the timer and the dash. when timer ends stop the dash.

    and if button is release stop timer and dash. ?

    I havent tested this yet on cause i do not currently have any project that call for dash yet.

  • In the property side menu of when you select the sprite at the bottom of it there should be something call in. frame and it should be default at 0 just change it to 1 or where ever the frame you are using. and make sure that your sprite animation speed is at 0 otherwise it will want to play the animation as if it a movie.

  • you cant do "not colliding with" because that is what that trigger is for. Kinda silly at that point.

    But have you tried timer do when colliding start timer of 1 sec

    when timer ends -1 hp. I fear that the problem is that when you collide that its repeating the event so it reset the action infinite at the beginning.

    But id like to know about this i currently have the same problem. Timer did work for me somewhat lol

  • do something like set text to variable &" Million "

    What this is that the variable is the number of that million and the "&" is just a placement to tell the code to add something the (" Million ") is telling what non variable text to put here.

    So it should turn out like 1 Million on your textbox.

    If i am guessing right you are making something like a farming type game or idle so add this condition if Million is not equal to zero set text to variable&" Million " So in other word If million is at zero it will not run but if it more then zero then it will set the text. This is the easy version There are other more complex version.

    But id suggest to try to label each text box according to the value it represent. so one for million , hundred thousand, ten thousand and so on. This would make it really easy to keep track of where you are with the currency. rather then having a total number divided by the next current number.

  • That cant be cause i created all the body part and armor pieces using piskel and realigned them on the editor layout before the pin...another thing is that I can swing the arm all day long and no drag effect.

    Another note is that all the sprite are roughly the same size so placement shouldnt be the issue.

  • ok so in this game i have this neat little idea concept of armor that would get damage and change animation until it disappear. After reviewing and splicing other Swf files and studying the effect various of people. I saw that they were using multiple layer of sprite and pin to the body part. So i have my main body which has one arm pinned and then a shoulder pad pin to the arm.

    Problem is every other armor pieces work just fine except for the shoulder pad....It just lagg behind like a rope effect and then drag back to the pinned spot...and this only occur during movement of the platformer behavior

    And I am dead curious if it the limit of pin as in the pin of a pin cannot work properly ? or is it some weird bug with pin behavior because it is the only one that is giving me this problem.

  • Have you tried using timer ? such as this is idle animation playing start timer....then when timer ends do the freak out animation. Or you could extend the idle animation to match the 30 second and then do on animation end do freak out animation.

    That should be what you need.

  • Um this doesn't make any sense, are you asking about variable or animation? ......a sprite cannot do any action until an event is ran. So could you explain your question or rather express it better ?