R0J0hound's Recent Forum Activity

  • 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

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The idea there is to only run the physics simulation once per tick. You probably could just check if the last run tick is different than the current one:

    this.runtime.tickcount != this.behavior.lastUpdateTick

  • I did not implement saving and loading state with this. I haven't reasoned about what side effects this would cause but it probably causes the effects you see.

  • Probably the way to do it would be to use a seperate object for the different parts. The player won't know the difference

  • Simplest would be to use an iframe plugin and then just run the example in that. Iframe lets you run almost any html inside it. Probably not feasible in C3 at this point.

    It may be better to just use that directly and not use construct at all. It has tutorials, tools and examples ready to go. Making it into an add-on for construct will make it more complicated and clunky to use.

  • To be sorted the tail has to have the isometric behavior too. When you move an object with another behavior you need to update the isometric position as well. I believe there is an included action to do that.

  • A quick google search looks like there's a setting in chrome where you can have it ask where to save files each time. Otherwise it looks like a browser controlled behavior, not something you can control from javascript in a html5 export.

    I even checked C3 which would likely have this were it possible. No dice.