2d516f61-b157-4183-904b-06678cc12c2d's Forum Posts

  • UPDATE

    I've try to use the 'Map tutorial' and adapt it to my needs. Well it works the way I want for the unlocking system. Therefore, I've try to implement the 'sprite state' from the level-page tutorial. I also need a collectible star system.

    I've make a new CAPX and added code from the level-page tutorial. So it's there... but not functional.

    NEW CAPX

    https://dl.dropbox.com/u/26046730/Unlock.capx

    Thx for your help, you deserve REP points :)

  • I'll take a close look at it to know if it makes what I need and give you feedback on this.

    Thx for helping.

  • - From the MENU, a level can be loaded only if it's unlocked.

    Let's clear this with an example:

    Suppose that my game have 5 levels. When my character collides with the end sprite at the end of a level, it makes the current level state to 'completed' and 'unlock' the next one which becomes available from the 'MENU' layout. (ex: complete LV0 makes LV1 available from the MENU layout).

    The problem is each time the player collides with an end sprite, the value of 'current.level' add 1.

    As an example, if I replay the LV0 5x times, all levels are unlocked in a row, but the player haven't completed the Level_1, 2, 3 and 4!They are supposed to be locked.

    • Complete a level to unlock the next one (becomes unlock from the MENU layout.

    ------------------------------------------------------------

    - A button ?continue? load the last unlocked level.

    Let's forget about this one... :)

    Thanks for your help, I'll take a look at the button stuff.

    Just ask again if it's unclear :)

  • Hi C2 community,

    I'm a trying to make a sytem which unlock the levels when it's completed. I've look at the level tutorial;

    scirra.com/tutorials/311/level-page

    But it doesn't do exactly what I need :S.

    PROBLEM

    • In my game, a level can be replayed (to collect stuff).

    In the current tutorial, the value current.level add one no matter which level has been completed. Considering this, if the player completes the same level over again, it unlocks the others!

    • Also, I don?t know how make a button available (MENU)only when the level is unlocked. For now, touching a level button goes to the corresponding layout even if the level isn?t unlock.

    WHAT I WANT

    -     A level can only be unlocked once, but the player can replay it as much as he wants.

    -     From the MENU, a level can be loaded only if it's unlocked.

    -     A button ?continue? load the last unlocked level.

    FILE CAPX

    Unlock Levelstutorial

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thx works perfectly.

  • It's already done.

    I've also tried the 'iscroll' plugin, but it requires URL image which isn't useful for my target iphone native app.

  • Hi there,

    I just want to figure it out about 'touch controls'. I'm using an iphone 4S/iOS5/Safari. I'm working on a picture which can be scrolled on the Y axis. When tested on a regular PC browser, it works find, but on safari iphone, it doesn't work. I've tried all the touch option 'is touched' on start touch' and so on, but none of them work.

    Is there something that I've missed?

    HTML link use on iphone

    Use your iphone

    CAPX FILE

    The capx file

  • hi,

    I'm making a game in which the player can influence the size of a platform when he's character is on. It works fine with the horizontal platform.

    If the player overides an horizontal platform, only this single one is shape influenced.

    PROBLEM

    I want to make something similar with vertical platform, but I use a different technique. I'm not using single platform sprite, but a created rounded corner sprite linked from both side of a vertical platform. Because this instance is a created object, it is apply to all vertical platforms at the same time.

    WHAT I NEED

    Single vertical platform influenced by player (similar to horizontal)

    FILE CAPX

    https://dl.dropbox.com/u/26046730/example.capxVertical Platform

  • THANK YOU :) it works.

    Sorry for the file size :S, I've haven't notice that it was 57 MB!. I'll pay attention to it next time.

  • Maybe it will help you with the file :)

    https://dl.dropbox.com/u/26046730/YH_checkpoinprob.capx

    I've try both solutions, but it haven't work :(

  • Hi,community me again.

    DESCRIPTION

    In my game, the player can influence the size of platforms.There is no death, but ther are a multiple checkpoints system in the level. If the player goes outside of the layout, the player is respawned to the last activated checkpoint (on collision).

    Then the level is restarted, all the platforms are resetted to their original value.

    <img src="https://dl.dropbox.com/u/26046730/Restart_checkpoint%20not%20working.png" border="0" />

    <img src="https://dl.dropbox.com/u/26046730/002.png" border="0" />

    PROBLEM

    • When the level is restarted, the player isn't respawned to last checkpoint because when restarted, this is the always the 1st checkpoint which is considered.

    currCheckPoint

    WHAT I NEED

    • Restart the level when the player is outside layout but keep intact the last checkpoint.
    • For now, I'm using a global "currCheckPoint" set to 1 at start of layout

    So, how to do that?

  • It's simple and functional

    Exactly what I was searching for.

    THX

  • Hi,

    This is my first attempt with Construct2, but I'm stucked :(

    I need your help god community!

    GAMEPLAY MECHANIC

    take a look at this demo first

    DEMO_y&H

    CONTROL

    MOVE: left/right

    JUMP: up

    GROW:'S'

    SHRINK:'A'

    HOW IT WORKS

    • I use 2 globals (PG_hor and PS_hor)
    • I the 'S' on keyboard is down and the character is on floor, then the global is set to 1
    • If the 'S' is released, global to 0

    PROBLEM

    All the platforms are influenced at the same time, that's not what I want. I want that only the plarform on which the character is on is influencable. <font color="blue">I need a solution that detects on which platform the character is on.</font>

    Probably that the global doesn't help here because it overides all the other events. So how can I achieve this?

    THE FILE

    Construct2 - code platform global prob

    INVESTIGATE (stuff I try but doesn't work)

    -Pick index object

    -use local variable instead of global

    Thx

  • Hi there!

    I'm a newcomer here, but not in the videogame industry. I have great skills in game/level design and also art, therefore, I'm very bad at coding :( so i want to use construct2 to design my games.

    I working on a game called 'You & Her' and I really want to release it, so I gonna need your help!

    See you on the forum guys.