R0J0hound's Forum Posts

  • Cool, needs an erase though.

    Art:

    {{334,313},{340,338},{356,360},{368,379},{389,392},{416,366},{438,346},{454,325},{473,302},{480,272},{479,247},{449,237},{423,222},{394,233},{359,250},{374,233},{343,269},{338,292},{273,196},{289,181},{290,153},{298,115},{299,126},{321,112},{342,105},{356,100},{382,103},{391,123},{419,137},{437,121},{442,107},{427,83},{392,65},{407,77},{369,47},{337,40},{309,37},{279,43},{253,53},{222,65},{206,79},{186,96},{168,116},{148,137},{137,165},{133,194},{124,221},{130,243},{136,276},{143,308},{165,331},{186,355},{209,381},{224,389},{213,357},{229,328},{244,309},{235,284},{213,255},{221,223},{241,199},{282,194},{299,167},{264,206},{139,257},{403,372},{193,325},{191,288},{159,265},{191,210},{154,197},{207,181},{174,169},{192,134},{206,153},{234,153},{256,166},{264,112},{234,124},{209,103},{252,86},{305,75},{282,92},{334,68.9999847412109},{363,75},{373,277},{403,298},{423,308},{443,285},{420,258},{396,266},{363,307},{394,319},{406,345},{378,341},{459,258},{459,223},{435,223},{219,303},{167,306},{199,232},{173,239},{154,223},{195,271},{263,140},{412,105},{0,0}}@loopindex(106)[/code:2wvcgqzk]
  • If you are using python you can remedy the problem by running a python script at the start of the first layout you run to initialize python. It can be simple as -Run Script "". Construct currently only initializes python when the first python script is run.

  • Uncheck "Enable Scripting" to eliminate the crash. The crash is from python not getting initialized and 700 objects getting created. This will be fixed in the next release.

  • zeno,

    I was getting that error after installing the plugin. I checked the dependencies of the csx files and found that they needed D3DX9_43.dll, which wasn't on my system. I updated DirectX to get the file and It works now.

  • Updated the link again.

    • Added scrolling when the grid is bigger than 20x20.
    • Added row/column numbering.
    • Fixed the problem of not being able to type text larger than a cell.
    • Changed the color pattern of the grid.
    • And a few other minor fixes.

    EDIT:

    Change the grid colors, too many pastels

  • Glad you like it. I changed the link in the first post with the features you mentioned.

    • The window can now be resized.
    • The grid is checkered for better visibility.
    • When loading, empty grids will no long become 0.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's a 2d array editor for easy creation and editing of arrays.

    http://dl.dropbox.com/u/5426011/examples3/ArrayEdit.cap made in 0.99.96

    Cheers

  • You could use the Tiled Background object with a power of two texture. Then just draw each frame in that texture like a sprite sheet. Then using a list of all the offsets and height/widths of each frame you could do arbitrary length animations.

    Here's a proof of concept using Ken from Street Fighter 2:

    http://dl.dropbox.com/u/5426011/examples3/ken.cap made in 0.99.96

    This is where I got the sprite sheet:

    http://s464.photobucket.com/albums/rr5/JayofThr33/Sprite%20Sheets/?action=view&current=Ken.gif&newest=1

    and I used Sprite Vortex to assist the creation of the animations:

    http://spritevortex.codeplex.com/releases/view/57003

    I didn't want to use the xml format spritevortex exported so I converted the data to simple lines of text.

  • Since the crash seems to be associated with a lot of objects, did the Application setting "enable scripting" accidentally get set? With it's set there will be a crash after 700 objects are created without any python scripts being used. It's a problem with python not getting initialized properly and should be remedied next release.

  • I've found that it causes a crash when too many physics objects are placed overlapping each other. Your cap can be fixed by removing this action from event 3 of "Layout 3 Events":

    -> CloudsPlatform: Set position to Present.X, Present.Y + 25
    [/code:2iua7hjq].
  • [quote:1jkn8tl5]I would like to use NumPy in my project, how would I go about importing it, into construct?

    Scidave has a guide how to do it:

    http://www.scirra.com/forum/viewtopic.php?f=8&t=5920&hilit=python+external+libraries

    Just adapt it to NumPy.

    [quote:1jkn8tl5]EDIT: While I'm here, also is there a direct way to import an array from my pyscript into a Construct array?

    For a one-dimensional array:

    MyArray = [1,2,3,4,5,6]
    
    Array.SetSize(len(MyArray),1,1)
    
    for i in range(Array.SizeX):
    	Array.SetAtX(i+1,MyArray[i])[/code:1jkn8tl5]
  • [quote:hptffapb]with the text manipulator the "For Each Substring" appears to not work. That is kind of holding up progress a bit.

    You can do the same thing with the system text expressions:

    + System: For "" from 1 to NumTokens(Text.Text, " ")
    -> Text2: Set text to GetToken(Text.Text, LoopIndex, " ")[/code:hptffapb]
  • It can be done by including some dlls in the construct directory.

    See this topic:http://www.scirra.com/forum/viewtopic.php?f=3&t=7871&p=60991

  • [quote:wck4e4pj]I wish we could rip out python code from Construct though. Maybe I could ask in the suggestions thread so it can be added in Construct 1?

    There would be nothing to rip as events are not written in python internally. Python is merely an extension that can be added in addition to events. Unless you put python scripts in your game, python isn't utilized at all.

  • [quote:1bd7dz9x]Thanks for the links, do you know any tutorials in downloadable form like .pdf?

    http://docs.python.org/download.html