mina's Forum Posts

  • Thanks for ur help, but it keeps rolling and jumping, i want it to roll and jump only once.

    Another question, can i make it roll then jump then return to the default animation without setting the wait and the return to default, i mean make it in a better way?

  • Thank u zenox98 & Yann for ur help.

    I set both text boxes to non global and it works fine in my game, but I'm not really figured out why they are missing while they are global. May be it's just as zenox98 said after restart the game they transfer to layer one.

    zenox98 "Personally, I just think the use of global objects is ambiguous, and not readily understandable to the layman. Users are probably expecting these global objects to appear on all layouts, which without extra coding, they won't." That is exactly what i thought first "before this post"

    Yann "How it was used in Mina's capx is not a proper use of global object. Global object shouldn't even be used for Graphical representation." So how can i post the lives and scores in a game without using graphical representation and why it has the ability to be global if i can't use it?

  • here is the capx file

    dl.dropbox.com/u/52040403/livesandscores.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    dl.dropbox.com/u/52040403/rolling.capx

    How to make sprite2 rolling on the center of sprite only once then jump.

  • U r welcome :)

  • Yes, that's exactly what i meant.

    So where i need to add the reset global variables and how can i reset them?

  • dl.dropbox.com/u/52040403/jump.capx

    Is this what u mean?

  • zenox98

    Thanks 4 ur quick reply, but what if i want to go to the next level not to the end or the start of the of the same layout?

    I don't want to reset the global variables, i want them to continue if i want to go to the next level and to reset if i want to go to the start of the same level.

    How can i do that?

  • Hi,

    I set two texts one for the lives and the other for the scores both of them are global and connected to global variables, but while I'm testing my game:

    1. first it was working fine and every time the player die the lives reduce 1

    2. when it reaches to lives<0 the game will go to the end layout.

    3. when i press the space, the game will start again.

    The problem is when it starts again, the two texts (lives and scores) disappeared.

    How can i fix it?

  • Thanks again Kyatric <img src="smileys/smiley1.gif" border="0" align="middle" />

  • smitchell, using the space not the shift

  • Does anyone know what i need to change on the capx file to make the jump work properly.

  • I tried to change the shift to jump and simulate the platform, but it doesn't work in the right way.<img src="smileys/smiley5.gif" border="0" align="middle">

    Jump using the Space

  • Thanks a lot Kyatric.

    U r a great person, helping people all the time without any fatigue. <img src="smileys/smiley42.gif" border="0" align="middle" />

  • Thanks sqiddster, i will try it and let u know if it works with me.