A Flash Developer Resource Site

Search:

Type: Posts; User: AS3.0

Page 1 of 20 1 2 3 4

Search: Search took 0.07 seconds; generated 51 minute(s) ago.

  1. Replies
    61
    Views
    1,255

    I did one that uses math: download...

    I did one that uses math: download

    just 1 bug to fix when I get back later is hitting the 20 balls full speed first shot the stick didnt show.
  2. Replies
    61
    Views
    1,255

    If player 1 gets player 2's last ball in, player...

    If player 1 gets player 2's last ball in, player 2 now wins.

    swish: download
  3. Replies
    61
    Views
    1,255

    Hello kofa, I had to change something, use this...

    Hello kofa, I had to change something, use this file: download
  4. Replies
    61
    Views
    1,255

    ok here is the combo box numbers and than select...

    ok here is the combo box numbers and than select the newgame button: download

    So I am going to put in the old comments + some new comments?
  5. Replies
    61
    Views
    1,255

    Can you explain the drop down combo, what does it...

    Can you explain the drop down combo, what does it need to do exactly?

    I will make a commented version, can you tell me which lines specifically to comment on?
  6. Replies
    61
    Views
    1,255

    I had to change something, new file: download...

    I had to change something, new file: download
  7. Replies
    61
    Views
    1,255

    player 1 hits player 2's ball, so player 2 gets...

    player 1 hits player 2's ball, so player 2 gets the score.

    player 1 only hits player 2's ball so player 1 gets a miss.

    player 1 hits player 1's ball so player 1 gets a hit.

    player 1 hits...
  8. Replies
    61
    Views
    1,255

    this version adds 7 blue balls & 7 red balls &...

    this version adds 7 blue balls & 7 red balls & the 8 ball: download
  9. Replies
    61
    Views
    1,255

    this changes the stick color and turn is random:...

    this changes the stick color and turn is random: download
  10. Replies
    61
    Views
    1,255

    I would love to add some multiplayer to the game...

    I would love to add some multiplayer to the game but not before you agree on a feature like that.
  11. Replies
    61
    Views
    1,255

    oh. Alright im going to work on the as2 > as3...

    oh.

    Alright im going to work on the as2 > as3 convertor abit.
  12. Replies
    61
    Views
    1,255

    What language are you.

    What language are you.
  13. Replies
    61
    Views
    1,255

    It should look like this. function...

    It should look like this.


    function newGame(){
    clearInterval(cd_interv)
    clearInterval(interv)


    Yes.
  14. Replies
    61
    Views
    1,255

    Ok in the first few lines in the function...

    Ok in the first few lines in the function newGame() before calling setInterval for the moveBalls function it needs this line:



    clearInterval(interv)


    calling the newGame function wants to...
  15. Replies
    61
    Views
    1,255

    Might be to many enterframes running at once. Let...

    Might be to many enterframes running at once. Let me fix.
  16. Replies
    61
    Views
    1,255

    Repost continue on this thread: swish file...

    Repost continue on this thread:

    swish file with ball sound: download
  17. Replies
    74
    Views
    2,369

    ok I added: var ball_sound = new Sound(this);...

    ok I added:

    var ball_sound = new Sound(this);
    ball_sound.attachSound('ball_wav');

    So your swish library requires a ball_wav.wav which I added in the download and clicked assets> enable asset...
  18. Replies
    61
    Views
    1,255

    Remove line 501: ball0.onPress=function() and...

    Remove line 501: ball0.onPress=function()

    and line 514: } curly bracket.

    Good idea with the timer. This project is looking good.

    use this:
  19. Replies
    61
    Views
    1,255

    Does the stick not show up each time the white...

    Does the stick not show up each time the white ball goes in the hole? Send me your swish file so it can be easier to test.
  20. Replies
    61
    Views
    1,255

    Always? It happened to me once but the ball didnt...

    Always? It happened to me once but the ball didnt go in the hole. I think the game came with that error, I will find it later.
  21. Replies
    61
    Views
    1,255

    You need to make a textfield called...

    You need to make a textfield called time_total_text



    var first_shot=0
    var timeout_time=null
    var static_timeout_time=15
    degreestoradians=Math.PI/180;
    ballssunk=0;
    spacer=.2;
  22. Replies
    61
    Views
    1,255

    For number 2 you need to add a text field called...

    For number 2 you need to add a text field called timer_text

    for the var: var static_timeout_time=15, thats the time it will be for each duration if you need to modify it.




    var first_shot=0...
  23. Replies
    61
    Views
    1,255

    For number 4 you need to make a text field...

    For number 4 you need to make a text field called: game_over
    line 145 and line 155 say scores<15 and score==15 is when the game end text appears.



    var first_shot=0...
  24. Replies
    61
    Views
    1,255

    For number 3 the number of hits you need to make...

    For number 3 the number of hits you need to make a text field called: score_text
    For number 3 the number of misses you need to make a text field called: misses_text


    var first_shot=0...
  25. Replies
    61
    Views
    1,255

    For number 3 the number of hits you need to make...

    For number 3 the number of hits you need to make a text field called: score_text



    var first_shot=0
    degreestoradians=Math.PI/180;
    ballssunk=0;
    spacer=.2;
    powermultiplier=.5;
    friction=.965;
Results 1 to 25 of 499
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center