R0J0hound's Forum Posts

  • 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)
  • Try again. Dropbox changed the format of its links which seem to break on this site.

  • I'd say file a bug report or just allow for some tolerance in your level design for the jump height. It's supposed to be framerate independent, and was in the times I've seen it tested before. Maybe it's something like the jump sustain that can't really be 100% framerate independent?

    If it's really a nuisance you can try cramming dt in the y velocity somewhere and see if you can tune it to be more consistent. Two possible ideas are below. Just try different values of k starting at k=1 and see tuning that up or down does anything useful.

    -500*k*dt or -500+k*dt

  • That should already be frame rate independent.

  • You can always do particles with sprites instead. While it could be slower you get a lot more control so you potentially can get a better result.

    Anyways the key takeaway is you'd add the player's velocity to the particle's velocity. or you could just ensure the particle speed is faster than the player's speed so they can't step into the fire.

    https://www.dropbox.com/scl/fi/skk3qe6gdta5bvcjql0pb/custom_flameThrower.capx?rlkey=7ruzs0o9fo5vw0mee7aubp7jf&dl=1
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It mostly just provides function not available otherwise. To do it with sprites you’d have to slice up an image beforehand. You could even use it to do your own spritefont.

    It’s basically a lower level tool.