LittleStain's Recent Forum Activity

  • I think updating the touchstick-controls to create "realistic" helicoptermovement shouldn't be that hard, I guess it's a bit like the car movement with a few extra options..

    I've updated the example in the hope it will now work as expected on Iphone as well.. (did you have a look at all behaviours?)

    Instead of drag and drop I almost always use set to touch.x,touch.y with offset.

    So on touched

    • object set offsetx to touch.x-object.x
    • object set offsety to touch.y-object.y

    is touching

    -set object x to touch.x-object.offsetx

    -set object y to touch.y-object.offsety

    It has the same effect as using drag and drop, really.

  • Discovered a small irregularity in the events, which I didn't think would have any influence but changed anyway.

    For people with Iphone and Ipad and such please try again to see if the multitouch now works. (You'll probably have t refresh the page a few times, at least I always have to with dropbox)

  • jayderyu,

    Ofcourse I'm using touch ForId, that's one of the most important parts, as you well put it. I will look into why this isn't having the desired effect on iPhones.

    I will also look into your tutorial to see if it has any new angles on the subject to look into.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is the 8 direction thumbstick example i placed in This topic what you were originally aiming for?

  • In the events you use the alpha beta and gamma values just subtract the difference. so instead of if alpha>20 it would become if alpha-difference>20

    so just replace each alpha with (alpha-difference)

    This is just theoretical, for I've never tried it myself.

  • I guess it would be something like, on timer, pick ball instance at top of table, move to ball, throw in random direction, set timer to random time..

    But it all depends on how intelligent you want your ai.

    you could choose to pick nearest instead of random, increase the moving speed of the enemy, shorten the timer, etcetera..

  • I think saving the variables to webstorage would be your best bet.

  • You could set a global variable for alpha beta and gamma difference on button pushed or any other event and subtract that difference from the alpha beta and gamma values every tick from that moment on..

  • I was already planning one question ahead. Changing this event to one that spawns different objects with different probabilities is pretty easy.

    There's often no such thing as better, just preferences and I like the choose option for it's adaptibility..

  • ball on collision with player: set bullet speed - bullet.speed+10

    Give the blocks a ChooseSpawn variable

    ball on collission with block - block set variable ChooseSpawn - choose(0,0,0,1)

    • block compare variable Choosspawn = 1 - block spawn
    • - block destroy

    this way there is a 25% chance the block will spawn. To spawn different items you could use more numbers than 0 and 1 and spawn accordingly

  • would setting for each walker as topevent above the every x seconds and removing it in the subevents work?

  • There seems to be something wrong with my Skype-account..

    I'll remove it from my signature untill I figure out what..

    I don't know much about spriter, so I can't say if using it to this extent could cause issues.

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