It is currently Fri May 24, 2019 10:37 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Jan 28, 2019 2:48 pm 
Offline
User avatar

Joined: Wed Jan 16, 2019 9:13 pm
Posts: 17
Location: Lower East Side
I've been able to read through rainwarrior's basic checkerboard program and understand how it's working, which has been a good learning experience viewtopic.php?t=11151

I started reading NovaSquirrel's Game Of Life source code, which is a bit above my reading level https://github.com/NovaSquirrel/NESLife

Do you have any suggestions for game source code to read for a beginner/beginner-intermediate that is written in ca65? It should probably be code that you think is well written, which is subjective but I will appreciate code that meets your definition of that.


Last edited by ericandrewlewis on Mon Jan 28, 2019 3:51 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Jan 28, 2019 3:02 pm 
Offline
User avatar

Joined: Thu Mar 31, 2016 11:15 am
Posts: 514
https://github.com/pubby/Ralph-4 is pretty simple code and has lots of comments, but it was my first game so not everything was done how I would do it now.


Top
 Profile  
 
PostPosted: Mon Jan 28, 2019 6:50 pm 
Offline
User avatar

Joined: Wed Jan 16, 2019 9:13 pm
Posts: 17
Location: Lower East Side
pubby wrote:
but it was my first game so not everything was done how I would do it now.


Any specific things you would do differently now compared to how you did it then?


Top
 Profile  
 
PostPosted: Tue Jan 29, 2019 1:25 am 
Offline
User avatar

Joined: Thu Mar 31, 2016 11:15 am
Posts: 514
A few instructions I misunderstood. For example, I thought plp/php was necessary inside interrupts (it's not; it's done automatically), and I thought bit shift instructions only had one addressing mode.

"levelload.s" appears overly complicated and the level format is inflexible. It's not terrible, but I'd probably aim for something simpler nowadays.

"player'.s" could probably be simplified a bit too.


Top
 Profile  
 
PostPosted: Tue Jan 29, 2019 10:31 am 
Offline
User avatar

Joined: Fri Nov 24, 2017 2:40 pm
Posts: 153
Lizzard's assembler source is on Github.
https://github.com/bbbradsmith/lizard_s ... c_demo/nes

I also have my little Pixler library on Github, but it's not that well commented.
https://github.com/slembcke/critical-ma ... lib/pixler


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group