R0J0hound's Recent Forum Activity

  • [quote:28d59hxy]Still having trouble figuring out how to use that now to pick the sprites overlapping those two sprites while excluding the two sprites themselves.

    Add Sprite to a family such as blue

    Then do something like this:

    + Sprite: Pick by 'foo'=1 or 'foo'=2

    + Sprite: overlaps Blue : offset (0,0)

    + Blue: Pick by 'foo'!=1 and 'foo'!=2

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:h8vc3r33]What's going on?

    The OR condition has issues.

    Use the "Pick by evaluate" condition and the "or" expression.

    Type something like this for the expression:

    Sprite.Value('foo')=1 or Sprite.Value('foo')=2

  • Here is a way to implement a menu bar with python.

    <img src="http://dl.dropbox.com/u/5426011/examples5/menu.PNG">

    http://dl.dropbox.com/u/5426011/examples5/menu.zip made in CC r1

  • Try the py2.zip download again, I updated it with some dlls it needed.

  • The 3d object uses the Assimp library so it supports all these formats:

    http://assimp.sourceforge.net/main_feat ... rmats.html

    I'm especially intrigued by the .blend file support.

  • When you load a frame with the sprite object it changes the frame of all the instances of the sprite because they all share the same image. It may be helpful to use the TiledBackground object since it can have a different image per instance.

  • Here is all the needed files:

    http://dl.dropbox.com/u/5426011/examples5/py2.zip

    Extract this file to the same folder as your game.

    Then add this line before you import ctypes and win32com.

    sys.path=[System.AppPath + 'py2'][/code:mnr27tuh]
  • Add a "Start of Layout" condition to events 10 and 20.

    [quote:11bu4jqs]etc... Are you testing this with express by the way? If so what else did you adjust to make it build?

    just tried it by disabling all the include directories and adding those two. I get the same error as you are getting. It seems the windows SDK does not have all the needed files. My apologies, I thought I had tested it as working.

    I guess it just comes full circle back to how I was originally able to get it to work by using the Windows DDK to get the files. Others seemed to have had success with that method. I actually currently use the includes from the Window DDK to build the plugins and Construct's runtime. I presented the SDK as an option because it was a smaller download to get what I thought were the same files.

    This website was the guide I used. Check the comments for updated info.

    http://www.codeproject.com/KB/MFC/MFCin ... press.aspx

  • It already looks pretty fancy. I'd focus more time on the game itself where the player will spend most of their time. If you do further improve the options menu it will be just icing on the cake.

  • I updated the example a bit to include animations.

    It now records position, angle, animation, animation frame and when the player shoots. I also changed it to just reset the layout instead of moving the player back to it's starting position. The ghost and array objects are now global so they aren't destroyed when resetting the layout.

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

    This has ended up being a very enjoyable example to work on.

  • What is the value of 'mid'? If it is a construct array value like "Sprite.XY" or "{1,2,3}" it will crash. Using types like that haven't been handled in construct's python integration yet.

    If that still isn't the issue then maybe post a cap.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound