Page 20 of 58 FirstFirst ... 1016171819202122232430 ... LastLast
Results 191 to 200 of 577

Thread: sora adventure0.1 first attempt at lua

                  
   
  1. #191
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    88

    Default

    Fixed the whole problem now, I put all the frame checks at the top of the block for each control, the problem is that you were checking the frame count prior assigning it to 'state' when it should be before. I made some other minor fixes as well.

    Also:
    COMMENT YOUR CODE!!!!

  2. #192

  3. #193
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    88

    Default

    Quote Originally Posted by Shadowblind
    Just dont put the whole code in a post.
    ??? Comment your code as in "write comments in the script".

  4. #194
    DCEmu Legend gunntims0103's Avatar
    Join Date
    May 2006
    Location
    Brentwood, NY
    Age
    34
    Posts
    2,976
    Rep Power
    112

    Default

    thanks for fixing the probs yaustar with out your help i would have been lost

    i will start commenting my codes as you said doing this should help other that are tinkiering with the project right none the less i will start doing so

    thanx for the help

  5. #195

  6. #196
    DCEmu Legend gunntims0103's Avatar
    Join Date
    May 2006
    Location
    Brentwood, NY
    Age
    34
    Posts
    2,976
    Rep Power
    112

    Default attack

    well now at least i have sora attacking but not hitting anything


    now apokalpz has to fix the attack sprites for me and take out the white block around the attack then i can continue

    hey yaustar any ideas on how to fix the in game script crash problem i try to fix it but i dont even no where to start and i want to fix the prob were sora can run right off the map into a script error any input on this would be great

    hey anyone on my team download this attachment and try to get rid of that white box around sora attacking then send it back to me

    thanx in advance

  7. #197
    DCEmu Newbie
    Join Date
    Feb 2006
    Posts
    30
    Rep Power
    0

    Default

    not to be annoying but are you going to add the space ship mode

  8. #198
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    88

    Default

    Fixed. You were checking at absolute values for W_FRAME.

    In the middle of a walk cycle, W_FRAME could be 7. The sqaure button block was going 'if W_FRAME is EQUAL TO 3, then change to 1" which doesn't apply to 7. attack_r[7] doesn't have an image therefore crash. I have changed it to "if W_FRAME is MORE THEN 2, then change it to 1".

    Side fix, changed some timing issues un the walk and attack cycle.

    As for the map problem, that's easy, you run out of 'map' so just do a simple collision check or make boundaries in your collision layer.

  9. #199

  10. #200
    DCEmu Legend gunntims0103's Avatar
    Join Date
    May 2006
    Location
    Brentwood, NY
    Age
    34
    Posts
    2,976
    Rep Power
    112

    Default

    yaustar OMG thanx a million you are officailly part of the team like it or not.......lol

    really thank you

    hey a user just pm me about releasing the 0.2 version on another site i told him it would be alright but not until i have officailly released the 0.2 version here he actully was a help he fixed the white block prob i had with the attack

    now to the next step trying to bring in an enemie for sora as of now all i want to do is get a enemie on the same screen as sora this will take some time for me as coderx still has not got back to me on how to incorparate a.i i just want it simple for right now i am open to help for this

    thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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