R0J0hound's Forum Posts

  • One way would be to only change the variable with a function or custom action. So when you call that you’d know the variable is getting changed.

  • Functions in c3 have a fixed number of Params so param count doesn’t exist.

    One solution is to just use the old function object instead of the new built in ones. Just find an old project with the function object and copy it over.

    Another is to just make it with the new functions. Add the function, give it two parameters, and replace function.param(0) and function.param(1) with the parameter names instead. And instead of using function.paramcout use 2, since there are just two parameters. You can then simplify from there if you like.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It depends on the event. Generally you can’t have a trigger as a sub event of a trigger. You can have a trigger of normal filtering events. But it looks backwards, and actually it works as if the trigger came first and then the filter.

    Anyways it makes sense to have the triggers first and other stuff under it. Guess it depends on what event you’re wanting to put the key trigger under.

  • I don’t think it’s something you can get. They do porting and they have their own internal tools to help with that but it’s never been publicly available. You could try one of the other porting houses if this one hasn’t gotten back to you yet. From what I gather chowden probably hasn’t scaled up as a company to do too many ports at once or handle all the requests even, but that’s mostly speculation.

  • Worst case if Scirra or webview2 don’t get around to adding that then someone could use the c++ sdk to do it. It’s only a few winapi calls: one to get the window handle and one to set the size or position. I think someone already used that sdk on discord so maybe they could help.

  • Fixed I think. Dropbox changed how it does links and it seems to break on this forum.

  • Look like it's in the event sheet under event 1. To the left of the event there's an arrow that you can click on to show the sub-events. There you see keyboard events that handle the movement.

  • There’s not too much to the sdk. The idea may not even pan out since you can’t access other objects from the editor portion of a plug-in. Basically all the sdk allows is changing some properties of the current instance, drawing it, and running arbitrary js at some points.

    So realistically you could make your own editor if you can pause the rest of the editor while a modal window was opened, since at that point you can do whatever you like, but there’s basically no interaction with the rest of construct.

    Beyond the sdk everything is hidden with restricted access behind closures and such. And even if a back door could be found that is considered a hack, and it has a high chance or breaking between releases. Not to mention it bothers the devs since they go through great lengths to restrict access to avoid the possibility of rouge code crashing the editor.

  • What most people do is do an editor at runtime. The plug-in sdk doesn’t provide enough engine access do allow a free moving 3d camera in the editor.

    One thing that hasn’t been tried yet though is having a plug-in launch its own editor kind of like the sprite editor. It wouldn’t be able to access other objects so it’s more like having an engine within an engine that manages its own sub objects.

  • I’m that example unscaled works best from what I recall. Making it work well with any scaling is an unsolved problem to me. That ah snap crash isn’t ideal. I thought the newer version fixed that but the code must me doing something to cause a crash like that. I have no timeframe when I might try to work on that again.

  • Can't guess from screenshots. A minimal example that crashes would give users here something to test and give input on.

  • There’s this that figures out a collision polygon from an image and applies that to a distort mesh. Possibly could be useful.

    construct.net/en/forum/construct-3/how-do-i-8/manipulate-mesh-points-175978

  • You’ll need a bad bottleneck to make doing that worthwhile.

  • You could do it like this with some variables.

    Radius=random(128,256)
    Ang=random(360)
    X=posX+radius*cos(ang)
    Y=posY+radius*sin(ang)

    Alternately you can avoid some of the math with the move at angle action.

    Create sprite at (x,y)
    Sprite: move random(128,256) pixels at angle random(360)