Dragon's Castle source code

Announce (tech) demos or games releases

Moderator: Mask of Destiny

Post Reply
Sik
Very interested
Posts: 920
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Dragon's Castle source code

Post by Sik » Mon Sep 28, 2015 7:04 pm

Git repository:
https://github.com/sikthehedgehog/dragon

Some screenshots (and direct ROM download):
https://twitter.com/Sikthehedgehog/stat ... 0499110913

Current features (as of 2015-sep-28):
  • Two-way scrolling (speed cap: 32 pixels per frame)
  • Large sprites (one of them takes up 50 tiles o.o;​)
  • Working slopes (currently 45º only but that's easy to change)
  • Some simple water raster effect without CRAM dots (but wasting palettes :​P)
Some stuff is awfully sloppy yet (gotta clean up that, e.g. the raster effect triggering more than it should or some animations being streamed when not needed), and I haven't uploaded everything yet (hopefully this is enough to build a working ROM though). Still, releasing the source code now since somebody may want to make a proper platformer on the system and nobody wants to figure out how to make a full blown engine. (also, sorry that I program in assembly and not C :​P)

Note that currently the object manager doesn't support many objects since the game was designed for small rooms only... Will have to come up with something better later. If you only want small rooms like here then it shouldn't be a problem though.
Sik is pronounced as "seek", not as "sick".

bgvanbur
Interested
Posts: 46
Joined: Fri Jun 22, 2012 11:13 pm

Re: Dragon's Castle source code

Post by bgvanbur » Tue Sep 29, 2015 5:38 pm

Always impressed by your work!

Sik
Very interested
Posts: 920
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Dragon's Castle source code

Post by Sik » Mon Oct 12, 2015 3:24 am

Coming soon: platforms

Image

Not much of a stretch since slopes already happened to be implemented as platforms (I couldn't get them working properly as part of the tilemap), but still now there are some proper platforms to play with. They will be present in the next commit.

Also yeah, changed the chains, the old ones just looked way too ugly.
Sik is pronounced as "seek", not as "sick".

Sik
Very interested
Posts: 920
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Dragon's Castle source code

Post by Sik » Sat Oct 24, 2015 10:26 pm

Uploaded the code before I forget again. Platforms may be buggy (in particular, when going through floors or ceilings, the code doesn't handle that yet).
Sik is pronounced as "seek", not as "sick".

Sik
Very interested
Posts: 920
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Dragon's Castle source code

Post by Sik » Fri Jan 08, 2016 4:04 am

No source code update yet until I sort out some stuff, but meanwhile have some pics:

Image

Image

Image

Image
Sik is pronounced as "seek", not as "sick".

triverse
Newbie
Posts: 1
Joined: Sun Jan 10, 2016 4:11 am

Re: Dragon's Castle source code

Post by triverse » Sun Jan 10, 2016 5:25 am

Just wanted to drop in and say your game looks amazing. I featured it in an article on my site -

http://retrogamingmagazine.com/2016/01/ ... sis-games/

tryphon
Very interested
Posts: 316
Joined: Sat Aug 17, 2013 9:38 pm
Location: France

Re: Dragon's Castle source code

Post by tryphon » Sun Jan 10, 2016 8:29 am

Yes, very nice :)

Sik
Very interested
Posts: 920
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Dragon's Castle source code

Post by Sik » Tue Jan 19, 2016 6:20 am

Update, same link as usual:
https://github.com/sikthehedgehog/dragon/

Working platforms, bursting lava, magic on ghosts, you name it =P
Sik is pronounced as "seek", not as "sick".

Desbo4268
Newbie
Posts: 9
Joined: Sun Jan 17, 2016 8:37 am

Re: Dragon's Castle source code

Post by Desbo4268 » Wed Jan 20, 2016 5:51 pm

This is really great work, the gameplay has a good smooth feel to it and the artwork is amazing. Well done and thanks for sharing.

Sik
Very interested
Posts: 920
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Dragon's Castle source code

Post by Sik » Sat Jan 30, 2016 9:53 pm

Image

Relevant update in git repo to go with it.
Sik is pronounced as "seek", not as "sick".

Sik
Very interested
Posts: 920
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Dragon's Castle source code

Post by Sik » Sat Feb 20, 2016 3:29 pm

Image

D:
Sik is pronounced as "seek", not as "sick".

Sik
Very interested
Posts: 920
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Dragon's Castle source code

Post by Sik » Sat Feb 27, 2016 10:13 am

Gonna be cleaning up the mess that's README.md and split away all the technical info into its own files. That should make it much easier to help understand how to modify the game for your own purposes. This may take a while though (I'll probably do it over time, so keep an eye on it).
Sik is pronounced as "seek", not as "sick".

Post Reply