R0J0hound's Recent Forum Activity

  • 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.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • The exponents are calculated with the Math.pow javascript function. Looking here it says for negative bases the result is always Nan when the exponent is less than 1.

    https://developer.mozilla.org/en-US/doc ... s/Math/pow

    It has further links to get into the nitty gritty why that's so. It says it has to do with precision issues.

    Doubt it will be something to fix.

    For just cubed root you could do something like this:

    x = any number

    sign = (x>0)-(x<0)

    result = sign*abs(x)^(1/3)

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 157 followers

Connect with R0J0hound