codah's Forum Posts

  • 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.

  • 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>"?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • can anyone help me?

    Maybe if you were clearer asking your question.

    Are you asking this?

  • If you're into 3rd party plugins you could just create the sprite you want in the first place (randomly) rather than leaving it up to the Family to choose. (nickname plugin). Otherwise all my thinking revolves around instance variables (like some ID value) that you'd have to set on all 100 sprites..

  • Has Google defined what a free app is? I would assume free means not getting a buck out of it, including ad revenue. I was planning on having cheap In-app purhaces to go with ads.

    Maybe you didn't go to the OP's link but it says it only applies to paid apps or those with in-app purchases, so I guess a free app is one with neither. (assuming the author is right)

    ^^^ I'm not sure a PO box counts as a physical address.

    But apart from all that... I'm not seeing any such request, and it was meant to take force by Sept 30. So maybe it's not everywhere, or not happening at all.

  • A timed event? You can use a Wait, or Every x seconds, or a Timer on an object, to delay between each event. If not, just have variables, stage1, stage2, etc.