Xenovia's Forum Posts

  • Let me change my question;

    There are objects collising each other but have different animations.

    for example there is a y object that has x,a,b animations. an object is overlapping all of them. I want that if there is no X animated Y object is not overlapping that big object, the big object gets destroyed. (still a animated y object is overlapping the big object.)

    Is there such option?

    Thanks in advance

  • Um i dont think its possible to have construct to count the animation within a sprite. But the question I have for you is what effect are you hoping to achieve and do you have any example you wish to clone ?

    there are objects that are breakable, and unbreakable (they are seperate animations) its like if there is no breakable left game overs etc

    probably using AnimationFrameCount expression.

    i think it only counts the frames in animation :/

    something like this maybe?

    thanks dude, i guess that will work

  • Hello

    What i want is simply not object counts, the count of a specific animation of object. I mean something like this:

    a object has x,y,z animations

    if there is no x animated a object, then the variable m becomes n.

    how do i do this?

    thanks in advance

  • My game is not smooth, sometimes it has fps drops. So i want to decrease quality of game, changing fullscreen scale didn't work. Is it possible to change quality of game?

    Thanks in advance

  • I have done this before. The way I did it is with a sprite for the needle. Then I plugged in a formula:

    every tick | set angle to 185/700*Player.Car.Speed + 45. (my needle sprite is pointed straight down, so using this formula, at 0 speed, the needle points 45 degrees past straight down which is bottom left, and at 700 (my car's max speed) it points 230 degrees (185/700*700 + 45 = 230) past straight down which is top right.

    My capx is too big to upload to the forum, but if you need to see it, I'll try to shrink it or put it on google drive or something. Just let me know.

    EDIT: Wasn't too hard to shrink. Just check out the every tick event and the needle sprite.

    [attachment=0:21qfx56k][/attachment:21qfx56k]

    (W for gas, S for brake)

    Thanks a lot! I will check it out.

  • Hello

    I am trying to make a speedometer, but i have no idea how can i. Does anyone have an idea how to do?

    Thanks

  • It works ! thanks a lot

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Should be something like this:

    TiledBackground.y > Self.Height/2 ---- TiledBackground Set y to Self.y - Self.Height/2

    When going left x gets smaller, but when going down y gets bigger, so width should be replaced by height and + by - and < by bigger >

    I might have done it too fast, so there could be some typing errors, but with the above you should be able to figure it out..

    Thanks a lot! It's working, but with a little problem

    BG disappears for a bit after some seconds. How can i fix this?

  • Thanks, but

    How do i make the tiled background continue viewing on the screen? I don't know how to explain, but;

    TiledBackground <_ -SelfWidth/2 ---- TiledBackground Set X to Self.X + Self.Width/2

    how can i convert this to Y?

  • If you mean autorunner, yes i saw.

    But it's going to right, and no matter how much try, i cant make it go down

  • I mean, the road will be endless for up. How can i make?

    Thanks

  • How do i make scroll bar ?

    Thanks

  • How do i make a scrolling bar like this?

    Thanks!

  • Hey

    Thanks for that capx, i've already solved my steering wheel problem, but it's tank helped me a lot. I was thinking how should i do that. Thank you very much

  • Try this

    Wow! It worked, thanks a lot