Live data from Hacker News

PyNES: Write NES Games in Python

gutomaia.net

1–10 of 42 posts

Re: PyNES: Write NES Games in Python

#4
post #3

https://github.com/gutomaia/pyNES/wiki Non existant docs. IMHO one of the first steps of starting a project is to write a README. Though, at least there are few examples: https://github.com/gutomaia/pyNES/tree/0.1.x/pynes/examples

Yes, lamentable, but we all know the fun part is writing the code, not the docs, and obviously this was a for-fun project.

Maybe someone else can document it if the creator doesn't have time.

At any rate, I'm happy it exists, getting a toy game running on actual hardware will be hilariously fun for me, if it works. I don't mind using the code as the documentation for something this obscure if docs aren't available. Better than having to spend time learning 6502 assembly just for screwing around with NES games (or NES demoscene, hmm... it's probably cheating but it'll be fun.)

Re: PyNES: Write NES Games in Python

#5
I semicompleted a game in NES in C, and even I was hitting walls constantly when it comes program size or performance. I have my doubts for python.

Here is the library I used. http://shiru.untergrund.net/articles/programming_nes_games_i... It is pretty simple but you will need some about how NES works.

Re: PyNES: Write NES Games in Python

#6
post #5

I semicompleted a game in NES in C, and even I was hitting walls constantly when it comes program size or performance. I have my doubts for python. Here is the library I used. http://shiru.untergrund.net/articles/programming_nes_games_i... It is pretty simple but you will need some about how NES works.

I think it uses Python as frontend and compiles 6502 assembler from the code. Generated assembly can be easily edited to overcome problems.

Re: PyNES: Write NES Games in Python

#8
I would love this so much if I could figure it out. I'm a javascript programmer, but haven't done much with Python. I'd like to write a small, arcade-style game with python though. Does anyone know anything else like this? Is PyGame fun to work with?

Re: PyNES: Write NES Games in Python

#9
post #4
post #3

https://github.com/gutomaia/pyNES/wiki Non existant docs. IMHO one of the first steps of starting a project is to write a README. Though, at least there are few examples: https://github.com/gutomaia/pyNES/tree/0.1.x/pynes/examples

Yes, lamentable, but we all know the fun part is writing the code, not the docs, and obviously this was a for-fun project. Maybe someone else can document it if the creator doesn't have time. At any rate, I'm happy it exists, getting a toy game running on actual hardware will be hilariously fun for me, if it works. I don't mind using the code as the documentation for something this obscure if docs aren't available. B…

Thanks. Sorry for the lack of documentation. The first version (Branch 0.1.x) was more focused as a proof of concept. Despite the examples, after some time I found several limitations. That lead to a branch (kill_the_baby), witch i've restarted the project. Well, lack of documentation first started due the constant changes over the time. pyNES 0.2.x will have a more mature API and a DOC.

Re: PyNES: Write NES Games in Python

#10
post #8

I would love this so much if I could figure it out. I'm a javascript programmer, but haven't done much with Python. I'd like to write a small, arcade-style game with python though. Does anyone know anything else like this? Is PyGame fun to work with?

I used PyGame ten years ago. Was fun back then.
Post reply on HN