Cassianno's Forum Posts

  • Yeah, would be really nice to know how good they run :X

  • How would you try bubble sort? loop / comparison? Well, if C2 doesn't have a built-in function to do this, depending on the size of your Array, DO NOT use bubble sort, it's the most slow method to sort.

  • haha sure xD

    Edit:

    Tested on my ZTE Light TAB (V9c) with only 600Mhz (overclocked to 725) and it was really slow. The bouncing was slow but 'ok', the particles: 1 or 2 FPS. Fail!

    On my Samsung Galaxy Y (with 832mhz processor) the boucing was somehow the same speed of the tablet, maybe a bit faster and the particles: 5-7 FPS, but it was ok to see the animation...

  • I still don't see weis... hehe maybe i need a bit more practice with the tool.

    Anyway, i think families are what i'm looking for: http://www.scirra.com/tutorials/46/introduction-to-families-for-construct-classic

    What i couldn't find was a manual entrey for C2's families :X

  • So, what is the difference between your sprites if they all have the same behaviour?

    Basically, the atributes...

    Imagine my example: the "Monster" object have events for losing hp, destroy the object when hp <= 0, walk, run, flee, attack, etc.

    All those elements should be the same for all monsters, considering it's speed, size, hp, strenght, image/animations, etc etc. You see?

    The "solution" so far that i tought is to have a monster object, with all monsters i have on single frames and an array containing it's default attributes, indexed by monsters image frame.

    So on frame 1 have a turtle? on arrayMonstersInfo[1] i have turtle's data;

    On frame 2 a dragon? arrayMonstersInfo[2] contains dragon's data, etc etc.

    The problem here would be only the animations =/

  • shinkan, thanks for pointing out some directions... i'll read about families.

    As i'm still testing the tool, i don't have this option enabled :P

  • I must be daft. Can't seem to find how to make a local variable. I know the global variables and have used them quite a lot.

    You need a subevent to add a Local variable <img src="smileys/smiley2.gif" border="0" align="middle" />

  • No it's not Weis (unless i understood wrong): my point is having many different objects (sprites) but all of them having the same behaviour.

    The picking all/random etc, doesn't help the poblem of having X events for every object type i have... you see?

    Edit;

    By the way, i just tought in some workaround... will try soon.

  • Hey guys!

    Do you already use any bug tracker? It would be great to have it open to the community, so for improvements/suggestions, we could vote and have some priority defined based on our interest. Also, it would decrease bug reporting on already known issues...

    Just an idea <img src="smileys/smiley4.gif" border="0" align="middle" />

  • ranma, if you're using a Nexus, i suggest you to try using Dolphin. It's the best browser for Android and *maybe* won't have this limitation.

    I don't believe it's a HTML 5 limitation.

  • wrekr

    I'll test it soon on my android devices. Also will give a try at this app maker...

    If you want to compare it with phonegap as suggested by Ashley, you can check on phonegap's site a tuto to how to make an android app. It's really easy, few configs only ;)

  • With this example you guys shall understand my doubt:

    Consider i have a platform with enemies. So, i have the main char and about 10 monters. I'll have some events to lower monster's hp, increase strenght, change abnorminal conditions, move it, etc etc. How to add this same behaviour to all monsters?

    To who is a programmer, what i want to know is how to have some inheritance here. I want to have a "Monster" object which will have all standard behaviour, but for each instante created, i want to change it's image, hp, etc etc...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you KIDDING me? This pharaoh is SOOOO CUTE *.* lol! Loved it :D

    Man, keep it going! I played the game just a bit and will play more later haha.

    By the way, 2 notes:

    1st> it's nice to see some brazilians pals around Scirra's community!

    2nd> as stated by the others, you really should consider make the screen bigger! It will be better to play and also will show more of this gr8 game design.

  • PRO graphics man! Sometimes there are too many obstacles on the trail and it's difficult to pass =X

  • Thanks Genki and zapmore!

    I couldn't work on game this weekend the much as i wanted, but tomorrow i'll add the scoreboard (HoF) and upload what i've done already (sounds, clicks, UI details etc).