LittleStain's Recent Forum Activity

  • You don't have to change anything if six bullets a second is what you are aiming for..

    But I'd replace the every tick action with something like

    is touching button

    every 0.2 seconds - spawn bullet

    or something like that..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Correct me if I'm wrong..

    Every tick 10 is added to the bullet delay..

    If the game is 60fps the bullets will fire every ten ticks, so thats 6 bullets per second..

    i guess the audiosample is longer than 1/6th of a second..

  • Are you sure you are not spawning your bullets on the background layer?

  • kbtbc

  • You are trying to create a game playable for touchscreen, but you don't understand how..

    I could do it fior you, but for me also it would consist of a lot of trying, albeit with a little more background information..

    You are going to have to read up on touchID, for without it multitouch is impossible to implement..

    you could add conditions if touch.x=0 and touch.y=0 and tell the character at what angle to hold the gun.

    you could also add a condition if touch.y> a certain value to not point the gun there..

    But the more difficult part will be the multitouch and working with the touchID..

    It's been a while since I did that and I must say I've forgotten most..

    I used it in my Thumbstick example:

    Maybe looking how I did it there could help you..

  • Because it's not exactly clear to me what it is exactly what you want, I can't give any further advice, I'm sorry..

    Could be some issues in the way you implement the touchID, but I can't be sure..

    Multitouch is always tricky, I once made a onscreen joystick with fire-button and it took me a while to get the actions concerning the touchID right..

  • It;s very unclear to me what exactly it is you are asking..

    I guess what you'd like to do is add the color clicked to the array..

    so I guess you would have to know which row you are using

    for the first six colours set them to array =at(0,0) till arrayat(0,6)

    add one to a variable

    and the next will set to arrayat(variable,0) untill Arrayat(variable,6) and so on?

    Could probably all be done within one function.

  • You could use subfolders..

  • gamecorptm

    Any particular reason for bringing up a topic from more than 1,5 years ago?

  • What would you like to disable about the mouse?

    Do you mean disable the events regarding to mouse input?

    There are many ways this can be done, but the easiest way would be to create a global variable, you could call it IsReloading and add a condition to all events regarding mouse input that they only work if IsReloading is 0 and set that variable to 1 while reloading..

    After reload is finished set the variable back to 0 and the mouse input will be enabled again..

    Ninjaad by

  • How about using a detour and adding an instance variable swapvalue..

    first set swapvalue and only after the swap is completed set the values swapped to that value..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies