mumu64's Forum Posts

  • Joskin I am guessing this will do: count how much time passes * X and you have a value that keeps increasing when you jump?

    If so, that would be a solution to me. I will try this as soon as I can.

    Thanks!

  • Joskin: I will as soon as I can. Thanks.

    7Soul: good suggestion, but I would want to add up Y-distance traveled with every jump the object makes. And the object can fall down. So after 3 jumps, the player stand on the same place as when the layout started, but I would want (as statistic) show how much Y-upwards it has traveled.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, I understand.

    My problem is how to measure the Y-distance traveled at every tick. (you mentioned to use an event like jumping or falling, that is not what I have in mind)

    I tried:

    every tick: store Y into variable1.

    every tick: store Y into variable2.

    If variable1>variable2 (meaning: object is moving upwards): add (variable1-variable2) to VariableTraveled.

    Result: variable1 and variable2 were always the same. VariableTraveled remained 0.

    Examples:

    As in the game doodle jumper: how far have you traveled upwards?

    Or: During a level a balloon (platform behaviour, no bullet behaviour) gradually moves upwards and I want to display how many meters the balloon has traveled.

    I expected: every change in Y-movement

  • I have seen that the Bullet Behaviour can do that, I think.

    But I have a platform behaviour without bullet behaviour.

    I would want: when player jumps, show on the screen how high the player is.

    Is this possibily built in?

    I have tried distance(x1,y1,x2,y2), but I think I do not understand how to use this command, or I can not use this command to get the result I want.

  • Thanks for the replies, very useful!

  • What is a good method for creating tutorials (or levels)?

    Let's say you have a puzzle game with different levels.

    I started making level 2 in a new layout, with a new event sheet.

    I wonder if I am doing this in the correct way, because the new event sheet doesn't "know" anything. I end up copying all important events to the new event.

    Is that how you make new levels (or tutorials?)?

  • Thank you, cow that is encrypted.

    That was exactly what I was looking for.

  • I don't understand this:

    This is my situation:

    Group

    local variable Switch = 0 (initial value, not constant or static.)

    If clicked on mouse, set value Switch to 1.

    But when I check the variable, it stays at value 0.

    Why is that?[

  • Have you tried pes 2014 and do you like it?

    At first I was disappointed, but after a while I was blown away by it. Great game! I would rate it at 80-85%.

    (I only do exhibition matches and rarely play online)

  • Nice^^ Star Wars ?! :D

  • I can't find the answer by searching in the forums, because angle is a too generic term, I think.

    How do I change the angle of a top down car sprite?

    I added the car behaviour and now when I press "up", it moves sideways.

  • Ashley/Tom, here's a screenshot.

    Hope it helps.

    http://www.fmscreenshots.com/viewer.php?file=deqa44kkikz6k4xfzsh.png

    When seeing the screenshot in full size, the "latest blog entries" in blue are fine and easy to read.

    But when you start reading the blog itself ("optimisation"), it is harder (for me) to read.

  • The site's font (in blogs and on the main page - not on the forum) is difficult for me to read somehow.

    I tried increasing and decreasing the size of the font, but only a small size (not comfortable enough to read) seemed ok.

    Is this just me?

    I'm using windows xp and google chrome.

  • Thanks, I think this helps.

  • How do I create a sprite near a sprite with a certain variable?

    The level has 5 identical square-sprites.

    1 of them has variable "TheOne=1".

    The sprites all get to be (randomly) TheOne=1. Also, the sprites move randomly.

    I want to create a 6th one (and maybe later a 7th one).

    I wonder how I make this work:

    create new square sprite at sprite with variable TheOne=1.

    Only thing I can think of is to use assist-tools, like adding an invisble sprite over sprite with variable TheOne, so that you can more easily tell the new sprite: be created at that invisible sprite.

    Is there another (better?) way?