krish's Forum Posts

  • Followed you on soundcloud.

    I might soon need tracks for the upcoming games. Will let you know.

    Thanks

  • Suggesting translations to be available in Irish?

    Would you be willing to help do that? We at Toonheart, wouldn't mind or rather would gladly welcome extra translations :)

    I shall buzz you during game alphas .. if you are okay with it.

    Or did I completely miss the point of this thread :D

  • Is there a way to do this pick(1.1,2.2,3.3) .. should randomly give me either 1.1 or 2.2 or 3.3

    :)

  • is it a running game?

    Does the person shown need to be smooth only or can be doodled too?

    I can try doodling a bit if I find time; no promises though :)

  • How do I get the last key pressed.

    I was thinking Keyboard.StringFromKeyCode(0)

    but that doesnt seem to work.

    Anyone?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry that .y was there.. I just forgot to write it here.

    it wouldnt accept without the .y anyway :)

    Anyway, the problem was another random wrapping it by mistake.

    This is fixed :)

  • I was thinking Keyboard.StringFromKeyCode(0)

    but that doesnt seem to work.

    Anyone?

  • Sorry, let me add... so random could generate decimals too.

    Added floor(random(0,4)) instead of just random(0,4)

    Still the problem exists.

  • Hi

    I have 5 walkpaths (basically one line with 5 instances) and every 5,15,20 secs I spawn object on (x+200,walkpath(random(0,4)))

    and this gives me the error

    Javascript error!

    Uncaught TypeError: Cannot read property 'y' of undefined

    192.168.2.211/commonace.js, line 174 (col undefined)

    when trying to spawn the second one.

    Which means probably when random number is generated. :/

    Wondering why?

  • Oh darn missed it ... saw this thread now :)

    martinx09 .. do let me know if you need again in future :D

    All the best with the game.

  • Im interested too.

    My skype - das.srikrishna

    I'm the dev of games 'Tank 'Em Up' and 'You are a Shadow' (ludum dare fame)

    blog.toonheart.com

  • I see sometimes animation snubs off and toggles... meaning there could be a race condition happening.

    So wondering if there is a better way to do this.. that will ensure that the timing race doesnt happen between these two animations?

    "Default" has no image

    "LazerON" has a lazer beam animating glow

    <img src="https://dl.dropboxusercontent.com/u/48735785/Construct2_Issues/toggling-lazer.png" border="0" />

    Thanks :)

  • Hi,

    Just wondering if I have a 4 frame animation.. what would be the best "animation speed" to use in terms of performance.

    I'm thinking 6 ... 12 looks good too... but might overload?

    Ofcourse, higher speed is making it look smoother.. but in terms of a game that needs to be played on mobile, wondering what other devs feel is a good speed that doesnt kill performance on a decent mobile these days.

    Also, does ping-ponging take up more resources?

    Thanks in advance :)

  • I have a minion .. with finding path to target1

    When it reaches target1, I ask it to find path to target2.

    This minion is spawned at start point every 3 secs... so imagine couple of minions moving in line.

    When the first minion reaches target 1, the path changes for ALL the minions.

    Shouldn't it only affect that minions path and not the rest in line.

    Wondering why?

    Minion on collision with target1 ->   find path (target2.X, target2.Y)

    should change for all minions.. and not just the one that collided.

    Anyone? :)

    Thanks for help.

  • You could also blockade one of the ways with an invisible object

    What happens to the next minion on the same path.. if it needs to take a different route?

    How about if we could have multi target.. and assign certain sequence..

    say minion1 = targets (1,3)

    minion 2 = targets (2,3)

    so that way minion1 would take a different route collecting target1 and then target3 .. than minion2 that'd take 2 first and then 3.

    Eventually both reach 3 in different ways. (ofcourse the way you place targets 1 and 2 matter)

    Ashley ?