mathie's Forum Posts

  • Does someone has an exemple on how use this addon?

    Thanks

  • I don't find the solution to.

    I want to make like a clor picker. Player click on a blue square and after he can color in blue all the other sprite. And so on with red and yellow.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hello,

    I come to ask help because something i don't get happen.

    I have a game with multiple level(layout).

    Everytime the player end a level he come back to the layout "level choice". Normally it should unlock the next level. It works until we click on the next level.

    We end on the layout but we can't control the player. After few seconds we come back automatically to the layout "level choice" like if we sucees the level.

    I'am not sure if i'am cleat or not.

  • To add a life every hour you can check system time:

    Set currentTime variable to Browser.ExecJS("Math.floor(Date.now()/1000);")

    This will give you current unix time in seconds. Divide it by 3600 to get the number of hours. Check if an hour or more has passed since you last awarded a life.

    In Construct 3 you can use unixtime expression instead of Browser.ExecJS

    .

    You can also try downloading big complete game templates (free or commercial) that have these mechanics from Scirra store.

    Sorry that's not clear for me how it should looks like, for adding a life every hour.

    Unfortunetly i don't find any who have this structure.

  • I don't get how I can do that. I thinks we don't have this possibility in construct 2.

    On the previous tuto, that's the same sprite who is duplicate many times.

    Also i don't get why but it's not working as it should.

  • The problem with the tutorial you post before.

    Is that all my unlock level will look like the same. I must use the same frame/ animation for all the differents levels.

    Is there a possibility to tell that the level 2 will have a picture of 2?

    Thanks

  • 1.5 millions downloads and only 2 000 dollars per months?

    I was expecting far more.

  • Ok I think I get.

    I create a variable movement : "on"

    Every time the player try to move i add a condition, system check if variable = on

    When the player touch an ennemy i put the variable to off wait 1 second, put the variable to on.

    Thanks for your help everybody and my apologyze to make so long to understand.

  • Hello,

    The game i wish to make will be play on smartphone.

    Is there a way to test it on smartphone by me and also by other people?

    Like a place i download it and send link to people?

  • Hello,

    I'am doing a small game where the player have to go out of a level without being kill.

    Each level is in general pretty fast 20 seconds to 40 seconds to complete it. Well thats the time i make because i know the level perfectly, that's possible a random need more time.

    What do you think, a game like that need how many levels? At least 200 for the first version to see if it works?

  • Sorry, I can't find any working solution.

  • Just add an extra condition (a variable) to whatever condition you're using to move the player and set this variable on collision, reseting it to allow movement when the events are resolved. If you tell us how you're moving the player, I can be more specific.

    For instance, if you're using the Keyboard object it would be something like this:

    > if (Keyboard is Down && movingAllowed == 1) {
    	<Move the character>
    }
    
    
    On collision {
    	Set movingAllowed = 0;
    	Wait X seconds;
    	Set movingAllowed = 1;
    }
    
    

    Cheers!

    I see what i need to do but is construct allow us to do that?

    I need to make a condition.

    If blue is in collision with tilemap make 1

    If red is in collision with tilemap make 1 except if blue is also in collison.

  • Sorry to disturb you again, but i will like if you know how to do it.

    I just can't make it work