locohost's Recent Forum Activity

  • You see the C2 gear logo, the loading bar is blue until about 64% and then it turns red and everything freezes. What is happening and how do I debug this?

  • Here's a really simple new feature: I really want to add a comment immediately above an action to break them up and add clarity.

  • grigrizljac +1 to the configurable export location!

  • How'bout "containers" for Families? Each time you create an instance of something in the family, it automatically contains the family container object. I could use this right now for sure.

  • It didn't work out that well.

    What is sgn15 is suggesting with the sensor points is quite clever. It should work very nicely if implemented correctly. I'll be trying this soon. Put the points along pathways and at intersections and turns. Add some logic in the points to intentionally direct certain sprites or even randomly turn them or make them act based on where they are or what they might have in LOS. It's a good idea.

  • Ok. I would suggest making sensors (invisible objects). Better yet, make different sensors for different movement directions.

    If enemy overlaps sensor_right, move right.

    If enemy overlaps sensor_left, move left.

    and so on.

    then you can also check line of sight or distance from player.

    This is very interesting. I think I can use this. Thanks!

  • Google for some articles about JS "closures" and referencing vars outside of a "callback"

  • R0J0hound Thanks again! This is exactly the info this thread needed. So calling functions, passing in UID as first param, then doing PickByUID is definitely the way to go. Beautiful.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0J0hound That was it. Thanks for the extra detail. It actually makes sense when you see that. Thank you!!!!

  • I have a top-down game. 384/128 is a position directly above (North) of the Worker sprite. But when I click the Worker it moves to the right (East). The angle calcs to -90, why not 0? Why is the angle calculation not working?...

    [attachment=0:55hdm4g4][/attachment:55hdm4g4]

  • > For me:

    > ... 1) Instance methods or pass object instance ref into functions

    > .

    >

    I do that using Params, and I pass object UID, then I pick object by UID within function

    I'm already doing this. Not the same thing. I'm looking for something better and I'm pretty sure it's never gonna happen

  • The events are intentionally a subset of a traditional programming language. That is why they advertise "no coding required". For those that want to "do coding" that is what the JavaScript SDK is for.

    This is true. I'll look into coding a behavior sometime very soon.

locohost's avatar

locohost

Member since 19 Sep, 2014

None one is following locohost yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

14/44
How to earn trophies