Egyptoon's Forum Posts

  • Thanks for help, i don't know if you got the idea or not, and I'm sorry for my poor language

    the attached image shows what i mean : randomly arranged columns but at certain positions, the distance unit is the instance width or the multiply of it.

    so the generated columns may be : adjacent (space = 0) or away from each other by the instance width (160 pixel for example) or away from each other by 160*2, 160*3, 160*4 etc.

    the adjacent columns may be 2 of them or three or four.

    same thing for spaces, 2 adjacent spaces units may be or three or four.

    randomly but with some rules.

    hope i explained it correctly this time and many thanks for your reply.

  • I want to create random instances but with some rules :

    1- instances should be the same copy of the original object (no change in size).

    2- instances have the same Y value (raw of instances).

    3- X value of each one should be the multiply of the instance width (for example 160 pixel).

    4- no 2 instances should be created overlapping each other.

    the result of that should be a raw of instances at certain positions arranged randomly like this for example

    (instance - space - space - instance - instance - instance - space - instance - space - space - space - instance) etc.

    each instance and each space should have the same width and aligned to each other.

    in the game I'm working on I'm creating columns passing the screen (scrolling) and destroyed when they become outside the layout as they left the right side of the screen, but i need them random.

    i tried using "choose" like this :

    if instances count < 2 ---------> create instance at : y=240, X= Choose (160,320,480,640)

    but it didn't work as i want, C2 may create 2 instances on each other.

    I'm not familiar with arrays and still trying to understand them, so for now what can i do to achieve this ?

    thanks

  • thanks for help

  • I'll give it a try, thanks for help

  • I've to set the value of this timer, what value should i use ? how many secs ?

  • I'm using turret behavior with a machine gun that acquires an object when i click it, rotate to it and fire.

    now I'm trying to make an automatic reload system that reloads a new bullet every 2 secs but not while the machine gun is shooting (no shooting and reloading at the same time, reloading should begin after 2 secs from stop shooting)

    i can't find a condition (is shooting) that makes the condition true while shooting, instead there is (on shoot) condition and triggered once. so i tried using the condition (if bullet is on screen) as a work around.

    i tried (every 2 secs + bullet isn't on screen ----> add 1 to ammo) but reloading starts immediately after stop shooting and continue every 2 secs or may be something else is wrong about timing.

    how can i solve this ?

    Hope I explained my problem correctly but to give a clear example for what i mean : "Swamp attack" reloading system

    Thank you.

  • piszozo

    Thanks but there is no idea in this game, I'm just testing the capabilities of C2 and mine

    waiting for a fix for crosswalk 10 and if every thing is ok I'll start to make bigger and better games. i like C2 very much but the stopper now is exporting to Android and keeping a good performance.

  • Sisyphus

    No, the actual window size is 854 X 480

    High dpi = yes

    Fullscreen scaling = low quality

    Downscaling = low quality

    Webgl = No

    Full screen = scale outer

  • EstudioCelula3

    never mind, and no, you helped me a lot, many thanks

  • EstudioCelula3

    many thanks, and your phone is sooooooo powerful, hope all players have this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Sisyphus

    please do, and thank you a lot, i think that you'll notice poor performance on S3, and i tested on note 10.1 tablet 2014 edition and noticed a little lag but the game is playable. the problem may be as you mentioned. is there any way to force webgl or canvas acceleration on those devices? i tried Xwalk command line (ignore gpu blacklist) in assets folder but it seams to have no effect at all.

    tell me your results when you finish.

    BTW here is the crosswalk 10 version

    http://egyptoon.net/propaganda_xwalk10.apk

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • EstudioCelula3

    you will not notice a difference if you test on a high end device, try testing on s3 mini or s3 or even s4, there is a huge difference for sure

    45 fps (crosswalk 7 built) vs 10 to 12 fps (Crosswalk 10 built) on my personal test device.

    and i tested on so many devices with the help of many users \ testers , any device less powerful than Galaxy note 3 with show a very poor performance.

    tell me the model of your smartphone please.

    thanks for help

    Sisyphus

    I agree with you.

    tell me your smartphone model please.

  • fldr Iolva

    THAAAAAANKS I'll do.

    Have a nice weekend

  • fldr

    If GooglePlay can wait and be calm and stop sending me alerts every day I'll wait for a year, I'm very satisfied with the apk version i uploaded to the store, I'll be calm just if they stop pushing me to update my game in such a way that makes it unplayable.

    I appreciate intel efforts for sure, i just want to know when can i expect the fix, and the most important point: is there a fix for that?! is it permanent ?!

    I LOVE making games and i don't want to stop making games, I'm really REALLY enjoying this, until this issue came as a stopper and destroyed all my plans.

    Thanks for your reply.

  • my game on Google store built with Crosswalk 7

    https://play.google.com/store/apps/deta ... propaganda

    here is the same game version built with crosswalk 10

    http://egyptoon.net/propaganda_xwalk10.apk

    please check both versions for performance

  • my game on Google store built with Crosswalk 7

    https://play.google.com/store/apps/deta ... propaganda

    here is the same game version built with crosswalk 10

    http://egyptoon.net/propaganda_xwalk10.apk

    please check both versions for performance