saiyadjin's Forum Posts

  • so you use pin to make an object follow yours but when it gets on some distance it changes it's physics on and off ?

    why not just leave physics on for it? or is the physics for player?

    if you can't do it any other way - check every 200ms, that's about 5x a second, seemed to work best for me in my game when i did rotation (360 frames, each 0.2sec instead of each tick for 1°) worked like a charm and saved a lot of processing

  • setting position by x and y coordinates with system expression seems a bit pricey to me. why not use just some movement behaviours to do it? (custom or bullet), i think they're more optimized for performance then setting x and y every z miliseconds.

  • it should work :/

    at least it does on my objects in my game..

  • visual studio is not a wrapper. it's a development tool. C#, C++ and more. But also extensible and can build cordova apps in js/html, including c2 games.

  • bad code?

  • it depends on your PC too. if you have a stronger PC / different architecture in cpu causes to use less % then on the PC / CPU it was tested on.

  • if you have something like this:

    -check if tween runing

    - then for each .. bla bla

    it will not run the foreach loop if tween is not running.

    if you have:

    • for each ... bla bla

    - if tween is running... then bla bla

    then foreach will run every time, and you will check if tween is running multiple times.

    i can provide more info if you show some kind of code / capx

  • one simple word. construct.

    i've tried stencyl but it's nowhere near as good as c2.

  • nice. seems like fun game

  • Artpunk - what's the game name if we can know? i see it's some chicken.. seems like it's gonna be super crazy fun

  • if you are new on the market and you want to collect players for your games - option 1. maybe even start with no ads games / no money games to get some people to play your things. also marketing yourself around helps. once you have at least 100 000 players on each game.

    add ads. then add ingame items. then maybe make a pay once game (with ingame shop, no ads)

  • it's a hard question. if it's your first game, go with option 1.

    when you get loads of players and they know you will do another game - go with option 2.

    ignore fully option 3.

  • what is the overall usage of cpu in debugger?

    if it goes too high it might be problematic.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • umm.. pick nearest? do you want really to pick nearest? what kind of game is it ? do your entities shoot range? or just melee? what if 2 instances are on the same distance from different sites, pick nearest will random. also if one is closer, it will pick the closest, but do you want the one attacking to get picked or the one closest..

    you didn't elaborate your problem really much.. you just said you want your objects from a family to attack each other

  • how did you get events / engine / draw calls values?