luckyrawatlucky's Forum Posts

  • i have followed

    tutorials/311/level-select&sa=U&ved=0CAUQFjAAahUKEwiD8Kz8lfHHAhVJPogKHbhrBlU&client=internal-uds-cse&usg=AFQjCNF19e055G-PLPdAZRfAG_O02XlM6Q

    this link

    add scirra link your self

    i cant post links

  • global number Stars = 0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i have global variable bullets =10

    when bullet spawn it reduced by 1

    .

    i am giving stars for level and condition is

    Event: end of the layout

    subevent : bullets are 9 then add star3, if 8 then 2, if 7 then 1

    .

    this is not working

  • 1st is OK i have done it

    2nd for Giving Star

    condition end of layout is not working for me

    but when i gave condition touch the target then stars are working

    Hello

    I think I can help.

    1-

    For your first problem, I don't know if this is the better way to do this, but this is how I've done it in all my games so far.

    Create a sprite to display the amount of bullets you want, and set the each frame with a number of bullets.

    For instance, in the frame 0 you put nothing, at frame 1 you draw 1 bullet, at frame 2 you draw 2 bullets and so on. Then you create a variable to keep track of the amount of bullets the player still have, starting with 10 and decreasing every shot. And for last every time the player shoot you create the condition to decrease the value from this variable and at the same time set the frame of your sprite to the value of your variable. Therefore, if the variable is 10, the sprite frame will be 10 and it should display 10 bullets, after you shoot the variable should change to 9 and then the sprite frame should change to the value of the variable ( 9 ) displaying then... 9 bullets.

    2-

    This is quite simple actually, all you need to do is at the end of the game is check the remaining bullets o-o

    You know the player starts with 10 bullets, so if he finishes the game with 9 this means the shot only once, give him 3 starts. Nothing much to explain here.

    Hope I could help

  • this is in c 212.2

    and my is 200

    i can't update because it gets error on update

    if possible pls send in c 200

  • Thank you so much

    now i have solution

    thanksss

    .

    ummm

    now i question is in my mind

    if i have 100 point then i buy 2nd skin and point should go now from 100 to zero and for 2nd skin it should be always 100 so that is brings unlock

    .

    plssssss

  • Hi

    I have try this method

    now one problem is occurring

    i insert sprite for counting bullets

    and there are 11 frames 0,1,2,3 ... 11

    0 for nothing and 11th for 10th bullet

    i gave variable 10

    but when I test shooting

    at starting it works fine but when there 2 bullets remaining both goes invisible together and after being blank gut hitting 1 bullet

    in short counting wise bullets are OK but visibly last two bullets goes out together

    pls help me at this

    edited :

    actually i have done a big mistake which give me headache for two days

    i was thinking what wrong i m doing

    even i have checked every event step by step

    .

    Actually in 1st frame of bullet i have somewhere clicked anchor point by mistake

    .

    .

    today when i was again checking every frame then i notice that in every frame anchor is shining and in 1st frame it was missing

    .

    thanks GOD

    Hello

    I think I can help.

    1-

    For your first problem, I don't know if this is the better way to do this, but this is how I've done it in all my games so far.

    Create a sprite to display the amount of bullets you want, and set the each frame with a number of bullets.

    For instance, in the frame 0 you put nothing, at frame 1 you draw 1 bullet, at frame 2 you draw 2 bullets and so on. Then you create a variable to keep track of the amount of bullets the player still have, starting with 10 and decreasing every shot. And for last every time the player shoot you create the condition to decrease the value from this variable and at the same time set the frame of your sprite to the value of your variable. Therefore, if the variable is 10, the sprite frame will be 10 and it should display 10 bullets, after you shoot the variable should change to 9 and then the sprite frame should change to the value of the variable ( 9 ) displaying then... 9 bullets.

    2-

    This is quite simple actually, all you need to do is at the end of the game is check the remaining bullets o-o

    You know the player starts with 10 bullets, so if he finishes the game with 9 this means the shot only once, give him 3 starts. Nothing much to explain here.

    Hope I could help

  • in my game

    player earning points

    now i want to use those point to unlock other BG theme or Player skin

    How to do it

    help plss

  • in my game

    i need :

    1) i want to display 10 bullets

    > on each spawn it should reduce 1 by 1

    2) give 3stars if success with 1 bullet, 2 star with use of 2 bullet, and 1 star with 3 bullets and others are blank

    for star i have used this link 3) i want to unlock bg colours options with earned points

    Pls help me that how do I

  • thanks for you response

    but can u pls send me a sample of it

  • in my game

    i need :

    1) i want to display 10 bullets

    > > on each spawn it should reduce 1 by 1

    2) give 3stars if success with 1 bullet, 2 star with use of 2 bullet, and 1 star with 3 bullets and others are blank

    >> for star i have used this link 3) i want to unlock bg colours options with earned points

    Pls help me that how do I

  • can you pls show me screenshot

    because my internet is slow to update it always shows request time out

    so i am unable to update since c200

  • I don't get what spirit as Gun is, but here is a basic way to rotate something towards a touchpoint:

    oppss!!!

    its Sprite

    my English is not good

    thanks for response

    your file is not opening, i have construct 200

  • I have spirit as Gun

    I want to aim target with touch

    pls help how to do that

    .

    and when i touch the screen for aiming and when gun rotates then it should stay angle at new position of rotation