MoonCrystal's Recent Forum Activity

  • Hello everyone,

    I've a got a weird problem with the node webkit export. I'm going to try to explain :

    I have an object "car" active with a bullet behavior. These cars, move to the left at a speed of 200 at start. The angle is set and the speed is set with a variable at the start of the layout. When a collision happens, I stop these cars (speed = 0 , stop the bullet movement etc...) , and a few second later theses cars start to move again at a higher speed (speed = speed +50).

    This, works correctly when I export the project in html 5 BUT, if I export it with node webkit , when cars start moving again after the "pause", they move backward...(to the right instead of to the left).

    This does not happen in html 5, only with node webkit. I try to set up the angle of motion etc... but nothing, same problem. Any idea ?

    It seems that if I play with the "enable / disable" bullet behavior option, I don't have this problem. That occurs only if I stop the cars with the set speed option of the behavior (set speed = 0) and only if you export (it seems that preview doesn't affect it).

    Thank you in advance,

    PS : (sorry for my english...)

  • No, in fact I would like an example that show that my problem in fact is not a problem to see what is my mistakes. I'm not be able to use this pathfinding in a laby pacman style with wall and holes that are 22x22 px.

    But thank you to try to help me ^^

  • waow, it's weird because I put them in center because at the top left, nothing works...at the same I had a value of -1. Have you got an exemple that works, like a capx may be I will make something wrong (other than the origin) ?

  • Hello

    Ashley do you have some news about this ? have tested the capx ?

    Thank you.

  • Re Hi,

    I tried with the last beta version (120) and the problem is the same :(

  • Sure,

    http://db.tt/Ilbm6M7p

    Look at this sample : it's worse :)

    In this sample, I have walls that have 22x22 and two sprites with the same dimensions.

    The red sprite is not be able to find a way to go to the blue sprite, at the same as I put -1 in the border property.

    It's "only work" if I change the hot point to top left for each element (walls and sprite), and it "works" but it's weird, because the sprite runs on the border of walls instead of take a "linear" path.

    The aim of this sample is to make a maze style, with "cell by cell" movement (like a pacman). The holes in this game have the same dimension that a sprite (22x22), the sprite should be able to pass throught theses holes, but it seems that the behavior is not be able to find a path.

  • I use both ! this one to random the seed I use in other one ;)

  • That's cool :) Do you think, with this new feature, my "path finding" problem should be resolved ?

    As you can see in my sample above, at the same as there is a holes 22x22, the sripte doesn't find the way to go. The fact is that when I turn the border option on with -1 the sprite finds the way but it doesn't respect obstacles (it "walks" on the border of obstacles, instead of walk throught the holes).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there,

    I have several questions about this behavior. I would like to make it work on a grid and only with horizontal and vertical movements. But it seems that is not possible ?

    Also, my grid is 22x22, when I have wall like this :

    111111111

    100000001

    100000001

    111101111

    The number "1" represents walls and "0" holes, that are 22x22 each. This is a closed square but on the bottom , as you can see, there is a hole that is 22x22 too. If I put a sprite in the "square", it is not be able to find a way to get out of there.

    I try to use the "border cell" function with -1. That works, but my sprite move on the borders of the walls :( and not with horizontal or vertical movement (it has diagonal movement too).

    Normaly it should be find the hole and go down but....no.

    Is there something that I missed ?

    Thank you in advance :)

  • still think Scirra should do a kickstarter to gain funding for a 1 year staff to make the Exporter Development Kit

    It is not a bad idea.

  • Ashley : My thinking about Html 5 is great. I prefer Html 5 than flash, performances are better and we can see that with C2 of course. How you said the problem isn't really the desktop or html 5, because we know that C2 is made arround this technology, this more mobiles, how you said in your post.

    You said :

    o yes, we're stuck with some difficulties in the mean time, but I am totally sure given time everything will be much better, and for right now today, there are workarounds like directCanvas and CocoonJS, as well as things like the Safari for iOS browser working very nicely, especially with iOS 6+.

    That means that all is not completly stucked :) and with time and patience, we could have better performances for mobiles with Cocoon or AppMobi etc...just take time to technology to be completly ready may be :)

    I prefer an answer like this, that is for me, more understandable.

    And I have always supported C2 ^^

  • You can respect the team / works of the team, and not be agree with some decisions.

    I am an early adopter, that's because I have always believed in Construct 2 and the Scirra's Team. And that's always the same.

    But we can have different opinions about some decisions that has been made.

    The fact is may be we are wrong, or...may be not. Future will tell us the story :)

MoonCrystal's avatar

MoonCrystal

Early Adopter

Member since 8 Oct, 2011

None one is following MoonCrystal yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies