[Solved] How do I Add/Subtract Set Variable And Create it

0 favourites
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • How do I make bullet after added to weapon,

    bullet limit set variable <10

    my ammunition 4 after add 2 = 6 bullet

    How do I spawn bullet 6?

    sorry I'm bad English, thanks

    My capx dropbox.com/s/kr0c5v2drwg7x1p/CollisionVariable.capx

    Correct, I use the concept Weapon for passenger car (Driver+passenger)

  • Have you tried the BEGINNERS TUTORIAL yet?

    Most of the questions you have asked so far are answered in this tutorial.

    ~Sol

  • Have you tried the BEGINNERS TUTORIAL yet?

    Most of the questions you have asked so far are answered in this tutorial.

    ~Sol

    ok, I'm sorry Mr. because I can not found my solution

  • I don't think I understand exactly what you're trying to do then...

    If you want to spawn a bullet, or anything else, you can use system expression "create object" or sprite action "spawn another object".

    I'm not sure if your problem is creating the object, or something to do with your variables?

    ~Sol

  • Shoot till amnunition is not empty.

    Reload amnunition.

    https://drive.google.com/open?id=0B1SSu ... HhqZ1dOQ1k

  • I don't think I understand exactly what you're trying to do then...

    If you want to spawn a bullet, or anything else, you can use system expression "create object" or sprite action "spawn another object".

    I'm not sure if your problem is creating the object, or something to do with your variables?

    ~Sol

    Hii sorry Mr

    I set maks variable 3 human , I have 1 human in car after 2 human collusion with car I have 3 human in car but after out in car only one human is out. Please help me with sample .capx

  • Shoot till amnunition is not empty.

    Reload amnunition.

    https://drive.google.com/open?id=0B1SSu ... HhqZ1dOQ1k

    not it , Sorry <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> I Please help me with sample .capx

  • Sorry I'm just really confused now... it started at bullets and now it's about cars?

    Can you post your capx of your project so I can take a look at what's going on? I don't know what else to suggest or do, because I don't get what you're trying to achieve.

    ~Sol

  • Sorry I'm just really confused now... it started at bullets and now it's about cars?

    Can you post your capx of your project so I can take a look at what's going on? I don't know what else to suggest or do, because I don't get what you're trying to achieve.

    ~Sol

    Sorry I'm late repply, My capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you correct it? please https://www.dropbox.com/s/kr0c5v2drwg7x ... iable.capx thanks

  • Can you correct it? please https://www.dropbox.com/s/kr0c5v2drwg7x ... iable.capx thanks

    When I have time, I will take a look. Please be patient.

    ~Sol

  • As it is still difficult to understand what you are trying to achieve, let me explain what is happening in your current capx.

    First, on collision with Yellow figures, you destroy them and modify some Instance Variables values in the car.

    When the car hits the wall, it creates a Yellow figure at some point of the car. But at the same time, it considers it is colliding with the Yellow figure, and so it destroys it and modifies the instance variable values, like it did when running in Yellow figures at first.

    In regards to your previous messages, it seems you are willing to have some "max human capacity" in the vehicle.

    It seems also that on collision with the wall, you want all your figures to get out of the car.

    And you are trying to make it so that one of the figures in the car is always a red figure.

    It still is very vague. And it requires to modify entirely your project.

    Moreover, a lot of the implementation depends on exactly what you are trying to make, which we have issues understanding.

    I understand English is not your main language, but I'm afraid we can't help further if you don't provide more explicit details.

    Here is a way to have yellow figures getting in and out of the car :

    Please explain in further detail what the red figure is supposed to represent, what you want it to do exactly, and if you expect having more than one of it out of the vehicle during the game.

  • Finding some logic in that was fun.

    https://drive.google.com/open?id=0B1SSu ... GpsRVhMRDA

  • ok thanks all, I'll try again

  • Finding some logic in that was fun.

    https://drive.google.com/open?id=0B1SSuCVV8v74M1BmMGpsRVhMRDA

    Thanks for share and spend time or thought to me but it's not in accordance with my idea (Y)

    As it is still difficult to understand what you are trying to achieve, let me explain what is happening in your current capx.

    First, on collision with Yellow figures, you destroy them and modify some Instance Variables values in the car.

    When the car hits the wall, it creates a Yellow figure at some point of the car. But at the same time, it considers it is colliding with the Yellow figure, and so it destroys it and modifies the instance variable values, like it did when running in Yellow figures at first.

    In regards to your previous messages, it seems you are willing to have some "max human capacity" in the vehicle.

    It seems also that on collision with the wall, you want all your figures to get out of the car.

    And you are trying to make it so that one of the figures in the car is always a red figure.

    It still is very vague. And it requires to modify entirely your project.

    Moreover, a lot of the implementation depends on exactly what you are trying to make, which we have issues understanding.

    I understand English is not your main language, but I'm afraid we can't help further if you don't provide more explicit details.

    Here is a way to have yellow figures getting in and out of the car :

    Please explain in further detail what the red figure is supposed to represent, what you want it to do exactly, and if you expect having more than one of it out of the vehicle during the game.

    Awesome.. I have tried, it's work my concept idea ... I like it.

    Sorry, I mean Red is Driver (stanby in car) Yellow is passenger if car collusion other object it (Red+Yellow) out

    Thanks

    *Solved

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)