Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manager file and division between code and resources #38

Closed
embatbr opened this issue Apr 4, 2013 · 6 comments
Closed

Manager file and division between code and resources #38

embatbr opened this issue Apr 4, 2013 · 6 comments

Comments

@embatbr
Copy link

embatbr commented Apr 4, 2013

Guys, I am writing a script to manage some tasks (compile, clean, commit and etc.). I am also seprating code and resources.

My idea is to put into this form:

Minecraft/
LICENSE
TODO.md
README.md
manager.py
src/
--all .py files here
resources/
image/
--all image files here
sound/
--al sound files here

So, what do you think? I thinked about this because I still have a lot of difficult to use the Pyglet. So I'll try to contribute with something different (and need to present a project in the university about it =D).

@embatbr
Copy link
Author

embatbr commented Apr 5, 2013

Well, I reorganized the repository and it's ok. Working. Now I will finish the manager.py file.

embatbr referenced this issue in embatbr/Minecraft Apr 5, 2013
…DO create a file named defines.py, to change things like 'resources/images/textures.png' for '%s/textures.png' % images. TODO create other modes for update() in manager.py
@embatbr
Copy link
Author

embatbr commented Apr 5, 2013

Sent a pull request.

@embatbr
Copy link
Author

embatbr commented Apr 5, 2013

boskee, could you delete the old files? When I moved the code to the src/ dir and the pictures to the resources/images/ dir, I didn't deleted the files from the root dir (actually I did, but I don't know how to clean the cache or whatever that take it from the github repository).

@boskee
Copy link

boskee commented Apr 6, 2013

You should use git mv command to move stuff around, eg:

git mv textures.png resources/textures/

@embatbr
Copy link
Author

embatbr commented Apr 6, 2013

I get it.

@fogleman
Copy link
Owner

fogleman commented Apr 6, 2013

Not relevant to my fork.

@fogleman fogleman closed this as completed Apr 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants