LittleStain's Forum Posts

  • Wouldn't using different animation-frames or animations do the same?

    There is the load image from url - action, but it seems like overkill in this situation.

  • There are many ways to do this, without more information it would be hard to answer.

    In the new project dialog, there is an example project "move to mouse"

    Maybe it will give you an idea.

  • Your question is not really clear.

    I guess you read this?

    https://www.scirra.com/tutorials/318/ho ... ng-screens

    The downloading occurs in the background when starting the game.

    After the downloading has finished the game should be restarted to use the new downloaded version.

  • There's more than one tutorial about highscores in the tutorial section.

    I assumed you new how to do this and had a specific reason for having to use the localstorage instead of a combination of global variables and local storage.

  • Easiest way would be adding a global variable level1score

    on level1 completed (this is not an official event, but I'm sure you have an event taking place at this time)

    system compare variable score > level1score

    localstorage - set item "level1Score" to Score

    system set level1score = score

  • Every time the light goes of the wait the event is triggered one time.

    If the wait time hasn't passed yet MosqOn is still 0, so all actions will be executed.

    Dragging the action system set MosqOn=1 above the wait action will prevent this.

    Construct reads events and actions from top to bottom, so the order in which they are placed can be very important.

  • To me it seems the bricks are Isosceles trapezoids..

    http://en.wikipedia.org/wiki/Isosceles_trapezoid

    By using 8 points for the collision-polygon making an almost perfect circular form should be possible..

    I'm guessing though a lot of the effects are done by extra coding..

  • Would I be welcome?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure what you mean..

  • the value of sprite.totalweight is changed in the events of clicking either the button or the x2.

    Text4 only displays the current value of sprite.totalweight.

  • If noone beats me to it I'll look into it later tonight..

  • Not really sure, but you might want to try open url in new window instead of goto url?

    Open URL in new window

    Navigate to a given URL in a new window (or tab if the browser settings override). This continues to run the HTML5 game in the old window or tab.

    Go to URL

    Navigate to a given URL. Note this uses the same window/tab as is showing the HTML5 game, so this action will end the game. The Target can be used to select which frame to redirect, which is only useful if the game is displayed within a frame (e.g. an iframe embed), and the frame has permission to redirect the parent frame (i.e. it is not sandboxed). Possible targets are:

    Self: redirect only the frame that is currently showing the game.

    Parent: redirect the parent frame.

    Top: redirect the top level frame (only different to the parent if more than one frame is used)

  • having these events as subevents of a trigger once event won't work.

    I would make the trigger once - a subevent and have the start timer action on that subevent.

    Than making the on timer a separate event should be enough.

  • Is the game downloading an update?

    The text "not download" is only shown after the 2 seconds wait.

    but at the same time the text should be shown you already tell the system to go to the next layout, so you'll never see it..

  • Like I said, this is the way I would do it.

    I've seen your capx and understand that to you my way might seem complicated.

    I only had a short amount of free time, so I didn't add comments.

    What I think you might have missed trying to copy/replicate what I did is the "container"

    By putting all related objects into a container, there is no need to specify which instance should respond, for they are connected.

    The function was added later, only because of my personal dislike for events running every tick if not completely nescessary..