Pecek's Recent Forum Activity

  • try the Timer() instead of sleep():

    Timer(3.0, yourfunction).start()

    I'm not sure, but I think sleep() is allways will freez the whole process - but as I said, I may wrong.

  • You have to use quotes in most of the cases.

    if 1:

         fireball.X = rot_arm.ImagePointX("point")

         fireball.Y = rot_arm.ImagePointY("point")

         Plasma.PasteObject("fireball")

    btw this "if" doesnt do anything, if you want to use python(properly), learn about the language itself(it's really easy, you can learn the basics in days.)

  • Hi there,

    I have a problem with the plasma object. If I'm loading a layout, the plasma object stays in the memory, and I can't unload it, are there any way to fix this? It's pretty annoying, 'cause I have it on all of my maps(~35)..

    Btw it's not global object, and I don't creating them realtime - if you want I can post the cap of course, but I think it's not necessary in this case.

    Thanks

  • Thanks

  • I know it's probably easy, but I can't figured out the solution.

    Is anyone can post a proper python code about the ForEach() command? (get values if it's possible)

    I would like to make a save file, but I don't want to save everything, just some values.(I know, it's can be done in the event system easily, but I don't like it, it's can be very ugly in no time.)

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I see, thanks.

  • Hi,

    I'm using construct for a while, and I need some help. Are there a list about the python commands? The script editor helps a little, but I can't figure out a lots of commands(like the OnClick action, I tried the (Left, Single) combo, but it doesnt worked of course.) So, are there a list or I need to figure out them by myself?

    I searched for it a couple of times, but I didnt find anything, just some examples.

    Btw it's great, I used mmf2 over years, and consturct is much better - except the crashes of course.

Pecek's avatar

Pecek

Member since 2 May, 2011

None one is following Pecek yet!

Connect with Pecek

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies