andrefabud's Forum Posts

  • 5 posts
  • Its actually simpler than that (Sorry for my english)

    If its platform here is an example, its a single variable what controls everything and in a platform it detects if its in the ground or falling so its just a matter of comparing the number that gives you while falling and if its high enough well just insert your animations etc, if not it will compare while its on the ground if its still alive and reset the variable which controls the fall.

    http://dl.dropbox.com/u/69032522/fall.capx

    Tell me if it was usefull and if this was what you were looking for, (I use construct 2 on a Mac so if you can't open it, i'll post a screenshot of the event sheet)

  • Thanks alot! it was very helpful!

  • But if i do like X= Random(1,200) some values might fo outside the Screen, the idea is getting Coordinates of the screen so i can use them...

  • Why not just use random(1,100) instead of random(100)? and i think what you're saying "50-100 of 100 is 50% drop rate", 50-100=50? it means is 1 out of 50 chances to get a drop, not 50% drop, random(1,2) would mean 50% chances. but using random(1,100) would be nice, if you're doing a game with different difficulties, you could reduce the numbers between the random method to make it easier to get a drop.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, First of all.

    Thanks for Sharing your time and read this How do I's.

    I'm trying to first find some random spots on the "Game-Screen" Since its a moving-forward game the enemies should spawn randomnly but in "on-screen points", and then after reaching a point i'm trying to stop and start a Cinematic/ some dialogs thing, like "Hey what are you doing here" and then keep on with the Game.

    Any Suggestions on how can i do this?

  • 5 posts