how to add an variable when colliding?
3 posts • Page 1 of 1
how to add an variable when colliding?
i mean like when the circle for example collides a box,the box will add a variable.I know it's impossible but if you have an idea how to add an variable?
- Attachments
-
example.phz- (null)
- (6.41 KiB) Downloaded 17 times
waiting for semester break to come...
-

faytree - Posts: 947
- Joined: Mon Nov 05, 2012 1:37 pm
- Location: Selangor, Malaysia
Re: how to add an variable when colliding?
onCollide = (e) => {e.this._newVar := 0}
this will work too:
onCollide = (e) => {e.this._newVar = 0}
this will work too:
onCollide = (e) => {e.this._newVar = 0}
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests



