Nabu's Recent Forum Activity

  • Really ? Nobody ? I edited the link in the first post so it now displays the pathfinder nodes onscreen. This is a strange behavior.

    Please, I need help on this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello ? Nobody ?

  • Hello,

    Here's a little capx to display a pathfinding problem. Any click to move the red sprite. Try to go left or right and see that it can pass through diagonal walls. R to retry and space to display obstacle map.

    https://www.dropbox.com/s/ta0lowufer55sm6/PathfindingProblem2.capx?dl=0

    Is this an intended behavior of the pathfinding plugin ? I use a cell border of -1 because otherwize the obstacles are way too large. And a cell size of 32, the size of the tiles. Why does the pathfinder ignore the size of the object that's moving, and make it pass through diagonals.

  • Hello MarkeGamer,

    I've never used the touch but, basicaly I think just check the direction of the touch (with somethin like touch start and touch end, I don't know) and apply an impulse with Chipmunk physics at that direction or an angle (switch to polar when setting the impulse).

  • R0J0hound,

    I didn't think of tiny tilemap, or pasting a little sprite. Thanks for the tip.

    It is a bug in your plugin using WebGL ? Or does it come from WebGL only ? It's strange.

    Thanks for your help.

  • Hey R0J0hound,

    I was using WebGL, and the problem doesn't occur anymore when I disabled it. Everything is correctly drawn without it. So you're right it's related to WebGL. So what can I do ? I used the Paster plugin because of that, in comparaison with Canvas.

  • What do you mean by orientation, scrolling ? In project properties, under Configuration Settings, you have orientations option, landscape, portrait.

  • Hello,

    Check every tick or every seconds if the object's size has reached a value, then disable the Sine behavior and set the object's size by yourself if needed (using scale object property, or dimensions directly).

  • No it's not mainly for big projects. It ensures that all ressources are loaded before doing anything. It's not a replacement for what you're already doing, it just loads all the graphics and the sounds if you have set the "Preload sounds" in the project properties.

    What you can do is wait for "On loader layout complete" to trigger and wait for the AJAX server side requests during the loader layout, while displaying a progression bar or something like that. Once all these things are done - you can here use variables for completion - you change to your next app layout.

  • fm4fanAT

    I'm gonn try it now.

    Thank you very much !

  • Sorry for this question, but I can't figure out how to mention the name of someone in a discussion.

    There's no button I see so quote the name or reference someone.

    How do you do that ?

  • Hello,

    To use loader layout you have to select the first layout to display in the project settings, and set "Use loader layout" to "yes".

    Then, in the selected layout event sheet, you have to set the system condition "On loader layout complete" that is triggered when everything is loaded.

    If you have only few ressources to load, you won't see the difference because it loads relatively fast.

    For the project file I think you should use AJAX object to make request and wait for AJAX "On completed" event.

    Hope this helped. Nabu

Nabu's avatar

Nabu

Member since 14 Feb, 2015

Twitter
Nabu has 1 followers

Connect with Nabu

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies