R0J0hound's Forum Posts

  • if you want to paste something offscreen that isn't drawn when offscreen in that plugin then you have to do something tricky such as make the game canvas the same size as the layout for a tick before pasting.

    For layer effects you'll want to just paste all the relevant objects on that layer to a seperate paster object first and apply the effects and blend mode to that.

    The canvas object will crash when pasting certain objects when webgl is on because those plugin's don't do anything to make the non webgl version work when webgl is available.

    Maybe that can help? You may need to adjust your game or come up with a creative solution to work around it. The paster plugin itself is basically final and meant for simpler things it does well.

  • Can you use an instance variable to mark the picked instances, then one event can pick them later.

  • In C2 you could use a paster object to draw the blood too and then use a blend mode to overlay it on the walls. For C3 you can still use a blend mode but you'll have to keep all the blood sprites around.

  • Well, the z index is probably something that isn't loaded either. I mean no two objects can have the same z index.

  • Someone made a tutorial for that I think. You should be able to do it with two semicircle sprites and blend modes.

  • Lucid did it in Construct Classic. You can't do it in C2 because web browsers don't let you move the mouse cursor around.

  • You can look at the json to see what's different. I imagine the uid of an object is part of the json but it's not used when loading.

  • You could put all the dictionary keys in an array, sort the array, then loop over the array to get keys in order.

    set array size to (0,1,1)

    dictionary: for each key

    --- array: push key to end

    array: sort

    array: for each x

    --- dictionary: get array.curValue

  • This is what a batch file is:

    https://en.wikipedia.org/wiki/Batch_file

    Basically it's stuff you can do from the command line, except you put it in a file so you can just run that instead of typing everything out every time. I've used github only once, but it can be used from the command line. Here's an example of unzipping a capx to a folder and zipping it back up to a capx using z7ip. Just save it to a .bat file and it can be run like any other program.

    ; this removes the test subfolder if we already created it
    ; and extracts test.capx into that folder
    rmdir /s/q test
    "C:\Program Files\7-Zip\7z.exe" x -o".\test\" test.capx
    
    ; this removes test2.capx if we alreasy created it
    ; and zips up everything in the test directory into test2.zip
    ; it finally renames the zip into a capx
    del test2.capx
    "C:\Program Files\7-Zip\7z.exe" a -r test2.zip .\test\*.*
    rename test2.zip test2.capx[/code:1s4dva5v]
    
    Anyways that's a sample, i'm not sure if that's something you want to do.
  • Changing the playback rate works to change pitch. I've used it to make a piano from one sound. I guess a drawback is the length of the sound changes too, but there isn't another way to change pitch.

  • Try Construct 3

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

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

    Updated link in post

  • It sounds straightforward to me. You'd write a batch file that automates the unzipping and zipping.

  • You could always extract the c3p file to a folder. It's just a zip file.

  • The idea is to understand how to do collisions in 2d first. It can be used in Iso by using the same idea only utilizing the Iso move instead.

  • Again, all other behaviors won't really work with this.

    Maybe try some ideas with bouncing in just events? Here's one idea that tries horizontal then vertical movement

    x = x+vx*dt

    if overlaps wall

    --- x = x-vx*dt

    --- vx = -vx

    y = y+vy*dt

    if overlaps wall

    --- y = y-vy*dt

    --- vy = -vy