R0J0hound's Forum Posts

  • In the image editor when you select the image points tool there is a dropdown list at the top listing all the image points. To the right of that is a "+", click it and it opens up a dialog to add/remove image points.

  • For the second Q imagepoints should work. Imagepoints are like the action point in clickteam products but you can have more of them.

    Ex:http://dl.dropbox.com/u/5426011/examples4/imagepoints.cap made in 0.99.97

  • I don't think the file is fixable. I opened it in a hex editor and it's all zeros. The only option is to go back to the last backup.

  • [quote:29t9f1ed]r seem to be the "speed" of the ball

    Actually I think it's the radius.

  • I'm going to have to vote

    maybe...

    Would it still be possible to do a condition like "Sprite is overlapping "Solid""? That is the main (only?) situation I use attributes, since unlike families no picking occurs and objects using different plugins can have the same attribute.

    Actually a condition like "Sprite overlaps any object with behavior "Solid"" would remedy those two issues.

    Also custom attributes could be solved by allowing the behaviors to be renamed at design time. So one behavior called attribute that can be renamed to whatever attribute: "solid", "platform",etc...

    On second thought I'm voting yes, the idea has a lot of potential.

  • No, unique ids cant be changed. You can see what the unique id is with the .UID expression.

  • [quote:tl0o5nwo]Is there a way to type the tab character ('\t') when setting text in a text box?

    Two ways come to mind:

    1. Type tab in Notepad and copy/paste it over.

    2. Use the python expression: python("'one\ttwo'")

    [quote:tl0o5nwo]How many spaces is this tab?

    Measure it and see.

    [quote:tl0o5nwo]Is there a way to set the tab spacing amount?

    You can do this manually by using a bunch of spaces instead of tab.

    [quote:tl0o5nwo]Also, is there a way to set the width (eg. 4 spaces)

    EditBox has an action for that: "Limit Text"

    [quote:tl0o5nwo]alignment (left or right)

    Left is default. Right is not possible without using the winapi through python.

  • [quote:34a2fx0d]This doesn't solve the problem (it still pastes to all the sprites)

    The Sprites share the same texture, so if you change the texture on one all of them change. One way you can do it is give the Sprite 16 animation frames and assign each instance a different frame. Another method is use TiledBackground objects instead of sprites. They can each have different textures but only with the load texture action, so you'll have to save the image from the canvas to a file first before loading.

  • Until we get a xml plugin, python can be used to load xml files.

    This topic has some caps that load Map Editor files using python:

    http://www.scirra.com/forum/viewtopic.php?f=3&t=7670&hilit=mapeditor

  • Here is the topic that zenox98 is talking about.

    http://www.scirra.com/forum/viewtopic.php?f=3&t=7670&hilit=mapeditor

  • [quote:1iw8l0zl]Is it possible to access a "Box" object's private variables from Python?

    No, not directly. A recompile of Box.csx would probably fix it so it uses the updated code that Sprite uses.

    A current solution is to use a hybrid event/python approach by setting a python variable to one of the box private variables with the "Run Script" System action.

    + System: Start of layout

    -> System: Run Script ("foo=" & Box.Value('foo'))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can hide other windows with python with the ctypes library and the winapi reference. In particular the ShowWindow function should do the trick.

    Example that hides any window for 5 seconds:

    http://dl.dropbox.com/u/5426011/examples4/windowhide.zip made in 0.99.97

  • [quote:2mya6rua]Is it possible to access private variables from Python?

    Yep, exactly the way you posted. If the variable name you use does not match any of the Sprite's private variables NULL will be returned.

  • Tokinsom beat me to it, but here's another example:

    http://dl.dropbox.com/u/5426011/examples4/randomname.cap made in 0.99.97

  • By reversing the actions in event 32 fine changes of movement aren't remembered. In which case unlimited framerate will not work because any small changes in motion will be rounded out, so the object won't move. One thing you could try is use "int" instead of "round" and see if that reduces the jagginess.