Gearworkdragon's Recent Forum Activity

  • have you tried to setting up groups It may be the every tick keep checking but cannot move so it goes into infinite. I had that problem a while back. Try changing it to where if the timescale is at 0 and 1 to a respected group so that you could disable the group so that It isnt constantly checking the variables

  • Have you guy tried splitting the debugger menu from the actual game window. I've notice that If i am debugging with both the game and the menu on one window It tend to fuck up but if i manage to split it up it runs like a charm. such as debugger in one stand alone window and the game in the other window.

    The problem may just be the debugger itself that is taking a toll on the engine. and is not calculating properly and perhaps that there is a frame-rate math that is causing itself to loop infinity times over. but that just a guess on my part.

  • ok So i am a little confused now it is the same game same code problem with a new one that doesn't make sense. So I have the enemy AI do a series of choosing action so far i can get it to move and use a range bullet then reset moving and then re-choose of the three variable (1,2,3) the number one is just moving around. The number two is just for range bullet to fire at the player now the third one is for the enemy to move in and use an melee attack animation.

    the variable 3 (melee) is currently being weird on me I have it set up to where when path find has arrived create object the melee animation and then when it end it reset the action to back to the moving state. .

    Now you would think that putting a variable (3) here would just do just fine....problem is that once the variable 3 is chosen it does the melee attack first and then move to the player and reset itself because im using wait by signal and that is on the end of melee animation. I suppose its reading that it has arrived at the old path finder but I thought that by having the pathfinding to move start first then arrived it should have worked

    But I know that i tried overlapping sprite did not solve it it just made a new error that it cant reset itself if not overlapping and still does the same crap as before.

    My question is that does pathfinder arrived event is counting the previous pathfinder node or is this just a dirty bug that question the existence of the event ?

  • I think the hard part would be coding the Enemy Ai as if i recall they all have different movesets to avoid. But that really just animation making contact with the specific area you want the boss to do .

  • are you refering to this game ?http://store.steampowered.com/app/323580/

    if so then yes it is possible but it will take alot of hand drawn expert and knowing what kind and if you are worried about camera control dont this game look like its a 2d hand drawn just used clever 3d to 2d hand drawn realism. Basically it comes down to controls, variable, and Good art. It is up to you how you see the creation of your own hand. but first before you fire up construct two. Get a notepad write down the game what kind of action do you want, what sort of environment do you want, and once you got an idea then start making a state machine on your notepad. And then work on the event and action before the animation or art. then next add in what you want. If you want a good looking game like Jotun. Then either learn to hand draw frame by frame or ask a gifted friend.

    Anything is possible with contruct two.

    just look at some of the epic made game by contruct two.

  • there a couple of option but first draw a design that you want. Because I know you can do something like animation with frame set let say in all the frame you have a magazine clip but on each frame is one bullet art less until at the end. so that you can do each time you shoot go to animation frame self.frame+1.

    Or you can use some sort of a array pop / delete for that one. Most game uses an animation art with frame to show the magazine clip.

    But again send us an art clip of what you want and perhaps we can figure it out.

  • Holy cow I figure it out ....trigger once while true during event battle condition did the trick and the Int declare on the path finding. now its so smooth...WTF lol

    And it stop at the given spot....Here the upload for the fix if anyone been following me.

    https://www.dropbox.com/s/gyfsaablosqiy ... .capx?dl=1

    this works is such a wonderful thing cause I can continue with it. Thank you for your help 99instances2go you gave me the idea about the local variable and event...so i just randomly started placing the find path until it was the right one. and then trigger once was the deal. If anyone is having a path finder issue try Triggeronce that might be what causing this mayhem

  • I think what he want is to set angle in the property movement of the behavior to No

  • Hey Do you have a blog following your adventure with that pokemon engine.

    Im also working on something similar but man its alot of work lol. btw I know this might be wrong to use but You can get a handful of free attack animation and battle sound from rpg maker free edition i rip a couple of them out of there and build around it since they have a pretty solid art and perfect sound.

  • yeah sorry this was just a test theory and i found a better result is to use 4 four variable min x max x and min Y and max Y based on two image point. But i am encounter a really weird problem so yeah it bounces in the battlefield sprite but where my parameter for the pathfinding is going out of its boundary of min max of which variable i told it to use from ? and often times it just get stuck. And when i went to use my text box to try to find the pathfinding coor current moving to ? its keep moving never stopping ? I even remove all obstacle and turn off all solid yet it still pathfinding outside of the parameter I have set it to ? Am i missing a certain expression ?

    Oh and I rounded off the sprite polygon to see if it was getting squared stuck lol

    can you check it out ? Im trying to learn the behavior of the pathfinding but you mention tilemap I am curious do you have an example i could look at.

    You can redownload it it should be updated.

  • well I used the text to find that one spot on the image point 2 to see if it was the solid but I did manage make it move so what i might do is use something like on collide to record the x,y of each image point in a variable and then use that for a pathfinding coor.

    But i did encounter a new issue is that even if i did make to move to that destination it loop on itself trying to get there and just wobble never fully stopping ? do you have any fix for that ? cause id like to use on path arrived choose a new number to go to a random image point coor.

    What if I could do a math of where the battlefield sprite land to calculate the min X max X of the size and have a random value choose between based on where the battle field sprite lands.

    And add in on path failed to find to repick a number?

    and Ive alway thought that solid only applied to collision polygon that is set up not on the actual sprite itself ? or does contruct 2 think differently ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok so Ive been working on an example to make a battle arena type that would make a border of the battle when you collide with an enemy and then start the battle.

    And here I was thinking oh hey I can totally use this giant arena sprite and add in image point to control enemy Ai movement by using Pathfinding.

    and so I name each point Action with a number of 1 - 9 and its laid out in a grid so that the enemy would choose a number and then I would path find to that sprite image point using

    Sprite.imagepointx("action"&(enemy.B_action)) Same goes for Y.

    Ok cool it moves .....wtf its isnt even going to the right spot its running into the border its get stuck refuse to move it pass up the spot its suppose to be at.... Ive tried on path finding arrived stop .....It just get stuck refuse to move after. and sometime if i do get out of the battle arena that same sprite seem to follow a pathfinding ...even if the object is destroyed.

    Here my question is there a way to see the pathfinding in action in a line so i can See what the bloody hell is happening or would you guys like to take a look at it ?

    https://www.dropbox.com/s/gyfsaablosqiy ... .capx?dl=1 This will auto download.

    I found a really strange behavior so i move the variable from the sprite to a local variable and then I added in if it zero then choose 1-9...this shit just infinite choose itself how is that possible what ever I place a once trigger that stops it. ok fine next nothing will make it find a path so i did a little test of just one at a time. It still refuse to move. Im at lost in this pathfinding shit. also i found something strange is that if you dont have the variable with a once trigger then it will infinite find a path without letting it move. So i re did the code to just that one variable and no choose....now it wont move at all. I cant tell if it unable to find a path or the waypoint of the path does not exist what the bloody hell is going on. This shit is freaky.

Gearworkdragon's avatar

Gearworkdragon

Member since 2 Feb, 2015

None one is following Gearworkdragon yet!

Connect with Gearworkdragon

Trophy Case

  • 9-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

11/44
How to earn trophies