konjak's Recent Forum Activity

  • I still have issues with families and variables, they always stop working, picking the wrong variables and stuff, and I think it could have to do with some bug with assigning new sprites to families and choosing to not have some variables. I've tried to make example .caps but the problem only happens in more elaborate games. I've managed fine without families but it's cumbersome.

  • I don't see how such a feature is necessary if Construct would just create all those instances upon pasting foreign objects into a new CAP.

  • I do agree that the animation/picture editors could do with some improvements. Like animation previewing, for starters, and some more control of the animation within the picture editor (like adding, cloning and removing frames).

  • Construct crashes when I try that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • in some cases you could use *-1 as a toggle if your number starts by being 1 or -1, like so:

    Set value 'boolean' to "('boolean') * -1"

    And treat 1 as ON and -1 as OFF.

  • Yes, the problem was getting XAudio2 to play a resource by a name that I gave it.

  • I posted this to the tracker, but seeing as you sometimes update the program several times with an unstable version, I was hoping you might fix this, which seems a simple problem:

    From the tracker:

    [quote:f6cqbber]When I want to autoplay a resource WAV with XAudio2 using an expression

    Construct first displays the last chosen sample (from the dropdown) as a

    string, the string being its name. But trying to run the game this way will

    not play the sample, even if the name is correct. The only way for it to

    work is by writing the index number in the expression window (the index

    being where it is chronologically in the Files folder of the Project bar).

    Since it automates to making the last sample picked when you switch to use

    expression into a string it seem like this was intended to work, but it

    doesn't! Fixing it would help as if one were to edit a sample and then

    reload it into Construct its index would change.

  • What about the way of just writing "(12, 596, 271... )" in that extra field?

    I guess it conflicts with the rules of the expression editor somehow. But then make that some expression you can retrieve from the Function plugin like "Function.SetParam(12, 596, 271... )", maybe?

    EDIT: Linkman2004, that was a clever way of doing it, although it doesn't seem to be able to remember what sound to play... can you not use strings as parameters, or can you not load a resource using an expression?

    EDIT THE SECOND: Apparently I have to name the sample by index number (its place in the resource list).

  • Hello.

    I was going to try to make my events cleaner by making all the instances where I play sound be run through a function, since I always have at least three actions for playing sound (autoplay, frequency, position and sometimes volume changes) so I thought I'd make it into one neat line.

    But then you have to add parameters with an action each for functions, so I'd end up with as many actions, plus one to execute the function...

    Is this because starting the Function is a string? Couldn't the parameters be added in a field below where you enter the name, seeing as you can write Function.Fishvolley(X, Y, Z) inside expressions anyway?

    I'm fine without that support, I just hate lots of clutter.

  • newt, something that would be lovely and I've mentioned before is a collision mask NOT tied to an animation frame, so that making a seperate collision box sprite (which I do right now) isn't necessary.

  • Davioware what is the collision bug XD ?

    I guess he means the pretty serious "when two per-pixel collision object collide, game might crash"-bug. I have it too. I think an update was supposed to fix it, but people still said it happened... ?

  • I think I have standard hardware. Let's just hope the FPS doesn't drop much further than that.

    And whenever I try to replicate my problem in a new cap nothing goes wrong, and I think if I try to simplify my current project to show publically it starts working, but I could try again.

konjak's avatar

konjak

Member since 15 Mar, 2009

None one is following konjak yet!

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies