LittleStain's Recent Forum Activity

  • I'd recommend opening the infinite jumping example from the new-project-dialog.

    It sounds a bit like what you are trying to achieve..

    So open up Construct2

    click new project

    in the search type jumping

    and the example will be there.

  • If you would like to create a second level in the same way you did the first, the easiest option would be creating a new layout for it.

    If you really want to do it on the same layout, the best way would be to place/create all your objects/assets in your "on start of layout" or through a function.

    The coordinates and all other relevant information could be stored in an array (internal or external through Ajax)

    Using groups as I mentioned above would make it easy to have this placement different per level.

    Activating group level1 to create the objects where they should be in level1, Activating group level2 to create the objects where they should be in level2.

    It's impossible for me to be more specific without knowing anything about your game.

  • I think the question is a bit too wide to give a direct answer to, but I'll try.

    Using different sprites for different characters would automatically work, even if you are planning to use one sprite to put all movement events on.

    Just pin the character sprite to the movement sprite and use the character for the interaction and animation.

    In the case of stats, a lot can be done by giving the character instance variables, but sometimes using the dictionary object or the array object is more usefull, depends on your needs and ofcourse your personal preferences.

  • Giving the object an instance variable and only changing the one with that variable would work..

  • As far as I know it's not..

    What is it you are trying to achieve that you would need this for?

  • Do you already have a level completed?

    Maybe even two?

    Your question isn't very clear and not knowing how much experience you have in working with Construct2, it's not easy to give an answer that is sure to help you..

    If you could provide a capx or explain better what it is exactly you don't know how to do, I think the answers would help you more..

  • Not trying to confuse you even more, but what might come in handy are groups.

    Groups can be activated and deactivated.

    If you use a group for level-specific events (for example positioning of the sprites) you can have the game specifics always active and just toggle the groups on and off depending on the level.

    Starting the group with a trigger once event would in this case allmost work like an on start of layout (Ofcourse in this case better called "on start of level")

  • I'm not 100% sure, not having worked with savegames, but wouldn't an "on load completed" goto layout "menu", do the trick?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The question isn't very clear..

    Do you want the player to move up constantly, or down, or go up and down in regular or irregular intervals?

    Is the game like an endless runner, but vertically?

  • You are talking about the UID?

    That one increases automatically, but the instance variable "number", which is used in the event sheet to make the chain has to be changed manually.

    from the manual:

    inst.uid (read-only)

    The instance's unique ID. Construct 2 issues the first instance a UID of 0 and increments by 1 for each new instance created. UIDs must never change through the life of an object.

    inst.instance_vars[]

    Array of instance variables. Each element is an ordinary javascript value corresponding to the current value of the instance variable at that index.

  • I'm not sure why you are using anglelerp to try and create this effect, but I do know that on collision is only triggered once..

  • If you run your game from the editor it will start from the layout selected inside the editor.

    Instead of using "next layout" you could use "goto layout" and just use the layout name.

    To decide which layout to use as your starting layout after export, it can be set in the project properties-bar.

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies