graham-s's Recent Forum Activity

  • So, on Apple handhelds we can't display a web page with scrolling? Which is like most of them..

    If this is true, a wtf springs to mind! Thats a lot of an audience that can't participate!

    Is there any way with C3 that you can display a web page where a person can scroll through a page without leaving the main C3 app?

    • None of the old ports from C2 came to C3.
    • Yes, I've searched the forums, frequently and relentlessly without a working solution.
    • I've tried to port it myself, but that's beyond my skillsets (and no it didn't work)
    • I did try to use it in an iFrame but that wouldn't work either.
    • *Edit* I know I can open a URL with the browser object, but then I leave my UI experience.

    I am aware that there's a potential cost and an API key is needed. I have the API key, and the costs only associate after a certain number of hits. I'm fine with this.

    Anybody been successful in getting working maps?

    Thanks

    Tagged:

  • AllanR, Thank you - I will check it out.

    I always find it ironic that I can rapidly move through development and hit a brick wall on occasion! Luckily its folks on these forums that at least get me going again.

    Thanks for the project too, appreciate the time and effort!

    Graham

  • OK, thanks again for your input.

    It's a pernickety little beast ain't it! I also found that if you have a sprite in the container that you haven't used, you also get unpredictable results...

    Lessons learned!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK, I think some of this is a bug. I created a sample project and it corrupts the sprites as soon as I use an instance sprite.

    I'll file it as a bug and see what happens.

    Here's the sample

    https://www.dropbox.com/s/eafid7y6xdq697v/Sample%20Tree.c3p?dl=0

  • As an addendum weird one, in layout mode the pieces are selected all over the place.

    I even removed all the other trees, created the container on one, then recreated the trees with the same results.

  • OK, ran into a snag

    It all looks fine in the layout editor, but when I run it, everything goes to hell.

    The left pic is layout, the right is runtime.

    Other than the containers, I don't do any sprite placement whatsoever.

    Thoughts?

  • Got it, thank you.

    Removed the families.

    Added all the tree sprites to a container on the bottom of the tree.

    On Collision with the tree bottom.

    Enable sine on sprite1

    Enable sine on sprite2

    Enable sine on sprite3... etc

    Cheers.

  • OK, I admit defeat, after another 4 hours trying containers, families, hidden placeholders I still can't figure it out :(

    At the tree trunk I added a hidden sprite so I could add it to the family/container and then shake it with the others. It triggers, but doesn't use the family sine behaviour, just its own. I'm not sure if I'm supposed to pic the family sprites but not sure how to.

    (In case someone asks, I can't post the project since it has licensed material in it.) I might try and put together another sample however.

  • Thanks for the prompt reply, I will go look at that right now and report back in.

    Cheers.

  • I've hunted the forums, but not found what I need.

    I have a Tree sprite made of 10 sprites. A bit like this...

    F=Foliage, T=Trunk and B=base.

    FFFF

    FFFF

    FFF

    T

    B

    The plan is, when I collide with the Trunk, the foliage shakes.

    The Foliage sprites are in a family called 'TopOfTree'

    When the player collides with the 'T'runk, I enable the Sine behaviours that are in the 'TopOfTree' family.

    How can I achieve this?

    I did add the base and trunk to the family, but only the base shakes (which shouldn't shake at all). I know I need to select all the other sprites that make up the family but I can't figure out how to.

  • Sprite1 on collision with Sprite2 > Sprite1 Destroy

    Sprite2 Destroy

graham-s's avatar

graham-s

Member since 24 Jan, 2018

Twitter
graham-s has 1 followers

Trophy Case

  • 6-Year Club
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

9/44
How to earn trophies