A Flash Developer Resource Site

Search:

Type: Posts; User: gamingPC

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    1,806

    Wait so, If I extend "superBullet" to ...

    Wait so, If I extend "superBullet" to "abstractBullet", superBullet can be passed as an argument that is an "abstractBullet"?

    right now, I just merged all the classes together, making just the...
  2. Replies
    9
    Views
    1,806

    Im storing it in the Array because thats how im...

    Im storing it in the Array because thats how im checking for collisions, looping through the array.

    why would I want to add it to the Array if it collides thou?
  3. Replies
    9
    Views
    1,806

    hmm, I think your answer didnt really aim at my...

    hmm, I think your answer didnt really aim at my question, my I didnt explain well.
    Keep in mind, what im doing is not with bullets, but the same principle.
    Thats why the bullets are being "shot"...
  4. Replies
    9
    Views
    1,806

    Any way to expect 3 diffrent classes?

    Hi.
    so to the point:
    I have 3 diffrent types of bullets that are being shot.
    On collision or go off screen, I need to delete this bullet from my Array of bullets.

    Now, with 1 bullet, its all...
  5. Replies
    3
    Views
    526

    well there is no way to save directly through...

    well there is no way to save directly through AS3, however you can send the xml data to a php script that will save the xml for you, and then you can re-download the xml to update what you have.
  6. Replies
    1
    Views
    405

    function checkClass(theObject:Object) { if...

    function checkClass(theObject:Object) {
    if (theObject is WorldBase) {
    do...
    }
    else {
    do...
    }

    or perhaps one of these will work without function:
  7. Replies
    6
    Views
    811

    if scrollerMask is the mask, you dont make it...

    if scrollerMask is the mask, you dont make it mask itself.
    you make it mask the movieclip you want.
    so

    someMovieClip.mask = scrollerMask;
  8. Replies
    6
    Views
    811

    what you did wrong was assign a Class to...

    what you did wrong was assign a Class to something thats expecting a display object.
    You cant assign the class as the mask.
    you have to use a displayobject to mask a displayobject.
  9. Replies
    1
    Views
    341

    well, set it up with a timer and memory usage...

    well, set it up with a timer and memory usage check, and find out.
    I'm pretty sure it would depend on each case for itself, and what you are doing.
  10. afsfas

    import flash.events.Event;//Import this event so you can use Event.ENTER_FRAME

    var mymc1:mc1 = new mc1 ();
    var mymc2:mc2 = new mc2 ();
    var mymc3:mc3 = new mc3 ();
    var mymc4:mc4 = new mc4 ();
    ...
  11. Well uh, im having some problems with Flash right...

    Well uh, im having some problems with Flash right now.
    If you could just paste your current code here please :)
  12. Do you want it to loop in the same order ( like...

    Do you want it to loop in the same order ( like the first Randomization )
    or should it do a new randomization ?
  13. fasfas

    hmm, seams your right. I took it to far :D
  14. I cannot guarantee itll work 100%, but I think it...

    I cannot guarantee itll work 100%, but I think it would be something like


    // instance the MovieClips ( so theMC1 is the name of the identifier you exported to flash ) //

    mc1:theMC1 = new...
  15. well, what I would do is export each MovieClip to...

    well, what I would do is export each MovieClip to actionscript ( meaning, giving it an identifier ). create an instance of each one, put them all in an Array, Shuffle the Array, then just add the...
  16. Replies
    3
    Views
    791

    Sloped Surfaces?

    Hi,
    While creating a platform game, it just now came to my mind - why not have sloped surfaces? ( meaning, not straight ).

    Ive spent the last 2 days in thinking of how to do this, looked across...
  17. Replies
    3
    Views
    9,233

    Hmm, your code seems fine. only thing i can think...

    Hmm, your code seems fine. only thing i can think of, is that gamescore was equal top1, so it looks like it duplicated. ( as you did >= )
  18. Well, what do you mean "good practice" is what is...

    Well, what do you mean "good practice" is what is comes down to...
  19. Replies
    6
    Views
    532

    I dont think you"ll have problems, but I think...

    I dont think you"ll have problems, but I think you've gone too far.
    Unless your supposed to have 99999 different looking badges.
  20. Replies
    17
    Views
    3,857

    fasfas

    you should define your question better, or I didn't get it.

    Best Practices = Class per Enemy.
    Comfortable = XML, Arrays.


    I came out a dum dum .
    Oh well, I suppose at some point I"ll think...
  21. Replies
    17
    Views
    3,857

    have you read anything he said? its going to...

    have you read anything he said?

    its going to be a game on sites that feature games, so XML and SQL Databases are not available.
  22. Replies
    17
    Views
    3,857

    fasfas

    sure, but the 100 different enemies are what bring the " a LOT". Its a database that makes the a LOT possible.

    now think about it, do you know any game that has 100 enemies inside it?
    have it?...
  23. Replies
    17
    Views
    3,857

    Well, I would just make a class per enemy. every...

    Well, I would just make a class per enemy. every object will have its own data with it.

    so you got

    enemy1.hp
    enemy2.hp
    enemy3.hp
    enemy4.hp
  24. Replies
    8
    Views
    987

    yes i know that. so your saying i can get out...

    yes i know that.

    so your saying i can get out of document\ domain root.


    thanks alot for all the help. :)
  25. Replies
    8
    Views
    987

    fas

    come again?
Results 1 to 25 of 56
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center