mikey555's Recent Forum Activity

  • Programmers should know of scoping, too.

    Absolutely! Since local vars are visually declared outside of the events that use them, I was confused and didn't think their values would reset. I was simply thinking of global vars.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ah! thank you, that helps. I guess I'm thinking too much like a programmer...

  • Thanks for the help guys. I think my method was way too complicated so I'm deciding to treat the rail pieces as a sort of linked list where the actual path is not known, only the direction in and out of the rail piece.

    Magistross, thanks so much for the behavior!

  • capx: drive (dot) google (dot) com/file/d/0BxHHLmonInAlcWpDazh4QTlGLTg/view?usp=sharing

    (sorry I realize I don't have the rep to post URLs, but I can't figure out how to upload attachments! If someone wants to show me that would be great.)

    I'm trying to calculate the angle between two points: when I press the mouse down and when I release it. In the layout, there are three text boxes. The first shows start and end X values, the second shows start and end Y values, and the third shows the angle between them.

    It appears that endMouseX and endMouseY are being set correctly in the OnRelease event. But, startMouseX and startMouseY in the OnClick event are not being set. This is what I believe is happening, but I don't have a license so I can't debug this.

    Thanks for the help!

  • I'm making a game where the player is building a railroad track on a tilemap layout and the train starts running, forcing you to build the track as fast as you can until you get to the goal.

    I'm having trouble figuring out how the train will find its path to take along the track. Since the track is never connected to the goal, I'm stumped on how to pathfind.

    I saw this () great post from a few days ago about a behavior plugin, but I'm not sure if I can use it because a complete path won't be possible.

    Does anyone have an idea about how to approach this?

    Thanks so much!

mikey555's avatar

mikey555

Member since 17 Jun, 2014

None one is following mikey555 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies