new game

Discussion in 'iOS Development' started by Covenant550, Mar 22, 2008.

  1. Covenant550

    Covenant550 New Member

    Joined:
    Oct 14, 2007
    Messages:
    767
    Likes Received:
    5
    Device:
    iPhone 4 (Black)
    me and a few people are workign on a new game. (wont say name yet) but need a little help as i dont have much knowledge of jiggy.

    i need to know what a "before" statement is? when i run it these lines of code give me errors saying i need a before statement:

    Code:
    var m:MovieClip = _root.attachMovie("ball", "ball", 1, {_x:125});
    
    var t:MovieClip = _root.attachMovie("terrain", "terrain", 2, {_x:0});
    
    var f:TextField = _root.createTextField("textfield", 20, 100, 25, 300, 25);
    
    var precision:Number = 1;
    
    var radius:Number = m._height/2;
    
    var sum_x:Number = 0;
    
    var sum_y:Number = 0;
    
    var collisions:Number = 0;
    
    var normal_x:Number = 0;
    
    var normal_y:Number = 0;
    
    var vector_length = 0;
    
    var go:Boolean = true;
    

Share This Page