A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Game tutorial not working

  1. #1
    Senior Member
    Join Date
    Aug 2007
    Posts
    228

    Game tutorial not working

    This is a game tutorial I tried to follow, you can see the tutorial here

    http://www.tutorialized.com/view/tut...t-System/21036
    its an RPG combat tutorial

    I dont have any error messages, but it simply stays on the same screen
    flashing enemy turn.
    I retraced my steps twice, and I cannot find where I went wrong in the tutorial.

    Maybe someone more knowledgeable can look at it and instantly know what I did wrong? ;D

    heres the Fla.
    Attached Files Attached Files

  2. #2
    Senior Member
    Join Date
    Aug 2007
    Posts
    228

    Re

    should I post somewhere else? or maybe be more specific?

    I think the problem might be where i put scripts on the actions MC or buttons

  3. #3
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    more specific is always better
    wich code do you wonder to put where?

  4. #4
    Senior Member
    Join Date
    Aug 2007
    Posts
    228

    re

    I was wondering if

    1: I am supposed to or not put everything on the main scene
    2: if I put the scripts in the right places on the actions MC
    3: If maybe there is something common knowledge that wasnt in the tutorial? say i need to put a stop() somewhere.

  5. #5
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    when you see
    onClipEvent(load){...
    or
    onClipEvent(enterFrame){
    you have old fashioned Flash5 code style wich always is stored on movieClips and usually operates on that particular movieClip. But ever since Flash MX it´s bad practice to put code on MovieClips because it´s anything but not organized- and hell ugly.

    when you see this:
    on(release){..
    it means that it should put on a button or movieCLip (movieClip can act as a button as well- but better take a button).
    after that some parts of the tutorial expect code to be stored on frames within certain movieClips.
    From what it looks to me (tutorial) it is either already pretty old (Flash 5 days) or done by someone not long ago with a bad coding style.

  6. #6
    Senior Member
    Join Date
    Aug 2007
    Posts
    228

    re

    sorry i forgot to mention i am using flash 8
    and so is the tutorial.

  7. #7
    Senior Member
    Join Date
    Aug 2007
    Posts
    228

    lol

    rofl
    ok I did the tutorial over again, and sort of got it to work, I am not sure what i did differently ^ ^
    it works fine but when you, and the enemy get down to 0 HP life nothing happens
    you can still continue to attack the enemy, and just sit there hacking away at each other ROFMLFAO
    I do not think that is what was supposed to happen, but maybe I will figure that out eventually too.

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