LittleStain's Recent Forum Activity

  • Hi Stain, thanks for your fast response!

    Sorry but I still don`t get it, part of my brain is fried right now. Can you explain it once again, please?

    That would be quite useless, for the explanation would be the same..

    the clamp expression keeps the value of the variable PowerOfShot between a maximum and a minimum..

    by dividing the variable PowerOfShot with the maximum power you get a number between 0 and 1, when you multiply this by 24 you get a number between 0 and 24, by rounding it it will be an integer instead of a float and the frame can be set..

  • > I can't open your html file, but if you explain a little better what it is you'd exactly like, I might be able to help..

    >

    just download it and right click > open with > Google Chrome or what ever do you have

    No, thanks..

    I'd rather just hear a better explanation, but good luck!

  • I'm not sure what you are trying to do here, but if you want to set a tile of the ore tile, you should use ore tile set tile..

    You can call the tiles from ore tile through the expressions like you use for maintile in the above example..

  • If you have a maximum value and a minimum value for the power it would be quite easy..

    Should be something like this:

    set Variable PowerOfShot to : clamp(distance(touch.x,touch.y,ball.x,ball.y),0,maximum)

    radial powerball set frame to : round(24*(PowerOfShot/maximum))

  • You mean something like this?

    Example made with C2 Beta 208

    It uses copies instead of clones, "bullet behaviour" and "wrap behaviour"..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you could explain more or perhaps share a capx of what you are doing it will be easier to help..

    Is there a reason these are cloned objects instead of instances of the same object?

    Would using a family for these objects work?

  • I can't open your html file, but if you explain a little better what it is you'd exactly like, I might be able to help..

  • The touch-object can get the angles of the device, you can use these to make your bullet move..

    From the manual:

    https://www.scirra.com/manual/119/touch

    Touch conditions:

    Compare acceleration

    Compare the current device's motion as its acceleration on each axis in m/s^2 (meters per second per second). The effect of gravity can be included or excluded, but note that some devices only support accelerometer values including the effect of gravity and will always return 0 for acceleration excluding gravity.

    Compare orientation

    Compare the device's current orientation, if the device has a supported inclinometer. Alpha is the compass direction in degrees. Beta is the device front-to-back tilt in degrees (i.e. tilting forwards away from you if holding in front of you). A positive value indicates front tilt and a negative value indicates back tilt. Gamma is the device left-to-right tilt in degrees (i.e. twisting if holding in front of you). A positive value indicates right tilt and a negative value indicates left tilt.

  • Is there any way to move the character through the phone's position?

    Note: I am using the bullet to give movement, what I need and change direction as the User moves the Android device!

    Please use English on this forum, if you can't type in English use http://translate.google.com to translate, like I did in the quote..

  • LittleStain and

    I'm completely lost. The only thing I can see that even mentions 8DM is on the left panel but has nothing about controls other than one with a yes/no option and under events I open keyboard and have little luck after that... like I said. I'm a noob lol. Use to use Gamesalad.

    Open up your event sheet tab and add event..

    To be able to work with keyboard events you should first add a keyboard object to your project..

    It might be of use if you don't know about event sheets and/or events to follow a few tutorials from the tutorial-section of this page to get the hang of things..

  • If you have specific questions about events and or actions I'd be glad to help..

  • The easiest way to check if a variable changes:

    create a second variable called OldVariable

    system compare Variable is not OldVariable

    call function

    set OldVariable to Variable

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies