Do you use Python in Construct?

New releases and general discussions.

Post » Tue Dec 29, 2009 1:15 am

Another of my just-curious polls. I was wondering how many of you use the python scripts in the event sheet editor at all. I get the feeling not many people use it, but it'd be useful to know if more/fewer than I expect are using it at the moment.

Python was always meant to be an addition to events, not a replacement, so that highly algorithmic or logical parts can be scripted. I'm not sure how successful the current Python implementation is at doing that right now, or if anyone bothers to use it at all! It's definitely an interesting idea that could be taken further, so this poll is just to see where things are right now. Feel free to add your comments below.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Dec 29, 2009 1:35 am

this'll probably be skewed somewhat

take me for instance. I've haven't used python yet, because up till now, the response to almost anything python related has been:
"python is broken right now, don't use it"

until the recent fix
python was kinda missing the main thing that makes construct easy and neato: picking

so, answer: pre-pyfix-plugin - never
post-pyfix-plugin - all the time

now when I am prototyping something very complex, I can do it with 's' and python, and then reuse and combine the code from several prototypes later in a full game.
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Tue Dec 29, 2009 1:44 am

I don't use it because:

A) People say it's broken with construct, or doesn't work properly with it, and there seems to be very few using it fully.

B) I've never been a fan, from way way back when I was very anti-anything involving code, it always seemed to me like comparing BASIC to C++, and Python didn't seem powerful enough in the long run to warrant the effort required to learn it (like the effort required to learn how to drive a manual car in the UK, when you fully intend to move to the US and only ever drive an automatic heh). Even though since teaching myself PHP (born from a case of "if I want it done properly, do it my damn self, lol"), I've heard it's surprisingly similar to that and Perl. But it does (to me) still seem to have some kind of stigma attached to it.

C) I've yet to find a reason to use it. But if it could do something I needed to do, which events couldn't. I'd use it... and bombard the forum with "but can it shoot lasers and make spells?" posts ;)

But seriously though, given a choice I'd rather use events over python, or any kind of language for that matter. A case of path of least resistance (python would require I learned how to use it from scratch). Though if I saw real world examples of what python could do, that events couldn't (or made more complex), I might be more open to it.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Tue Dec 29, 2009 4:37 am

Yeah, I think the results probably will be a bit skewed. It's hard to use Python when Python is broke. You may need to let some time pass before you get an accurate result.




Sort of off topic: Something I've noticed since the PHPBB upgrade. Polls don't work if you're using the Czar Green or Czar Orange theme. I had to switch to Saphic in order to cast my vote. My offer still stands if you want me to customize the eMuza theme for the new board version... it really is a nice theme :)
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Dec 29, 2009 5:14 am

same here, never used it because I could never get it to work.
There is something very specific I intend to do with it.

:mrgreen:
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Tue Dec 29, 2009 6:14 am

Just started learning Construct, I know the power and advantage of having Python in Construct, I don't currently use it but if I need too in the future I would learn it and use it then. There was no option for that but I wanted to let it be known this is a great feature and should remain intact or improved upon, never removed. More power is always better!
B
4
G
3
Posts: 13
Reputation: 1,028

Post » Tue Dec 29, 2009 12:33 pm

Never. There's something about Python that makes me not like it very much; I could never get into it. (The language in general, not Construct's implementation). If there was Perl support, on the other hand...
B
2
S
2
G
3
Posts: 193
Reputation: 1,636

Post » Tue Dec 29, 2009 7:03 pm

im really interested in what things can be optimized with python, but i only want to invest time if its fully fixed, is it?

so nei, i never used it but would like to try
B
2
G
3
Posts: 72
Reputation: 994

Post » Tue Dec 29, 2009 9:31 pm

I do since I now know how to directly reference an instance of an object with indexing ("Sprite[0].X"). I'm currently using python to simplify some of my actions with a lot of math such as 3d rotations into a function in python.
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Wed Dec 30, 2009 3:02 am

i'd love to use python if there was some documentation for it...since i'm new to python it's difficult to start without any help and using construct without it is something i really won't like because without it construct would be just a point and click game creation kit, i know it is aimed towards beginners as they don't know coding but it's not that they shouldn't start coding anytime their life.... at some point of time they will have to......i think it's the part where game maker or other software win but apart from it construct is a great tool, but until construct has some ability of programming( i know its there but sort of directionless without any help and docs) i'll just wait and watch :)
B
9
S
3
G
3
Posts: 366
Reputation: 2,301

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest