anyone, what's up with the python?

New releases and general discussions.

Post » Tue May 26, 2009 12:16 am

What do you mean? You can run object actions/use object conditions already.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sun May 31, 2009 7:00 am

Example.... I want to do some python stuff with all the MonsterSprites that overlaps LaserSprite

I would create a condition, MonsterSprite.overlaps LaserSprite
and then create a PythonScript that works on the picked objects from the condition.

From Python I am not able to successfully use Sprite.Overlaps to check for ovelapping Sprites ... Any hints?
B
4
G
3
Posts: 46
Reputation: 992

Post » Mon Jun 01, 2009 3:22 am

I would say don't use python. :mrgreen:
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Mon Jun 01, 2009 2:22 pm

This sounds like something really basic that could be done easily with events why bother using python?
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Wed Jun 03, 2009 12:21 am

I don't think he actually posted what he wants to do with python. He just says WITH what he'll be doing it. Who knows, maybe every time a monster collides with a laser a FLAMETHROWER INMOLATES THE PLAYER.

Player inmolation cannot be achieved with construct events. This is NOT a feature request.
That said, I can't get python to work yet so I can't help.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests