matrixreal's Forum Posts

  • hi,

    can you send me the .capx ??? please its urgent

    i can pay you

  • Maybe an example will help.

    Commented example capx: StopGo.capx (r168)

    When you press "GO" it sets your score to 0 and starts counting up (based on dt * 1000).

    When you press "STOP" it stops adding to your score and compares that to your best score.

    If your current score is less than your best score, it saves that as the best score in webstorage and updates the display.

    The "Best Score" starts out at a high value, until a better score is made/saved.

    If your game still isn't saving, you might need to share your capx (can use dropbox.com) so someone can test it and see what's going wrong.

    one word i want to say you ... THANKS A LOT

    with some modification thats work ... at first i dont understand why you add the ("best_score") , i understand that is just value ... and now work like charm

    sorry for my bad and poor english

  • when i try to save on webscore when score is < than high score it not save .... thats problem (its save only when it is score > high score) ... and in my case i need to save time and the the lowest is better ....

  • finnaly i found it

    i just add drag and drog behavior to a button i want and et every tick set y of player object to this boutton

    any way thank for help

  • ok thanks

    but i want to do it on boutoon

    for example on bottom of scrren i have two boutton (left and right) and when touched the boutton the player follow hand you understand me

    now that work but i have to touch to sprite

    i want do it when touch boutton for example

  • hi,

    iam facing problem with moving sprite with touch action

    what i want to do

    is that the sprite (player) follow the hand when it is in touch of screen (only for Y)

    i use in touch and simulate left and right but not give me good result

    thanks

  • hi all,

    i would like to know if on exporting project construct2 will resize images or not ?

    for example !!!

    we insert image with 200x200 and we resize it on c2 as 50x50 , will construct resize it on exporting as 50x50 or not ?

    thanks

  • i switch it to less than the result is that not save the high score and always set it to zero

    try it by your self

  • can you send me .capx please ?

  • i use compare variable ... but in this case the score should be < than high score and not >

    because i use time and the lowest time is better , you understand me ?

  • Hi,

    moving background is easy by adding Sin behavior or Bullet.

    what you mean by easy ? .... for performance ?

  • hi,

    iam trying saving time score in webstorage but not work (with score < then highscore)

    any help please ?

    thanks

  • mmmm ok thanks i see your game its funny good idea

    but i have some questions

    what about touch tile fonction ? what u use ?

    and this mini tutorial is for arcade gameplay ...

    what about classic mode ? you use the same about moving tiles and you replace every tick by touching tile ? yes ?

    thanks in advance

  • thanks a lot

    but i find solution

    add variable for example called "pause"

    and do this script in event sheet

    when pause buttont is on touched ===set variable pause to 0

    on touched "play boutton" set variable to 1

    condition

    when variable time = 0 set time scale to 0

    if time = 1 set time scale to 1

    any way thanks for attention and you give me good idea

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • for example

    i have 2 button in same position

    i want that the button that is in the top can be affected by touch (useful for the pause game) because in my case i use (is in touch) so if i put pause button and touch it it will do the action with in touch and the pause the game (scale =0)

    thanks in advance for help