pjasicek / OpenClaw

Reimplementation of Captain Claw (1997) platformer
GNU General Public License v3.0
340 stars 40 forks source link

Would Like to Contribute #113

Open pranav-deshpande opened 7 years ago

pranav-deshpande commented 7 years ago

Hello, I used to play claw when I was a kid and I still do:).

I would like to contribute to this project. How can I go about doing so? My experience in game programming is limited to a chess engine: https://github.com/universecoder/Horus-Chess-Engine. Could you provide me some guidance?

pjasicek commented 7 years ago

Heh, this is a tough one.

This game and its engine is written pretty much only "by myself, for myself", but certain things, like implementing new levels using existing components are not hard. But delving into things like tweaking physics engine or Claw's states / movement is a big no-go since the code is a mess.

For this I would need to create a new wiki page, which I will certainly do in foreseeable future, but here are atleast some basics when it comes to adding new levels:

1) You need to own WapMap (http://kapitanpazur.piasta.pl/dl/wapmap.zip) to view the level and logics that will need to be implemented for reference 2) Add a new level to SAVES.XML file (in this case new level is 7) with its checkpoints 3) Try to load the level from menu, it will crash on assert - find the root cause of assertion failure and fix it. Then try again until there are no more assertion failures.

Now, implementing game actors:

Best way to learn how to implement new concrete logics is to check one of my past commits - there are multiple commits implementing concrete actors.

I know that what I wrote just know is probably uncomprehensible, I will try to describe it in some wiki page as I mentioned.