A Flash Developer Resource Site

Search:

Type: Posts; User: Sibu088

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    1,319

    problem with drawing shape and setChildIndex

    hi guys

    I'm making an android air application for school, a sketch app.
    But I'm facing an annoying problem, when I'm drawing I can draw over my bar and my menu, here's some code:

    function...
  2. Replies
    14
    Views
    4,125

    ah lolz I found why it wasn't working :D I had...

    ah lolz I found why it wasn't working :D

    I had this code in comment:

    addEventListener(Event.ENTER_FRAME, checkCollision);

    so no wonder the collisonDetection wasn't working :D

    thanks a lot...
  3. Replies
    14
    Views
    4,125

    damn why can't I get this working :( It doesn't...

    damn why can't I get this working :( It doesn't give any errors at all but doesn't work...
  4. Replies
    14
    Views
    4,125

    Yea it just looks easier to me with the functions...

    Yea it just looks easier to me with the functions *Die()
    and because I can't get this code working

    public function checkVirusCollisions() :void{
    for (var i:int = arrBullets.length -1; i >= 0;...
  5. Replies
    14
    Views
    4,125

    how should those enemieDie and bulletDie...

    how should those enemieDie and bulletDie functions look like?
    thanks :)
  6. Replies
    14
    Views
    4,125

    So I just put this code public function...

    So I just put this code

    public function checkVirusCollisions() :void{
    for (var i:int = arrBullets.length -1; i >= 0; i--){
    for(var j:int = arrEnemies.length -1; j >= 0; j--){
    var...
  7. Replies
    14
    Views
    4,125

    holy * :D could you help me out with some code...

    holy * :D

    could you help me out with some code :s, I understand half of it because of my bad english :s and because I have almost no experience with as3 :(

    I'm really sorry for the trouble
  8. Replies
    14
    Views
    4,125

    wow thanks I made some really stupid stuff in my...

    wow thanks I made some really stupid stuff in my code :D

    but how do I delete those specific enemies and bullets that collided with each other? :s

    thanks allot already for the time you put into...
  9. Replies
    14
    Views
    4,125

    I thought I'd better post some code :D so this...

    I thought I'd better post some code :D

    so this is where I create my Enemy


    private var arrEnemies:Array = new Array ;
    var newEnemy:Enemy = new Enemy ;

    newEnemy.scaleX =...
  10. Replies
    14
    Views
    4,125

    Enemies in array, AS3

    Hey guys

    I'm making a Space Shooter Game for school and I just can't find how to put my enemies in an array.

    I found this code in an other thread


    public function checkVirusCollisions() {...
Results 1 to 10 of 10




Click Here to Expand Forum to Full Width

HTML5 Development Center