C compiler for the C64 and other 65xx machines.

C, Cobol, Durex, Fortran, Pascal, etc, etc
User avatar
onlineprof2010
Member
Member
Posts: 10
Joined: Fri Oct 03, 2014 12:20 am
Location: Virginia

Re: C compiler for the C64 and other 65xx machines.

Post by onlineprof2010 » Fri Dec 05, 2014 12:01 am

Heart wrote:I always find it faster and easier to bload sprite data in rather than repoke/recompile/ressemble data statements.
Originally I did repoke the data in with my code. But this essentially uses twice the memory space. So now I set my cc65 config file to place the declared sprite data in memory locations where my sprite pointers goto. Now I do not have to repoke in code, though I still have to recompile (I don't mind that)



User avatar
onlineprof2010
Member
Member
Posts: 10
Joined: Fri Oct 03, 2014 12:20 am
Location: Virginia

Re: C compiler for the C64 and other 65xx machines.

Post by onlineprof2010 » Thu Jun 04, 2015 2:14 am

Thought I'd send an update to this post on some of the C stuff I have working on. Started on a platform game earlier in the year called Boonderoo.
[video]https://youtu.be/8qNAi3QSt98[/video]
Game download at:
https://drive.google.com/file/d/0BxrxBh ... sp=sharing
It was a good learning experience which I expanded upon (more on that in the next post).

I also started on a top down adventure game called Hector's Mansion.
[video]https://youtu.be/68dPU3XaIN4[/video]
Game download at:
https://drive.google.com/file/d/0BxrxBh ... sp=sharing
I used a math formula to create the mazes so it can be grown much bigger in size without much more use of RAM. The mazes are not random though. The maze is always the same from game to game. The graphics were only using PETSCII but I am using CBM prg studio to create graphics that will make it more into a zelda style game.
Image

User avatar
onlineprof2010
Member
Member
Posts: 10
Joined: Fri Oct 03, 2014 12:20 am
Location: Virginia

Re: C compiler for the C64 and other 65xx machines.

Post by onlineprof2010 » Thu Jun 04, 2015 2:22 am

The next game I finished is called "Crazy Carson Cousins" It is the first game in which I moved out of PETSCII graphics and started using multicolor custom chars. I used CBM prg studio for this also. I adapted the output for that program so the graphics data can be used in a C program.
Here are some screenshots for the game:
ImageImageImage
ImageImageImage
[video]https://youtu.be/RzjgkTH3068[/video]
Game download at:
https://drive.google.com/file/d/0BxrxBh ... sp=sharing

The game file size is bigger than usual because I put the game logic where VIC Bank 0 would be and the VIC Bank 2 has the graphics. The compiler padded all the space in between. I also did not compress the graphics as most of it is in a raw format.
Next version will have scrolling and bosses.

merman
Member
Member
Posts: 137
Joined: Mon Apr 14, 2014 2:50 pm
Location: Skegness

Re: C compiler for the C64 and other 65xx machines.

Post by merman » Fri Jun 05, 2015 5:19 pm

Great to see you are still developing ideas

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 1 guest