R0J0hound's Forum Posts

  • You need a seperate frame per image.

  • Function.param(v) isn't right. To access the first parameter use function.param(0). So maybe set v to that first.

  • You need to look at what the tilemap plugin does when it modifies the tilemap. It looks like it sets some booleans indicating things need to be updated, then in turn the draw function calls another function that checks the booleans and updates as needed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • IJCT

    Best I can tell from looking at the events is they have to be done in order, and triggers can be run at any time.

    Basically the the three events are:

    "every tick" which calculates the stating velocities

    "the input check" which launches an actual physics object with the calculated velocities

    "the loop" which takes the calculated velocities and simulates physics steps to find the path of the ball.

    So if you want to launch a ball with a trigger such as a function you need to run the every tick event first somehow. Could be as simple as copying it.

  • There's this program that can do that:

    Gdevelop predates C2 and actually was made before the author was aware of Construct Classic.

    Also it initially had only win/linux export so the whole thing was designed differently.

  • When you load just re-create the objects from the array. The only problem is while saving can be done with a family, you need to create the individual sprites instead of creating the family.

    You can look here for something similar:

  • If you save your project to a folder and then open the .capproj file it will list the plugins and behaviors used. It also lists all the object types and the behaviors they use. Search the file for litetween to see where it's used in your project. Then you can go back into C2 and remove it from there.

  • Here's an example of using physics:

    https://dl.dropboxusercontent.com/u/542 ... ysics.capx

  • You can look into a recent plugin by rexrainbow that compresses strings. That would allow you to store some more data.

  • It's a solution for it. To use a blendmode you need to isolate the stuff you want to use, and separate objects would do that. Other options could be to make a image per text or maybe write an effect that replaces a certain color and replace it with a gradient.

  • The list only shows the selected objects. I guess you could right click and "select all" first.

  • Compression is only useful when saving an image to disk. If the image is to be displayed it is uncompressed in memory.

    Edit:

    I just realized you may be thinking of image resizing. You may be able to utilize the snapshot action or the canvas or paster plugins to do that, but then again someone may have made a plugin to do that too.

  • That's an artifact of the platform behavior getting stuck on the slope. One idea could be to make the object with the platform behavior a smaller square that doesn't rotate in the middle and then positioning a rotated tank sprite on top of it. Other ideas include using the physics behavior for the motion or maybe implementing motion completely with events so then you could address issues on a case by case basis.

  • You could use text with a loop.

    Repeat 10 times:

    --- array: push tokenat("4,66,33,31,1,0,5,7,8,8", loopindex,",") to end