EleBriscoe's Forum Posts

  • 13 posts
  • ...a last minute Puppy New Year countdown from yours truly! Much doge, much C64, so Chrome, how webcam, so wow. (best with Chrome and a webcam)

    Puppy New Year - HTML5

  • f there isn't a way to get input data in to a web page via a browser, we can't support it.

    Fortunely it should be absolutely possible, and officially supported via a SDK, as actually lots of web-apps and web-games for Leap Motion are popping out!

    Developer start guide: (includes SDK for Javascript)

    https://developer.leapmotion.com/getting_started

    The following blog post shows some web apps (using HTML5 and Javascript API, some of them 2D, others 3D with WebGL):

    #FirstLeap: 5 Interactive Websites for Leap Motion

    And here there is a more robust HTML5 example with Leap Motion support:

    HelloRun

  • (bump)

  • Hi everyone,

    you probably have heard of the Leap Motion controlled by now; the sensors of this little cutie pie recognize a point cloud just above the peripherals, so in a nutshell it recognizes hand movement and pointing up to more than ten fingers at once. It's highly responsive, the design is slick and it's cheap.

    I wouldn't consider it as a touch replacement for everyday activity as it isn't nearly as precise as I would have hoped, but as far as gaming possibilities go it has got tons of potential; actually Double Fine just released Dropchord for it and it's

    !

    As Construct 2 is already focused on multitouch controls it would seem only natural to extend its functionalities for desktop solutions, so I was wondering if there were any plans for its implementation.

    Prior to this topic I also did a search on the forums but the only vague post I could find was written more than a year ago, back when the peripheral was still unreleased, and received no replies... so I thought it would be ok to write a new updated topic now that the peripheral has been released and widely recognized (they claim one million downloads after only three weeks from its release, so it has already got a sensible userbase).

    Here there is my

    , and the official

    video.

    (I also found an outdated link to github pointing to a Construct 2 plug-in for Leap Motion by Robert K. Pauls, but alas it leads to a 404 error!)

    Cheers,

    ele

  • I'm sorry, I certainly got carried away!

    Most of the object expressions do not have internal parameters and don't need detailed descriptions, but I'm confused when I read the commands without the parameters among with a variable type, I.E. "AnalyserFreqBinAt" instead of "AnalyserFreqBinAt(Tag, Index, Bin)" or even better "AnalyserFreqBinAt(Tag$, Index, Bin)", expecially when the description also do not tell the range of values which Bin returns.(anyway, kudos as I'm just amazed at how steadily features get added and how solid the releases are, and the fast update to the command reference from my still very newbie input just shows the dedication!)

  • I have just tried monitoring the live input from the webcam, however it doesn't seem to work.

    Here it is the test file: LiveInput.capx

    The same code works perfectly when playing an audio file.

    Am I doing something wrong?

  • ...simple and elegant! Thank you so much! :)

  • It's just that in the languages I've used in the past I'm familiar with a comprehensive command reference which details every parameter. I just took this expression as an example, but there are hundreds which aren't described and it requires a lot of unnecessary tinkering if the only way is trial and error.

  • Kyatric, that specific function was an example, but all the functions from the plug-in objects come without explanations about the internal parameter.

    Also, the example about the analyser gives some insight but you have to guess the most out of it.

    Are we supposed to guess on all of them?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • (bump)

  • I'm sure I am missing something here, but...

    Construct 2 has lots of internal functions / object expressions which can be accessed, however I can't find detailed help anywhere about the internal parameters of the object expressions from the plug-ins section.

    For example, let's take the expression 'AnalyserFreqBinAt', which isn't exactly intuitive! There are examples which help a bit, and you can access the expressions panel when creating an action, but the most I can extract about the usage are the name of the parameters: Audio.AnalyserFreqBinAt(Tag, Index, Bin).

    The manual doesn't mention the parameters either, and just gives the following explanation: "Get the magnitude of an analyser's Nth frequency bin. Advanced audio must be supported, and an analyser effect already added to a tag."

    How I am supposed to know what Tag, Index and Bin stand for, what is their range, what kind of variables are them? I'm sorry if it is already covered and the answer is right in front of me, but I couldn't find a handy and comprehensive command reference anywhere if not for the system expressions.

    Thanks everyone!

  • Sorry for the late reply!

    I already tried with detectors, buy I can't solve the jittery collision while pushing on the walls even when using one pixel wide detectors (see the updated .capx in the first post).

    Is in there something I could do better?

  • Hi,

    I'm quite new to Construct 2, but unless I'm missing something (which it could well be!) it seems that the platform behaviour doesn't feature slippery slopes:

    PlatformTest.capx

    ...and it is quite a bummer if your game isn't based on perfectly squared platforms, something which I tend to avoid with my visual styles.

    Any suggestions on what is the most efficient way to have the player slide on certain surfaces depending on the angle, instead of having it steadily climb even on the tiniest pixel?

    Cheers,

    ele

  • 13 posts