LittleStain's Forum Posts

  • Demo

  • Create a global variable LastLevelScore

    Set it to the score of the level before changing layouts to this scene

    in the scene set text = LastLevelScore

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is an "is on mobile" condition..

    The browser object has a request fullscreen - action..

    Yeah.. should work..

  • Why do you want to put objects in an array?

    Would you like to put their UID's in an array or?

    If all objects are in a family, you could probably use something like:

    for each family

    system compare two values distance(family.x,family.y,explosion.x,explosion.y) < 150

    • array push family.uid

    But if you only want the distance to have effect on the objects, there would be no need for an array..

  • The problem with using in-game storage for storing data is that it will be wiped everytime you start the game over (and it will be exclusively local to the running client).

    Fisrt part not completely true, for you can store anything in localstorage, which will return that info when requested, second part true, but there is the Ajax-plugin for that, how would something go anywhere else than the original device without sending it over the net?

    Also using a third party plugin like

    you could send a mail through Mandrill, setting the text to the desired info..

  • Re-uploaded with clamped waypointX..

    Maximum distance to player in my example 100px..

    Doesn't seem to go through any walls anymore..

  • Wouldn't it be as easy as setting mouse.x and mouse.y or touch.x and touch.y to an array at times specified by you?

    Every tick would also be possible ofcourse, or every tick during a certain period..

  • Added a pixel to the player displacement to prevent player being stuck and added setting waypoint.x to player.x to prevent the rushing..

    Re-upload at the same adress..

  • would "system set timescale to 0.5" do the trick?

  • When another object spawns the bullet it will be spawned highest in the z-order of the layer the spawning object is on..

    Why would your bullet be outside the layout?

    If you are only setting it's position instead of spawning/creating (can't see a reason to do that) the bullet will remain on the layer it originally is (in the editor), unless you change it's layer in events..

  • I would suggest using custom-movement instead of lerp, but if you want it your way, I guess this is the best solution..

    https://dl.dropboxusercontent.com/u/485 ... owEsc.capx

    By the way, you might want to put your sprites (especially the walls) on pixel coordinates instead of inbetween pixels..

  • Hello,

    With Web storage now switched to Local storage, what is the best way for me to implement multiple remap-able controls?

    I need to be able to remap controls of two players for both keyboard and gamepad.

    I'm having a rough time wrapping my head around all this at the moment and would sure like a nudge in the right direction. Would Local Storage + Dictionary be a fitting combo?

    Why is the replacement of webstorage with local storage relevant to this question?

    Local storage can be used for exactly the same things as webstorage in a similar way..

  • Could you please share your capx, so I can do that?

  • ahhh dangit well thank you very much for the reply i woulda thought this ocmpanty made a proper fullscreen mode

    There are many fullscreen-modes, choosing the proper one is up to you..

    Because there are so many different people with so many different desires, there are many options..

    Not knowing how you have your events and/or project set up, you might want to try either scale-outer or scale-inner..

    Also using a system scrollto action or scrollto behaviour on your player might help..

    Setting the layout to unbounded scrolling works for some..