codah's Recent Forum Activity

  • character: on collision with object?

  • Don't forget to use parallax 0,0 on the HUD layer. I also have a square sprite (useful at design time) that shows me the 'safe zone' where stuff will be displayed despite the aspect ratio.

  • I use scale outer and anchor on a portrait app and its fine. Check the tutorials, there's a couple of good ones on this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not to simplify your problem too much, but have you looked at the Anchor behaviour? I've only recently used this for the first time and it's good for me. In conjunction with designing my app for different aspect ratios it's been quite effective for me to implement HUD-like UI elements.

  • I'm just doing the same thing. I'm planning to have another webstorage value indicating the last save (if there is one). You could have a webstorage value indicating if each save slot is empty or taken.

  • Hard to say, try and see. I'm not sure why you're doing your own drag and drop code but it that's fine, might be more flexible for you.

  • Thanks a lot! I just checked it out. It is not what I exactly meant, but at least now I have seen an example of spritefont.

    In your 2nd example:

    Let's say head1 and tail1 are a couple.

    How would you check whether the head and the tail-sprite on screen match?

    So: head1 and tail2 on screen: no match.

    head1, tail1 on screen: match ("do something").

    I am going to try something again with instance variables again. If I have something, I will post it.

    If you could state all your requirements at once, I can help, otherwise it's just guessing

  • > The Toggle-switch behaviour might be useful too.

    >

    Is that something that already exists? Or are you suggesting? I can't find this in the Behaviors?

    It's 3rd party, look in the completed add-ons forum.

  • Run the path finding, store the point locations and then add a sprite to the locations where you want a dot. Then connect the dot sprites with a line as you go?

    Looks like he wants the points before doing the pathfinding though? The pathfinding demo already draws sprites at the node locations, maybe do some spline curve magic between those points. It will approximate the path that will be taken, but I don't think you can ever know the exact path that will be taken.

  • well I did this before seeing your last post. See if it sparks anything.

    [attachment=1:3atg4g6g][/attachment:3atg4g6g]

    edit: 2 groups. you still need to refine it [attachment=0:3atg4g6g][/attachment:3atg4g6g]

    edit: after re-reading your original post, I think you'll still need a famly instance variable that will match head with tail (e.g. 'head type', 'tail type' or something).

  • So, "if any 2 (and only 2) sprites (chosen from 100 different sprite object types) are on screen-><do something>"?

  • can anyone help me?

    Maybe if you were clearer asking your question.

    Are you asking this?

codah's avatar

codah

Member since 30 May, 2014

Twitter
codah has 1 followers

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies