Mipey's Forum Posts

  • Works fine for me. Local variables need to be declared before events they are used in. Also, make sure you are using the 110.2 (Ashley accidentally 110 as 110.2), check within Construct 2 (the info button to top right).

  • I've been toying with the idea of an in-memory database, for purposes of handling a large number of objects and data (imagine a simulation game). Due to the limitations of a browser-based game, it'd have to be an internal database engine sorts of. So, an in-memory database.

    I've looked around a bit, apparently SQLite can be created in memory only (with the ":memory:" as filename), so that should work in browser environment. The content could be saved to webspace and loaded into the in-memory database. The caveat is memory usage, but I'm not considering anything huge anyway. Just a few tens thousands objects.

    What say you? Would it be worthwhile to have such a feature?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wait on next release before you try them, though, there's still some kinks to iron out. A couple bugs.

  • Page not found, though it asked me to allow saving information. Hm.

  • scale = lerp(0.5,1.0,t)

    t = unlerp(BottomY, TopY, Car.Y)

  • Touching!

  • I'm not sure, what do you mean by event variables? Variables that are only defined on the scope of event, such as Function.Param()? If that's the case, then I can rest easy, knowing it will be fixed in next release!

  • Okay, found the event causing this error.

    Basically, I had a function call with string parameter. In the called function, there was another function call with Function.Param(0). I expected the string parameter to be taken.

    When I removed the parameter and had the function instead refer the global variable instead, the error no longer pops up.

    Hope that helps, ASHLEY.

    It was like this (with Variable at "Something"):

    Event1: Call "SetStuff",Variable

    On "SetStuff": Call "DoStuff",Function.Param(0)

    This threw the this.eventvar is null error, for some reason.

  • hey guys. great plugin thanks!

    i have the following event

    when left click is down,

    Draw point (Mouse.X, Mouse.Y)

    is there a way to make the points connect smoothly? like how it would in microsoft paint? right now i just have seperated dots forming a line.

    Between every tick, remember the previous mouse position and draw a line from there to current position.

  • I'm getting the following popup:

    Javascript error!

    TypeError: this.eventvar is null

    localhost/expressions.js, line 678 (col undefined)

    This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!

    ---

    Can't seem to figure out where in the event sheet this error is occurring, I had been switching out rex's Function events out for the new Function object. It had been working fine, then at some point it stopped working and disabling all functions didn't seem to solve the issue, which is why I can't reproduce this in a clean .capx.

  • Ah yeah, missed that one. Guess I'll use "pick all" for now.

  • After quite a while of head-scratching, brainstorming and troubleshooting, I finally have realized that functions called from events for some reason keep the parent event's (the one Function was called from) Selected Objects List.

    Is this intended?

  • I believe this feature would greatly increase the usability of Construct 2 IDE.

    Basically, a search feature that searches for all events using the search term, which can be an object, a variable name or a string.

    As a result, all matching actions and conditions are highlighted.

    Example: troubleshooting a project. Lives are bugged, don't behave as expected. I search for the variable "Lives" and all actions/conditions containing the variable are highlighted. This makes locating the bug much easier.

    Another example: Say I am removing some object from the object, however quite a few events are dependent on it. I have to adjust those manually, but the project had gotten larger since then and it is difficult to find all references of the object. I would search for the object uses and all matching actions or conditions would be highlighted.

  • Strange! The OP seems to have deleted his post, I was responding to him, I did not start this thread!

    Tom, you may want to investigate this.

  • Whenever you play a sound, you have an option to set the tag.

    Then, when you stop a sound, you can stop by tag.