Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - legend of zelda

Author
Message
Phaelax
DBPro Master
20
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Apr 2013 02:37 Edited at: 29th Apr 2013 02:40
This is an unfinished project I'm releasing to everyone for learning purposes. So if something doesn't work or acts differently than the original, too bad!

The code is fairly well commented. The sprites and sounds were gathered from various sources on the internet, with a few sprites (the smoke) I had to create. Since the media is pretty easily found on the net and some recreated by myself, I don't think it'd be a huge issue posting it, but mods feel free to chime in. Despite being a large chunk of a working game, I'm posting this in code snippets since I'm releasing the code.

I started reworking the project over the past week, but using AppGameKit now. The method I use walking into caves has changed, thanks to sprite clipping. And I devised a more efficient method for scrolling between zones. (the method in this code for determining which direction to move is kinda sloppy) There are a few things I would code differently, which I will in the AppGameKit version.


So what does work in this code?
- Caves
- Boomerang
- sword
- receiving damage (running into enemies)
- healing
- killing octoroks
- ladder (buggy)
- secrets to level 5 and the cemetary
- Bomb animation (but no damage)
- whistle sound (but no twister)

I also have a version of the code written in GLBasic which is near the same level of progress.

-= Controls =-
arrow keys
press X to use sword
press Z for alternate weapon (boomerang/bomb/etc..)
press Enter to toggle the hud

"You're all wrong. You're all idiots." ~Fluffy Rabbit

Attachments

Login to view attachments
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 30th Apr 2013 03:53
I'm on my Mac but I'm interested to see this. Can you post some screenshots?

"everyone forgets a semi-colon sometimes." - Phaelax
Phaelax
DBPro Master
20
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 30th Apr 2013 15:07


"You're all wrong. You're all idiots." ~Fluffy Rabbit
arsenicCatnip
10
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Morrowind
Posted: 30th Apr 2013 18:17
Wow, this is really cool!
It's pretty similar to the game.
Thanks for sharing.

What is an internet?
JosephB
17
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 2nd May 2013 20:44
Thank you.
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 2nd May 2013 22:18
Looks epic!

"everyone forgets a semi-colon sometimes." - Phaelax

Login to post a reply

Server time is: 2024-03-29 13:30:07
Your offset time is: 2024-03-29 13:30:07