shinkan's Forum Posts

  • Three.js

    Someone play with that?

    especially cube maps

    Cube map

    would like to see it as plugin one day :)

  • why it says iOS Construct?

  • Event 12 - missile: Set SmkID to Particles.UID - not IID

    Event 5 - missile: Is Launched -> set particles pos and angle - remove "for each" and "pick"

  • there should be an option to add an image point to all frames of an animation at least

    Right mouse click on image point name -> apply to whole animation.

    It will add and position current image point for all animation frames.

  • What if there's more people watching same screen? ^^

  • (Adding an Image Point on each individual frame manually sucks Ashley ;D)

    heh, and I just came here to suggest that :) 4 image points on 30 frames it's pain ;). Maybe something like "image point map" could make it less annoying. All you have to do is to import image files where single pixel will be recognized as image point (colors for different image points?)

  • On P pressed: Set time scale to timescale = 1? 0:1

    This is doing what you want. It will pause and unpause the game with one key.

    From manual

    : is a conditional operator, which allows you to test conditions in expressions. This is especially useful when used with the comparison operators and logical operators. It takes the form condition ? result_if_true : result_if_false

    e.g. health < 0 | score < 0 ? "Game over!" : "Keep going!".

    The condition counts as true if it is non-zero, and false if it is zero.edited><editID>shinkan</editID><editDate>2012-03-07 23:28:51</editDate></edited>

  • On P pressed: Set time scale to timescale = 1? 0:1

    No need to use variables. :)

  • I've been working on a small side project for a few days just to test some stuff/performance.

    <font size="4">Controls:</font>

    Left Arrow - move left

    Right Arrow - move right

    Hold Shift + Left/Right Arrow - for slower horizontal movement

    Up Arrow - move faster

    Down Arrow - move slower

    Space - shoot lasers (no point for doing that yet, but you can if you want)

    Download link: Trench Run

    I get almost same result on IE9 and Chrome. Usually it stays between 56-60fps but sometimes it goes down to 30-34 for a second or two and goes back to 56-60. Not sure why it's happening. There's about 150 objects (mainly instances of same sprite) on the screen +/- 5 for obstacles and some more for lasers.

    I would like to ask you if You could play it for a while and tell me your highest FPS count, so I could figure out that jumpy frame rate.

    Thanks to all

    <font size="2">edit: Forgot to say, I'm using chrome frame on IE9</font>

  • I'have similar issue for instances of the same object, something like

    Sprite: Pos = "exit" -> Sprite: Set Y to Sprite.Pos("enter") could be nice ;)

  • In actions it says "Set spray code to..." instead of "Set spray cone to..." :)

  • Try Construct 3

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

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

    car: Set X to self.X+a*dt

    a in this case is amount of pixels per second

    if you set

    car: Set X to self.X+100*dt - car will move 100 pixels per second

  • on Chrome 17.0.963.56 m looks fine, so probably it's some issues with beta version.

  • o it's not Weis (unless i understood wrong): my point is having many different objects (sprites) but all of them having the same behaviour.

    sound's like a job for a family behaviors.

    In meantime you could use variables to store some values and then apply them when needed to your behaviors - can take some events tohugh.