Local Variables and Collisions

Non-platform specific questions.

Local Variables and Collisions

Postby jazz_e_bob » Sun Oct 19, 2003 8:38 am

When an actor collides with another actor with a local variable "mass" I can't seem to read collide.mass. It always returns 0.

In fact - I can't read any newly added variables to the actor.

If I test the problem using a new game and two actors it seems to work.

Is there a limit to the number of local variables for actors?
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby makslane » Sun Oct 19, 2003 1:23 pm

There is no limitation for the number of local variables.

It seems a bug for me.
Can you send to me a little . ged where happens this problem?
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Tue Oct 21, 2003 9:44 pm

OK

I've sent the project. Check out the collision event for the bullet.

I'll work on some other stuff in the meantime...

:)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby makslane » Wed Oct 22, 2003 12:38 am

Is really a bug, but I don't found the cause, yet.
I will work on it, but I don't know when will be resolved.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Thu Oct 23, 2003 11:03 pm

That's OK.

I'm just glad we found it.

:)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron