R0J0hound's Recent Forum Activity

  • You need to use SetValue:

    SOL.Sprite.SetValue('Home', System.globalvar("tempHome"))

  • You can select the newly created sprite in python with:

    SOL.Sprite[/code:17ps0prp]
  • The source for the webcam object is unavailable, and I don't have direct access to a webcam to do any testing. You can try using python to access the webcam.

    This one looks pretty good:

    http://videocapture.sourceforge.net/

  • Hi,

    The webcam object is working for me with windows vista. Can you capture images with the webcam object?

    The only thing I've found that may be of help is this:

    http://www.wikihow.com/Fix-a-Webcam-That-Is-Displaying-a-Black-Screen-on-Windows

  • My problem : the player works very fine but not in fullscreen mode, is there anything I missed ?

    No, technically the video player is a window control so it doesn't work fullscreen.

  • - [Fix] (Untested, but hopefully works) Fix for sprites and tiled backgrounds not rendering in the editor on old graphics cards.

    They now render in the editor with my intel graphics card. There is white space when using the tiledBackground object with a non power of two texture, but that's not much of a problem.

    I must say in general that C2 is looking great. One small request though: could you add the "move at angle" action for sprites.

  • If it says pixel shader version 0.0, then your graphics card doesn't support pixel shaders. You can to emulate pixel shaders with 3d-Analyzer. It allows emulation of features not available with your graphics card.

    Run 3d-Analyzer select Construct.exe and check "emulate pixel shader caps" and run.

    Construct will now think you have pixel shader 3.0.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The near clipping distance is defined by the Window Property Eye Distance (3d) which is by default 500.

    The far clipping distance is the near clipping distance minus 10000, or -9500 by default.

  • I'm a little behind with testing c2 releases but I've found an issue. Starting with 38.2 Sprites and TiledBackgound objects are not being drawn in the editor. But they are drawn just fine when running in the browser. Version 37 and earlier worked fine on my system.

    This only occurs on Windows XP with my intel graphics card. My Vista system with an ati graphics card works fine.

    I imagine the issue my be the intel graphics card, which is fairly old. Since 38.2 supports non power of two textures I tried power of two textures to see if maybe the intel chipset doesn't support non power of two, but the textures were still not drawn in the editor.

    Here is my system and graphics card caps if it is helpful: http://dl.dropbox.com/u/5426011/c2/gpu_caps_viewer_report.xml

  • One way you can do it is just by using a whip animation. At the end of the animation check if the end of the whip is colliding with a hook. If it is, disable the current movement scheme and start a pendulum swing. At the end of the swing revert back to the original movement.

    Here is one way to go about it:

    http://dl.dropbox.com/u/5426011/examples5/whip.cap

    made in cc1.2

    If you want a more realistic whip you can try physics objects hinged together:

    http://dl.dropbox.com/u/5426011/example ... dchain.cap

    made in cc1.2

  • System is a bit different since there is only one instance of System.

    get the system class with this:

    System.__class__[/code:29imus8b]
  • Not all objects have an uid attribute, so that could be an issue.

    The best way to get direct access is to just save a reference of that object in a variable.

    Pick the object somehow and save it's reference as 'player'.

    player=SOL.Sprite[0][/code:2rwl2uht]
    
    then after that is you want to access that object just use player:
    [code:2rwl2uht]player.x += 1
    player.angle=45[/code:2rwl2uht]
    
    This will avoid the issue of the index changing.
R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound