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

Get help using Construct 2

Post » Thu Jun 16, 2016 9:08 am

Prass wrote: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
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
84
S
34
G
40
Posts: 3,032
Reputation: 30,499

Post » Thu Jun 16, 2016 9:31 am

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 :
Image

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.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,328
Reputation: 71,298

Post » Thu Jun 16, 2016 12:26 pm

Finding some logic in that was fun.

https://drive.google.com/open?id=0B1SSu ... GpsRVhMRDA
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Jun 16, 2016 2:52 pm

ok thanks all, I'll try again
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Thu Jun 16, 2016 4:33 pm

99Instances2Go wrote: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 :D (Y)


Kyatric wrote: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 :
Image

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 :D

*Solved
Last edited by Prass on Thu Jun 16, 2016 4:46 pm, edited 1 time in total.
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Thu Jun 16, 2016 4:34 pm

SoldjahBoy wrote:
Prass wrote: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


Has been solved Mr, thanks
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Thu Jun 16, 2016 5:34 pm

Prass wrote:
99Instances2Go wrote:Thanks for share and spend time or thought to me but it's not in accordance with my idea :D (Y)

*Solved


I gave you the answer in first post. Its exactly the same solution, the same technique.
Guess you got confused by the bullet.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Jun 16, 2016 7:53 pm

99Instances2Go wrote:
Prass wrote:
99Instances2Go wrote:Thanks for share and spend time or thought to me but it's not in accordance with my idea :D (Y)

*Solved


I gave you the answer in first post. Its exactly the same solution, the same technique.
Guess you got confused by the bullet.


I'm sorry late your respont in first post, I don't provide more explicit details. I confused by variable :roll: bdw thanks
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Fri Jun 17, 2016 12:13 am

I finally had time to check into this and noticed it's been resolved.

Glad that it was worked out.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
84
S
34
G
40
Posts: 3,032
Reputation: 30,499

Previous

Return to How do I....?

Who is online

Users browsing this forum: dop2000, LunaticCat and 7 guests