A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: Please help!

  1. #1
    hates sounds in preloaders.
    Join Date
    Nov 2002
    Location
    Sweden
    Posts
    361

    Please help!

    Hello,

    I have this little game i'm working on, right now, it's only a character walking. But i can't get it to work either. I must be really bad at this... But actually, i think it's a bug. When exported, it really doesn't work. (in editor it works though). An if the "show from beginning" button isn't enabled, not even the first child movie shows in browser. Sigh...

    Joel
    Attached Files Attached Files
    hurg.

  2. #2
    Senior Member
    Join Date
    Mar 2003
    Posts
    136
    I think you have conflicting code.

    Why is there a state() function in the main body as well as similar state() functions for left key and right key?

    I agree it all works in the designer, and still works when the main body state script is removed ! ! !

    My 3dfa v4.4 is export disabled script-wise but it still shows the movies on screen so I can't think what the swf error is in your pc.

    Try removing the conflicting main state() script first.

    Nice coding by the way!
    Carnwath

  3. #3
    hates sounds in preloaders.
    Join Date
    Nov 2002
    Location
    Sweden
    Posts
    361
    Hmm... The script in the body isn't set to run, i just have it there so i can copy and paste it...

    But i'll test to take it away anyway. Thanks.
    Nice coding? I should send you some of my other work

    Joel
    hurg.

  4. #4
    Senior Member
    Join Date
    Mar 2003
    Posts
    136
    Take out everything, one piece at a time.

    What is the 100sec delay for in the main? and the movie layers vandersfot and hogerfot? and layer135 ?

    Theoretically you only need the definition of the movies in the startup script and the on-key() event handlers for left and right arrow, as far as I can determine.

  5. #5
    hates sounds in preloaders.
    Join Date
    Nov 2002
    Location
    Sweden
    Posts
    361
    Hmm, actually, i've had this problem before. It seems to be a bug. When you control elements in arrays through functions, it always gets sick when exported...
    hurg.

  6. #6
    Senior Member
    Join Date
    Mar 2003
    Posts
    136
    Send them a bug report.

    I started to pick apart the movie timelines for left/right/stopped and its all gloriously complex and wonderfull.

    Heres my simplified hack of your work. Hopefully 3dfa will fix it so arrays within functions will work, but as with all languages...

    ...ya works around the sticky parts and uses what works...
    Attached Files Attached Files

  7. #7
    hates sounds in preloaders.
    Join Date
    Nov 2002
    Location
    Sweden
    Posts
    361
    Originally posted by carnwath
    Send them a bug report.

    I started to pick apart the movie timelines for left/right/stopped and its all gloriously complex and wonderfull.

    Heres my simplified hack of your work. Hopefully 3dfa will fix it so arrays within functions will work, but as with all languages...

    ...ya works around the sticky parts and uses what works...
    Gee, thanks carnwath.

    And just a note: It was a bug, and it will be fixed in Beta 5... That will come in a few days.

    Just didn't know where to put this:

    hurg.

  8. #8
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    893
    Originally posted by Twisted Mind
    Gee, thanks carnwath.

    And just a note: It was a bug, and it will be fixed in Beta 5... That will come in a few days.

    Just didn't know where to put this:

    ...................pretty high there indeed, I've never made it passsed level 5 myself, but I never was too good at pacman ............

    -Jason

  9. #9
    Senior Member
    Join Date
    Mar 2003
    Posts
    136
    I used to avoid games in the office, spending all my time working on serious stuff like accounting,inventory etc in VB, SQL

    Only recently with my endeavours with 3dfa did I get into gaming.
    See my tiles game at http://www.smartcode-comp.co.uk/game.html

  10. #10
    hates sounds in preloaders.
    Join Date
    Nov 2002
    Location
    Sweden
    Posts
    361
    Originally posted by zoranvedek
    ...................pretty high there indeed, I've never made it passsed level 5 myself, but I never was too good at pacman ............

    -Jason
    Hahah

    I used to avoid games in the office, spending all my time working on serious stuff like accounting,inventory etc in VB, SQL
    Boooring
    Or, well, actually i'm trying to learn VB myself... But imjust keep coming back to 3DFA. It's very addictive.

    I love your tiles game. Is it v4-made?
    Should also be wuite easy to make a map editor to it. If you send me the source, i'll try...
    hurg.

  11. #11
    Senior Member
    Join Date
    Mar 2003
    Posts
    136
    Here is the source including gifs etc for V3.72

    See elsewhere here in 3dfa for Doom and other game references by me

    While I have ten years asp vb sql and a 100 other languages, I am also a newbie to 3dfa. I had v3.4 without actionscripting, went to Swish2.0 and made games using the javascript in the browser. Now I too am back to 3dfa and love it.

    Only recently got into 3DCanvas and a night ago played with 3dfa 3d-shape-editor cool! We live in interesting times, the big boys will continue to spend thousands on 3D professional tools, but with 3dfa and array data storage I can see unlimited potential for graphical programming. I would not have designed your app the way you did but would have stored the position and direction of the feet/head/eyes and moved them as needed from arrays - just me I suppose.
    The big question is where is your game going?

    If you look at my Doom/hand animation/annabella/chess posts here, I am probably going to create a skybox world with characters on a chessboard grid as my next affort. To do what - I don't know yet but it will incorporate what I learned in the last 12 weeks in 3dfa V4.4 or better.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center