Do you use Python in Construct?

This forum is currently in read-only mode.
  • 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.

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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

  • same here, never used it because I could never get it to work.

    There is something very specific I intend to do with it.

  • 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!

  • 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...

  • 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

  • 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.

  • 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

  • and i hope python will be fixed when construct 1.0 is released...

  • 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

    If you actually used construct (by your own admittance you said you haven't), you'd realize it's more than some point and click game creation kit, and the events IS scripting, it just lets you create it differently. Don't judge things before you even use them, or put them down as too simple for you when you can't (by your own admittance) even use things slightly more complex.

  • > 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

    >

    If you actually used construct (by your own admittance you said you haven't), you'd realize it's more than some point and click game creation kit, and the events IS scripting, it just lets you create it differently. Don't judge things before you even use them, or put them down as too simple for you when you can't (by your own admittance) even use things slightly more complex.

    sorry if that offends you, i didn't mean it to be offensive but i just meant that people are more attracted to tools that have BOTH point-click options and programming as well....and you were right about that i can't handle things that are complex...i was confused when i tried to make a breakout game in construct ..... honestly saying i'm not a skilled programmer i'm just a novice and the programming language i know that is action script 2 is one of the easiest programming languages out there and is no match for python

    i just wanted to say that the lack of help about scripting in construct was a downside of it

    again sorry if that has offended you

  • >

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

    > >

    >

    > If you actually used construct (by your own admittance you said you haven't), you'd realize it's more than some point and click game creation kit, and the events IS scripting, it just lets you create it differently. Don't judge things before you even use them, or put them down as too simple for you when you can't (by your own admittance) even use things slightly more complex.

    >

    sorry if that offends you, i didn't mean it to be offensive but i just meant that people are more attracted to tools that have BOTH point-click options and programming as well....and you were right about that i can't handle things that are complex...i was confused when i tried to make a breakout game in construct ..... honestly saying i'm not a skilled programmer i'm just a novice and the programming language i know that is action script 2 is one of the easiest programming languages out there and is no match for python

    i just wanted to say that the lack of help about scripting in construct was a downside of it

    again sorry if that has offended you

    Thing is though you can do a heck of a lot with constructs events, to the point where you probably wouldn't even need to use python. They (events) might look simple on the surface, but all it is, is just a different way to view regular scripting. You should give them a try, you'll be pleasantly surprised at just what can be done with events.

  • I am in the same boat as many of the people here on Python. Hearing that it doesn't work isn't going to encourage too many people to use it. I'd love to use it and I think it adds tremendous capability if supported well.

    The other thing that I feel is misleading are those folks that say "Events can do everything that Python can do" or "it can do nearly everything Python can do". That isn't even close to the truth if Python was used to its full potential. A big reason to use Python that I see, is to support external libraries (not things like "import math"). For example, if you want AI for your game just re-use a python library. Or if you want an NPC to appear really intelligent use a Python library that uses advanced text processing. You can't compare these kinds of things to events. Of course, there are some things that you could use either Python or events for...

    So, I've tried using Python before, but since it doesn't have good (any??) support for external libraries I haven't put much time into it. Also discouraging is I can't get an answer from the devs on Python support for external libraries. How is someone supposed to use something that has little to no documentation and little to no support? Sorry if I sound harsh.. but it was frustrating trying to do stuff with Python and just shooting in the dark.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)