lucid's Forum Posts

  • Everything should be in "human readable" or text format, no binary: SVG for image, xml for object/project description etc...

    So it's easier for revision control system, team working, re-use, merging, editing, archiving, etc...

    Yes, especially cap files

    No binary caps, so there can be no such thing as an irreparably corrupted cap file, and an enterprising individual could even make some type of script that automates some tedious cap editting process

    Also, unrelated, but what about giving the sdk a dynamic combo box option for the acetable that allows users to have the choices change the way they can with private variables and global variables. There's a few times when making a plugin this would have been a perfect fit, and I had to compromise better usablility

  • it doesn't like them overlapping because it's supposed to be simulating an approximation of real world physics, where things aren't supposed to overlap

    you can use the 'disable collisions with object' action on each one as it's spawned to prevent this though

  • > there's no plugin, but you can do it with a formula:

    > clamp(((floor(lerp(('maxnumber')-('minnumber'),0,distance(radiussprite.x,radiussprite.y,othersprite.x,othersprite.y)/(radiussprite.width/2))/('numberofcircles'))+1)*('numberofcircles'))+('minnumber'),('minnumber'),('maxnumber'))

    >

    > here's an example cap:

    > http://dl.dropbox.com/u/1013446/bulls.cap

    >

    > if you can't load it, get the latest version of construct here:

    > http://www.scirra.com/forum/viewtopic.php?f=2&t=7119&start=0

    >

    Thanks for the example, lucid. But there was one problem: The minnumber was set to 10, meaning if you were outside of the radius, the variables would still go down by 10. Setting it back to 0 fixes the problem.

    (My main intention for this was to make a explosion splash damage thing. Thanks BTW. )

    yeah, I thought minnumber was supposed to be the very min number even for outside. at the last minute I thought you many have meant min within the circle, but I figured you'd just change it like you did if that was the case

  • > Nice work! A side note - this did quite annoyingly hijack my mouse. I reccomend you stick an escape function in there.

    >

    My bad. You can quit however with Alt-F4 (What I've been using)

    the new rawmousemovement plugin makes it so you don't need to center the mouse to keep track of movement:

  • there's no plugin, but you can do it with a formula:

    clamp(((floor(lerp(('maxnumber')-('minnumber'),0,distance(radiussprite.x,radiussprite.y,othersprite.x,othersprite.y)/(radiussprite.width/2))/('numberofcircles'))+1)*('numberofcircles'))+('minnumber'),('minnumber'),('maxnumber'))

    here's an example cap:

    http://dl.dropbox.com/u/1013446/bulls.cap

    if you can't load it, get the latest version of construct here:

    http://www.scirra.com/forum/viewtopic.php?f=2&t=7119&start=0

  • wait wait, this phyxes the physics thing is getting way out of hand

    it was meant to be a little, hey sol, wanna try this out kinda deal

    if half of scirra uses an altered physics, and the other half doesn't, it's going to be a disaster of epic proportions

    seriously.look it's already messing stuff up

    on another note

    neat balloon quazi

  • requires behavior mouse?

  • well, they're just as directly in construct as any other plugin

    if you mean for this plugin to directly control behaviors with no extra events

    I didn't add that feature because I'm waiting to see what davo does to fix the control system before I do that

  • I think that only updates to the latest "stable" version

    the very latest version is always stickied at the top here:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think that only updates to the latest "stable" version

    the very latest version is always stickied at the top here:

  • bump for devs

  • thanks rojo

    oh yeah, and you too ash and dav

    j/k

  • Not the same as construct but in case it works for you:

  • new plugin to use directinput mouse movement detection to save yourself the trouble:

    http://www.scirra.com/forum/viewtopic.php?f=2&t=7111

  • this is a plugin for detecting mouse movement, (not just changes in screen coordinates) through directinput

    download

    two expressions: x and y

    the amount of pixels the mouse was moved in x and y respectively

    this detects actual mouse movement, as opposed to actual screen coordinates, this means you don't need to hijack mouse control from the user, if you move the mouse to the edge of the screen it still detects mouse movement

    also there is one action to make the cursor invisible

    this is different than the regular make invisible that comes in mouse keyboard

    this will make the cursor invisible even if it leaves the window in windowed mode

    don't worry though, if the user alt tabs, or otherwise changes focus, the mou

    se cursor will return

    but it doesn't let the user accidentally lose focus by clicking outside the window

    also, I think this plugin will be useful for having in game cursor speed control, because it uses the raw mouse data, which I believe is taken before it's processed by user set windows pointer speed settings(though I haven't tested this yet)