3 things i need help on?

This forum is currently in read-only mode.
0 favourites
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • 1, List boxes

    Why do list boxes always stay on top of everything else, and show up on a 'Fraps' capture ?

    Transparent window

    How do i make a game with a transparent window? Ive seen a couple of posts that mention python, but i cant get my head round it. Could somebody give me a step by step solution?

    Bone behavior

    Again, ive read posts about it, but i could do with a step by step?

    Please help before my brain melts.

    regards

    chrisbrobs

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • About the bones behavior :

    If you want to make a character, you have to create a sprite for each limb, like head, torso, left arm, right arm, etc... Assemble them on the scene but maybe keep some distance between each limbs.

    Then give the bone behavior to the torso and enter edit mode. In properties, click on "add".Now click on the limb you want to attach to the torso, maybe the head

    Next, you have to select where you want to place the pivot point. For the head, you might want to click on the base of the neck. Maintain the left click and drag the pivot to the torso.

    You can now either do that for every limb or try some animation.

    Click and drag the handle to rotate the head.

    To create an animation frame you have to click on Keyframe frame one and select new. Rotate the head again to choose another position.

    Now try to switch between frame 1 and 2 in the keyframe list. Both are recorded.

    Click on close and launch the preview, the animation should play.

    You can add different animation in the bone editor, like jump, etc., and control them by events.

    You can also modify existing frames. Now it doesn't matter if you move the limbs anywhere on the scene, because they will go back to the torso at runtime.

    Now one thing i don't know is how to delete a bone...

    EDIT : Found out how to delete a bone : Place your pointer on the bone and press del... dumb me u_u Tried Ctrl cick and all lol

    I learned all this by looking at this example :

    Now good luck to make some animations I hope i helped a bit...

  • 1.

    List Boxes aren't drawn in DirextX, they are windows controls and are always drawn on top. I haven't used fraps so I can't help you there.

    2.

    This discussion describes how to make the window round in python with winapi calls:

    http://www.scirra.com/forum/viewtopic.php?f=3&t=7515&p=58466

    Making an arbitrary shaped window is possible but becomes more complicated and less readable.

    3.

    This is probably the best example for learning how to use the bone behavior:

    http://www.scirra.com/forum/viewtopic.php?f=8&t=2210

  • Thanks to, R0J0hound and prawnsushi

    That was bloody quick ! !

    I will get back to this post after ive checked everything out.

    take care

    chrisbrobs

  • Re python

    With reference to the python tutorial by R0J0hound -

    "It's pretty simple from python, but it will require the ctypes library so you'll have to install python to get it to work"

    What does this mean, i know nothing about python, how do i install python and ctypes ?

    Help ?

    regards

    chrisbrobs

  • Ctypes is included i Python since version 2.5.

    I installed version 2.6 and it works for me. I don't know if it'll work with latest python.

    Get it here :

    http://www.python.org/download/releases/

    Just run the installer, and it'll be ok.

    If you need win32com libraries, google it and install the one for your version of python.

  • Ctypes is included i Python since version 2.5.

    I installed version 2.6 and it works for me. I don't know if it'll work with latest python.

    Get it here :

    http://www.python.org/download/releases/

    Just run the installer, and it'll be ok.

    If you need win32com libraries, google it and install the one for your version of python.

    Many thanks for your help ........Gulp !

    win32com libraries.........what are they?

    Chrisbrobs

  • win32com libraries.........what are they?

    http://sourceforge.net/projects/pywin32 ... e/download

    Win32COM allows you to use python calls to interface with native Windows API calls. So all the cool stuff you used to only be able to do with C/C++ you can do with Python!

  • > win32com libraries.........what are they?

    >

    http://sourceforge.net/projects/pywin32 ... e/download

    Win32COM allows you to use python calls to interface with native Windows API calls. So all the cool stuff you used to only be able to do with C/C++ you can do with Python!

    Where do i install the files.....do i ineed to unzip, move or add to.....the python files in that are in the construct folder.

    I have tried opening several python related caps but they crash or give an out of memory error.

    thanks in advance

    chrisbrobs

  • Here is a barebones example for making a ellipse window. All the required python files are included in "py.zip" so no python install is needed. Just keep "py.zip" in the same directory as the cap or exported exe.

    http://dl.dropbox.com/u/5426011/examples3/ellipseWindow.zip

  • Here is a barebones example for making a ellipse window. All the required python files are included in "py.zip" so no python install is needed. Just keep "py.zip" in the same directory as the cap or exported exe.

    http://dl.dropbox.com/u/5426011/examples3/ellipseWindow.zip

    Thanks for the cap, but im still having problems runnining it ?

    What i did :

    method1

    1, unzipped 'ellipseWindow.zip' to folder to a folder i named 'ellipseWindow''

    2, double clicked the cap........crash 1

    method2

    1,dropped the contents of 'ellipseWindow.zip' to main construct folder.

    2. double clipped the cap........crash 2

    Will the fact that i am working on a laptop have anything to do with it?

    Im using a HP 6910P, so its a pretty decent spec.

    regards

    chrisbrobs

  • What are the crash messages? Also what version of Construct are you using? The example was made with 0.99.96. If you can't open the cap then either you're opening it in a older version of Construct or the cap is corrupted.

  • Here is a barebones example for making a ellipse window. All the required python files are included in "py.zip" so no python install is needed. Just keep "py.zip" in the same directory as the cap or exported exe.

    http://dl.dropbox.com/u/5426011/examples3/ellipseWindow.zip

    R0J0hound this question was for you !

    Where do i install the files.....do i ineed to unzip, move or add to.....the python files in that are in the construct folder.

    I have tried opening several python related caps but they crash or give an out of memory error.

    thanks in advance

    chrisbrobs

  • chrisbrobs,

    Method 1 is all that is needed to get it to run: Just extract the zip file and run the cap.

    The fact that construct crashes when you try to open the cap usually means that you are trying to open a cap file made in a newer version of construct than you have installed.

    The example was made with Construct 0.99.96, so you need at least that version to run the example.

    If the crashes occur after opening the cap file when you click "run layout" then it is perhaps another problem. In which case what are the error messages, as they will help me figure out what the problem is.

  • chrisbrobs,

    Method 1 is all that is needed to get it to run: Just extract the zip file and run the cap.

    The fact that construct crashes when you try to open the cap usually means that you are trying to open a cap file made in a newer version of construct than you have installed.

    The example was made with Construct 0.99.96, so you need at least that version to run the example.

    If the crashes occur after opening the cap file when you click "run layout" then it is perhaps another problem. In which case what are the error messages, as they will help me figure out what the problem is.

    -------------------------------------------------------------------------------------------

    The crash happens as soon as i double click on the .cap.

    The message is..........Runtime error.

    OOPS.....I just checked what build im using.......its 0.99.62

    Do i need to upgrade ?........what effect will this have on my current projects, can i have both builds on the same drive?

    Thanks R0J0hound

    chrisbrobs

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