lucid's Recent Forum Activity

  • btw, for anyone who's curious

    I was wrong in my theory

    I have no idea what causes all these annoying problems

    go ahead and send me the files deadeye

  • seriously, as good as the trailers make it seem

    loved it!

    IMAX 3D, baby!

    http://www.apple.com/trailers/fox/avatar/

    <img src="http://cache0.techcrunch.com/wp-content/uploads/2009/12/avatar1.jpg">

  • python is totally broken now

    I just released a fix for the old python problem

    but now even a simple python command like

    sprite.angle = 0

    crashes the runtime

  • download the fix and example cap here:

    http://dl.dropbox.com/u/1013446/pyfix/pyfix.rar

    I haven't tested this with earlier versions of construct (before 99.5)

    if you've never used python before, before you begin, you'll need to install python on your pc:

    http://python.org/ftp/python/2.6.4/python-2.6.4.msi

    Use picking in python by following these 3 simple steps: (SOL stands for Selected Object List, btw)

    • first call py.GetSOL("object name here")[/code:b3er7w1s]
    • next open a while loop while py.SOL:[/code:b3er7w1s]
    • finally, within this while loop, when you want to refer to the picked set of objects call the object like this: objectname[py.SOLi][/code:b3er7w1s]of course replacing objectname with the actual name of the object

    that's it.

  • there are plenty of point and click games in 3d, or games with 3d clicking, and its not hard, there are built in direct3d functions for it

  • i never really messed with 3dbox, but i dont think it has any 3d collision detection ability, also, the mouse/keyboard's click detection, doesnt account for z depth, so if something isnt at 0 z-elevation it doesnt work correctly

    you can try it out with drag and drop behavior, and change the z-depth a little

  • very awesome

    I never knew the image manipulator could do anything cool at all

    I thought it was just for slowdowns and crashes

    btw, the h loop is unneeded, so this is a probably a little more efficient:

    http://dl.dropbox.com/u/1013446/spritefont/Capture2.PNG

    this is badass though

    awesome work

  • megabytes

  • every action, expression, and condition has a python equivalent

    even for 3rd party plugins. it's built into the SDK to require a python command for everything

    the expressions are written the same way in construct or in python

    so if you can type sprite.angle in construct to get a sprite's angle, it will be the same in python.

    most actions and conditions have an obvious python equivalent, but if you're having trouble figuring it out, there is a way to look up the python commands for most plugins.

    it may seem a little complicated, but it isn't really

    first go to the construct SVN:

    http://construct.svn.sourceforge.net/svnroot/construct/Plugins/

    and find a plugin you'd like

    when you click on the plugin directory (in the SVN link above, not on your hard drive)

    there will be a bunch of files to choose from

    the only one you need is ACETABLE.cpp

    this file contains all the info construct uses to make the plugin's editor interface to actions conditions and expressions

    once again, this next part might seem intimidating, but there's only one tiny piece you need, I'm just pasting the whole thing here, so you can have an idea how it'll look in the file

    (they won't be highlighted on the SVN) :

    this is from the line plugin:

    29 ADDPARAM(PARAM_PRIVATEVARIABLE, "Private variable", "Select the private variable to test.");

    30 ADDPARAMCOMBO("Comparison", "Select the comparison to make.", "Equal to|Not equal to|Less than|Less or equal|Greater than|Greater or equal");

    31 ADDPARAM(PARAM_VALUE, "Value", "Value to compare to");

    32 ADDCND("*Compare a private variable", "Private variables", "%o %n: Value %0 %1 %2", &ExtObject::cValueCmp, "CompareValue", 0);

    see that last line? the second thing from the end, highlighted in green?

    CompareValue

    that's the python command. on the very left of this line after ADDCND, highlighted in red, is what you would click on in the construct condition list to add this condition, so to "Compare a private variable", you would you type CompareValue.

    one more example:

    78 ADDPARAM(PARAM_VALUE, "X", "X of line start to set.");

    79 ADDACT("Set start X", "Line", "Set start X to %0", &ExtObject::aSetStartX, "SetStartX", 0);

    second from the end is : SetStartX

    this is how you "Set start X"

    if you use your browser's find function, it is very simple to find whatever it is you clicked on in construct to get an action, and the corresponding python command

    hope this helps

    without the S fix, which I will try to release this weekend (remind me )

    you can still experiment with python, and get it up and running

    I have to leave to work now, but if you search the forums you can find the answers to the following:

    there is a certain version of python that must be installed on your system for python to work in construct

    have fun

  • awesome david

    I was thinking of something like this once, though I never saw the other game you were talking about

    in my head though, it was more like two droplets separating with a larger droplet for larger numbers of players, but canvas doesn't have mesh distortion abilities so it was a no go

    If I make my game co op

    I definitely have to integrate some kind of clever screen splitting deal

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just have windows firewall (win7)

    1.65 MB/s on the antivirus download

  • angle(0,0,Xbox360Controller.LeftThumbX(1),Xbox360Controller.LeftThumbY(1))

lucid's avatar

lucid

Member since 16 Jan, 2009

Twitter
lucid has 25 followers

Connect with lucid

Trophy Case

  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

24/44
How to earn trophies