jerniganj's Forum Posts

  • 4 posts
  • Thanks Kyatric! I have posted my capx here: dl.dropbox.com/u/126021636/mars_v1.capx

    i set the window size to 1000x700, and the layout size is 3616x3616 (divisible by 32). There are only 2 main things going on in the capx. One is the click once on screen to move player to that location, the second is to click and drag to scroll around the map.

    My only problem is that when i drag the background past the window size and click, the player will not move. If i click anywhere inside the 1000x700 area, the player does move. Thanks if you or anyone can figure out what happening!

    I was able to figure it out! Very sorry, after posting this i looked at the code i was using from the example capx and realized that there was a limitation comparison set for Mouse.Y < WindowHeight and Mouse.X < WindowWidth. I just changed those to LayoutHeight & LayoutWidth and all set! Still learning. thanks for your response, I appreciate your support

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks Kyatric! I have posted my capx here: dl.dropbox.com/u/126021636/mars_v1.capx

    i set the window size to 1000x700, and the layout size is 3616x3616 (divisible by 32). There are only 2 main things going on in the capx. One is the click once on screen to move player to that location, the second is to click and drag to scroll around the map.

    My only problem is that when i drag the background past the window size and click, the player will not move. If i click anywhere inside the 1000x700 area, the player does move. Thanks if you or anyone can figure out what happening!

  • Just to follow up, i put a JS alert in the plugin runtime.js to test and i saw that the "this.support = this.runtime.running_layout;" code is getting the correct layout width and height. The problem is the pathfinder does not seem to work on the entire layout, only the original window size from the project settings. The proj window size is 1024x1024, and the layout size is 3616x3616. If i click outside the 1024 area on the layout, the pathfinder will not recognize. If you have time to take a look, thx

  • Hi Kyatric,

    I just started using C2 and i think this is a great plugin! I only have one question that i can't seem to figure out if you can help. The player's movement to follow the path seems to be limited to the size of the project "Window Size" not the layout size. I have a layout background that is double the size of the project's window size and if the background has scrolled past the window size, and i click, the player will not move to that location. They seem to "hit" and edge and start over where the window size edge was. Is there a way to set the PF board rows and columns manually? Or am i doing something wrong that is causing this? Thx!

  • 4 posts