R0J0hound's Recent Forum Activity

  • A slightly different approach would be to list the neighboring countries for each country and do some kind of path finding with that. Then you’d color the country you clicked on based on the number of countries away you are.

    Again I don’t have a simple solution for that either. You’d need some kind of node based pathfinding.

  • There isn’t a super simple solution to that. There is an algorithm called gjk that gives the distance between objects. There’s also mpr that could possibly do that too but there’s less info online about that.

    Worst case you could loop over all the points and edges of both objects and measure the distance between them. The lowest would be the distance. Just point distances could be good enough.

  • How far did you get trying to convert it yourself? Anything you get stuck on? I’m not interested in doing that kind of thing but can help here and there. For example the ~~ is the same as int().

  • Try some beginner tutorials. They will get you up to speed on how to do that and more.

  • That style is called isometric. That should help you find related topics. There are no plugins for c3 that help with that as far as I know. Collisions and motion are kind of 3d so in construct all that is done from scratch. You also need to zsort the objects which can vary in difficulty.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's a few ideas:

    An idea to make up track of modular pieces. Straight and perfect arcs.

    dropbox.com/s/quzp15smcjkljd4/train_wip2.capx

    An idea to move along a Bezier curve. The curve is converted to a polyline to ensure constant speed along the curve.

    dropbox.com/s/m0pk8zvqoj08kr7/move_on_dashed_curve.capx

    A slightly different way. It skips the polyline conversion step and still gives relatively constant speed even when nodes aren't evenly spaced. For a curve loop.

    dropbox.com/s/6mu2yolmavp5ap9/followSpline.capx

  • Cool. Always nice to finish a game. Looks interesting.

    I’ve always pronounced it roho, but rojo works too. When it comes down to it I used zeros instead of O’s so it’s not really pronounceable.

  • Isn’t no official response fine? Ashley only responds quick to shoot down an idea. We could also extrapolate what the possible reply could be based on previous replies on this topic. Typically we never know something was being worked on till it was basically done. There’s probably a reason for that. How many times has someone started working on something and for whatever reason couldn’t get it working? He could be working on something or doing nothing related to this.

  • You do not have permission to view this post

  • I’m sure the cameras rotate actions are useful but I just stick to the look at action as it’s easier to get it to do what I want.

    Had a glance at your example and one issue I see is what you’re using for the look at. It needs to be a position at an angle from the players position so sin and cos will be involved. Basically this:

  • You mean calculating the area of the shapes? The arrays have all the points of the shapes. You’d just need to loop over each edge with something like this

    Area=0
    Repeat p.count times
    — add (p(i+1).y+p(i).y)*(p(i+1).x-p(i).x)/2 to area

    At least that’s the idea. It would have to be adapted to an array. And the I+1 would need to wrap around to 0 when past the end of the array.

  • It was posted before but I couldn’t find where. So there’s this.

    dropbox.com/s/i7vrebn55xor8p5/mesh_slice.c3p

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound