Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Maemo 5] Announce: Omnom (Pacman-like game for N900)

    Reply
    Page 4 of 9 | Prev |   2     3   4   5     6   | Next | Last
    epage | # 31 | 2010-12-30, 03:36 | Report

    Originally Posted by FRuMMaGe View Post
    Ahh. Well that sums up how new I am to python

    I assumed that global variables were the ones you called with the "global" command in order to access them from any class on the script, and the ones in the config file were different.

    In that case I am not sure where to proceed
    Putting them into the config would still be better. This makes it easier to know what state is global and makes it easier to search for.

    The next step after that is a config class with an instance in the config module. You are then calling methods rather than writing variables. This makes it easier to debug who is manipulating what (breakpoints, prints, etc) and allows you to have a single place to enforce rules as to what are valid values.

    The final step would be to move this config instance into the UI and have it pass it to its children. This probably isn't as necessary.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    epage | # 32 | 2010-12-30, 03:37 | Report

    Some maps have a "9" on them but I don't see it listed out along with PELLET, etc. What does 9 mean?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    FRuMMaGe | # 33 | 2010-12-30, 03:40 | Report

    Originally Posted by epage View Post
    Some maps have a "9" on them but I don't see it listed out along with PELLET, etc. What does 9 mean?
    9 is an empty block. It's not used often because most maps are completely filled with pellets

    Edit | Forward | Quote | Quick Reply | Thanks

     
    epage | # 34 | 2010-12-30, 05:29 | Report

    I'm calling it quits for the night
    • Fixed some more packaging bugs (oops, forgot all of that data non-sense)
    • Fixed it so omnom recovers more gracefully from an error (logging in/out of my computer for a bug is not fun)
    • Made levels data-driven (not entirely perfect yet and we will probably want to write converters as the format evolves)
    • Cleaned up some code
    • Formatted the readme in textile so github would make it pretty
    • Updated some of the documentation

    Edit | Forward | Quote | Quick Reply | Thanks

     
    FRuMMaGe | # 35 | 2010-12-30, 12:24 | Report

    Originally Posted by epage View Post
    I'm calling it quits for the night
    • Fixed some more packaging bugs (oops, forgot all of that data non-sense)
    • Fixed it so omnom recovers more gracefully from an error (logging in/out of my computer for a bug is not fun)
    • Made levels data-driven (not entirely perfect yet and we will probably want to write converters as the format evolves)
    • Cleaned up some code
    • Formatted the readme in textile so github would make it pretty
    • Updated some of the documentation
    Just downloaded the latest version from devel. Here are some notes:

    Performance is now better, so I think we can remove the OCing recommendation.

    Config menu is now broken

    Level loading is broken. As in, completing a level now takes you back to the main menu. I think this is probably something to do with the "ShowScores" function, as this is called vefore each level load.

    When you are online, let me know how to edit code and I will take a look

    Edit | Forward | Quote | Quick Reply | Thanks

     
    epage | # 36 | 2010-12-30, 12:34 | Report

    Originally Posted by FRuMMaGe View Post
    Just downloaded the latest version from devel. Here are some notes:

    Performance is now better, so I think we can remove the OCing recommendation.

    Config menu is now broken

    Level loading is broken. As in, completing a level now takes you back to the main menu. I think this is probably something to do with the "ShowScores" function, as this is called vefore each level load.

    When you are online, let me know how to edit code and I will take a look
    I'm getting ready for work now but some quick comments.

    Performance is already better? I didn't really change anything specifically targeting performance, weird.

    The quick and dirty way:
    1. Go to github
    2. https://github.com/epage/omnom
    3. Click "Downloads" in the top right
    4. Select the file format you want
    5. Edit
    6. Post up here again
    7. I will merge the changes

    The slower but better in long term way
    1. Install git
    2. Go to gitbhub
    3. Create an account
    4. Go back to my omnom page
    5. Click the "fork" button (this creates your own person copy to edit)
    6. Select the URL under the description
    7. git clone URL
    8. Start editing
    9. git commit -a -m "WHAT YOU CHANGED"
    10. git push
    11. Either let me know you made the changes and I will start following your fork or go back to my page and click "Pull Request" and I can handle merging your changes back into mine

    Edit | Forward | Quote | Quick Reply | Thanks

     
    epage | # 37 | 2010-12-30, 12:54 | Report

    If you chose to download the archive (which would probably be easiest for now) the folder in the archive is "epage-omnom-da29514" (with the last part different depending on when you download). Please preserve that name is it let's me know when in the history you downloaded so I can more easily merge the changes in.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    epage | # 38 | 2010-12-30, 13:46 | Report

    Originally Posted by FRuMMaGe View Post
    Config menu is now broken

    Level loading is broken. As in, completing a level now takes you back to the main menu. I think this is probably something to do with the "ShowScores" function, as this is called vefore each level load.
    fixed the config menu and the show scores screen.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to epage For This Useful Post:
    FRuMMaGe

     
    FRuMMaGe | # 39 | 2010-12-30, 14:36 | Report

    Originally Posted by epage View Post
    fixed the config menu and the show scores screen.
    Wow nice work. I'm still compiling git at the moment. I will give it a go

    Edit: The only minor bug (?) I see now is when the enemies pass each other I notice they have a square black background. It's only aesthetic so it's not important right now

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by FRuMMaGe; 2010-12-30 at 14:42.

     
    epage | # 40 | 2010-12-30, 14:47 | Report

    Originally Posted by FRuMMaGe View Post
    Wow nice work. I'm still compiling git at the moment. I will give it a go

    Edit: The only minor bug (?) I see now is when the enemies pass each other I notice they have a square black background. It's only aesthetic so it's not important right now
    compiling git? You using gentoo?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 4 of 9 | Prev |   2     3   4   5     6   | Next | Last
vBulletin® Version 3.8.8
Normal Logout