skelooth's Forum Posts

  • sweet thanks!

  • Is it possible to have a sprite retain its absolute size regardless of the size of the window?

    An example would be a button that needs to be 50x50 pixels regardless if it's on a phone, desktop, or movie theatre.

    If there is nothing native, is there a way to add or subtract the difference in scale compared to a layer? Something like, if layerscale > 100% -> sprite scale = sprite scale - ( layerscale - 100% )

  • https://www.scirra.com/manual/80/groups

    TIL about event groups that let you switch groups of game logic on and off at runtime. Very cool, not sure how I've missed this one.

  • on pause -> set animation speed to 0

    or

    on pause

    • > [game logic here]

    on pause off

    -> [menu logic here]

  • Does that flag get set for mobile browsers?

    Does that flag get set in node?

    That's not going to help me verify at runtime which export option was used to generate it.

    Are there any javascript variables I can check against?

  • For example

    if [ on android cross walk ] -> call some function

    if [ on html5 export ] -> call different function

  • I'm pretty sure Viuletta *is* the programmer.

  • Sweet!

  • For example

    x1: 100px

    x2: 200px

    x3: 120px

    x4: 180px

    y1, y2: 100px

    y3, y4: 200px

    This would theoretically skew a quad inward at the top. Is this functionality possible in C2?

  • Is there any built in functionality or existing plugins for this?

    RESOLVED

    You can make a native call to javascript via the browser object.

  • link to the APK and I will download it and see how it runs on my S4. Again, just make sure it's crosswalk. XDK has multiple android options.

  • make sure it's not enabled as an object in your project folder tree (right hand side of C2)

  • First things first, get it working. It looks like you are self hosting and a couple of the files aren't showing up. I think dropbox lets you share games.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As long as its handled well, I think virtual joysticks are the bomb. SquareEnix used them in their FF mobile remakes and I've used it in action games and platformeos as well. It was pretty easy to build one for my own game in C2. Combined with either a second joystick or some virtual buttons and it turns a phone into a game pad.

  • No way to tell without seeing the code, but you might want to restructure how the pause button works. Instead of setting time scale to 1 in my own projects I keep a "paused" variable and make sure nothing moves while it is set. This way anything that's still functional while paused isn't restrained by the time scale.