philipgertsch's Forum Posts

  • 10 posts
  • Oh. My. Gosh.

    ... where has my brain gone. It must be somewhere...

    THANKS

    Cheers from Switzerland!

    Philip

  • Sure!

    You'll find the "create object"-action in the part where you see the "on collision with Nagel" ...

    There it should create the particle object called "Explosion" at the exact same place, where the sprite "Spieler" stands. But it's obvious that it doesn't work as long as the "scroll to"-behavior is enabled...

    Can you see the problem?

    Thx for your help!

  • Hi folks!

    I'm about to copy the "Geometry Dash"-game for education.

    My question: How is it possible to get the absolute x-position value of a sprite? It seems, that, when scroll-to is enabled, the "spawn another object" or even "create object"-action doesn't work when using the Sprite.X | Sprite.Y-values...

    When I turn off the scroll-to-behavior, it works... but I need this behavior in order to get the game done.

    Reproduce the problem in the demo below by once jumping on the first triangle... (it works) BUT THEN jumping on the second or third triangle (the explosion doesn't spawn at the right position)...

    DEMO: http://gertschp.myhostpoint.ch/PositionProblem

    CAPX: http://gertschp.myhostpoint.ch/PositionProblem.capx

    Thx for your help!

    Cheers!

    Philip

  • Thanks... but when I'd remove the "set y to 440", the sprite wouldn't jump everytime it hits the ground... and it should jump everytime. When the sprite lands on the floor, it doesn't land straight, but always with some left-over-angle from the jump... so that's why I'd have to set the sprites y to 440...

    Do you see, what I mean?

  • Hi folks!

    Simple question: Why does my sprite get stuck in the platform?

    DEMO: Try to jump on the platform: http://gertschp.myhostpoint.ch/jumpProblem/

    CAPX: http://gertschp.myhostpoint.ch/jumpProblem.capx

    Edit: Apparently it has something to do with the fact, that the sprites Y-position gets reset to 440 when "on floor"...

    Thx for your help!

    Philip

  • Thanks very much! This was new to me...

    Now it works, I placed a sprite with "Timer"-behavior somewhere beside the layout and made it run "on start of layout". It now triggers every 3 seconds.

    Thank you sir - and, have a nice day!

  • Hi folks!

    I'm about to copy an existing app for educational reasons (I'm a teacher...), but I'm stuck with something... and I'm about to give up... after hours of thinking...

    The problem:

    I've got 2 layouts, one is the "Start"-Layout, whose only purpose is to forward to the 2nd layout "Level 1".

    Now, if one presses the space-bar, the 2nd layout appears and the game starts... everything okay then, right?

    No! For some reason, I clearly don't understand, the "every tick"-condition, that is written into the 2nd event-sheet, runs all the time - even, if the 2nd layout is not active...

    Don't believe me? Just do the following...

    1. Preview the project

    2. Don't wait, press the space-bar

    3. You should see 5 rows moving downwards...

    4. Restart the preview

    5. Wait 2-3 seconds (or so...)

    6. You should see, that, depending on how long you've waited, the padding between the 5th and 6th row changes...

    WHY? Well... the first 5 rows are system-created on "start of layout"... while every subsequent row is created on "every 3 seconds"... But why is the "every 3 seconds" running, while the concerned layout is inactive?

    I hope, one can see, what I'm trying to say here... if not... there's a capx-file with the whole code... I realized, that I can't reproduce the problem... so I'm posting the whole project (but it's a very little project, so... <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">)

    The capx-file: http://gertschp.myhostpoint.ch/EveryTickProblem.capx

    There's even a small clip: http://gertschp.myhostpoint.ch/EveryTic ... _klein.mov

    Thx for your help!

    Cheers,

    Philip

  • Aloha Scirra!

    There seems to be a broken link on your start page ... it's not possible to download the stable version of C2 (it shows r206 in the link description), as it only shows an error message, saying: "Unable to open page".

    Thx for fixing and

    Have a wonderful day!

    Philip

  • You Sir. Are. My. Hero.

    Thx a lot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there

    This is actually my first post in the construct2-forum. So, if I, by any chance, landed in the wrong section, please tell me so <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    My question concerns the "text"-object, showing the score in my Doodle Jump game... somehow I cannot manage it not to "lag" or "shake" or whatever you call it... When the Doodle Jump Sprite falls down, the score-text-object tries to catch up with the speed of the sprite (it has the anchor-behavior) but obviously can't.

    I hope, you see, what I'm trying to say... if not... here's a little movie... just have a look at the upper left corner, where the score-text-object is placed...

    http://gertschp.myhostpoint.ch/Construc ... -klein.mov

    You can find the project file here:

    http://gertschp.myhostpoint.ch/DoodleJump.capx

    You can re-create the problem, when...

    • Layout is 750x4002
    • Window is 750x1334
    • Sprite starts falling down in the top third of Layout and has the "Scroll To"- and "Platform"-behavior on it
    • Text object is placed in the upper left corner and has the "Anchor"-behavior on it

    Thx for your help and

    have a nice day!

    greetings from switzerland

    philip

  • 10 posts