Zelda2D Screenshot A Zelda related Jump'n'Run Game in 2D

This is a Zelda related fangame. A classic Jump'n'Run style game featuring Link from Zelda collecting rubins and defending evil opponents. The game itself is a game-engine reading levels from XML-files. Its very easy to write own levels and to design objects in the game.

License: free
Requirements: SDL, SDL_mixer, SDL_image, SDL_gfx, boost (game) wxWidgets-2.6 (leveleditor)

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnononoyesyes
Suggest an update

Comments

$ ./zelda
Config-Datei leer, initialisiere Standardwerte
Zelda v0.2 / Build: 06092006
Initializing videomode... OK
Setting videomode (1024x768@24)... OK
Loading soundfile resources/snd/menu.ogg... OK
Loading soundfile resources/snd/sword_swing.ogg... OK
Loading soundfile resources/snd/sword_draw.ogg... OK
Loading fontmap resources/img/font320x320.png... OK
*** glibc detected *** free(): invalid next size (fast): 0x080dd2d0 ***
Loading fontmap resources/img/font640x640.png... Abandon

I have an Ubuntu Dapper.

Re: compilation ok, execution fails posted by Coz on Aug 7 2006 8:36 PM
The offending line is in src/font.cpp, line #30, "SDL_FreeSurface(img_surface);" comment it out and it will run.

I'm on Gentoo, if that helps.
Re: compilation ok, execution fails posted by Tuxmym on Aug 8 2006 12:45 AM
Thx indeed it works.
How do you shoot a boomerang or say use a sword ... I've tried all the keys possible and it doesn't look promising ...
Re: how does one shoot ? posted by surfmasta on Aug 8 2006 7:30 AM
Try out the new zelda-0.2-r2. He can use the weapons with ctrl-key, but doesnt shot still now. And now some collisions/jumpings fixed too.
Re: how does one shoot ? posted by anonymous on Aug 22 2006 8:56 PM
omg the laaaggg I ran the game from windows xp on cygwin emulating qemu version of full fedora and started the game after the 5 hour boot process it showed a squiggly line and my cpu squealed and died..... (;_;) LMFAO!
gah.. after having spent half an hour getting it to compile(had to do this btw):

sed -i 's/Zelda:://' src/zelda.h sed -i s/Player:://' src/player.h

it's so... pre-alpha :/ gah...

The game is ultra slow FPS. My card is working fine. Geforce 4 Ubuntu.
Re: Slow FPS posted by surfmasta on Aug 9 2006 9:41 AM
Try to change the bpp in the options of the game to 32bit or 24bit (space to change and press return to apply the changes)
Re: Slow FPS posted by Gamma on Aug 11 2006 4:06 AM
OK it's working now in 32 and 16. The FPS say I am getting around 15 FPS. Usually I get 100 FPS in Supertux but Zelda still seems smooth.

The game seems nice although the walking is too choppy. Probably don't link his walking animation directly with the movement of the scrolling, just the left and right movements. The jumping is smooth although would like to be able to have smaller jumps if I press the arrow key in less time. I had trouble just trying to get past that guy on the island but if there is an easy way to beat him keep it hard as I like more challanging games. Too many games are waaay too easy today and just provide basic things to do.

Re: Slow FPS posted by surfmasta on Aug 11 2006 5:11 AM
Have you tried out the new Zelda2D-0.2.1 released yesterday? It has many new features. You can edit some physics in level00X.xml like gravitation,speed,... Newer version with a new level is at http://zelda.netster.de . On the forums is a post with a nicer level-pack with sun and moon in the background
"defending opponents"???

isn't that supposed to be defeating opponents?

Re: defending? posted by surfmasta on Aug 13 2006 3:50 AM
Oh sry, i'm not very well on english, so i have some translation-problems :-) Maybe someone will help out on translations or fix my english descriptions in README and other files? I would very appreciate it...
Dear all,

When I'm type make to compile zelda2d-0.2-r4 in my FC5 Box, I have error message like this :

[root@example zelda2d-0.2-r4]# make make -C tinyxml make[1]: Entering directory `/home/supriyanto/BulanOktober/Games/BahanMentah/zelda2d/zelda2d-0.2-r4/tinyxml' g++ -c -Wall -Wno-format -g -DDEBUG tinyxml.cpp -o tinyxml.o g++ -c -Wall -Wno-format -g -DDEBUG tinyxmlparser.cpp -o tinyxmlparser.o g++ -c -Wall -Wno-format -g -DDEBUG xmltest.cpp -o xmltest.o g++ -c -Wall -Wno-format -g -DDEBUG tinyxmlerror.cpp -o tinyxmlerror.o g++ -c -Wall -Wno-format -g -DDEBUG tinystr.cpp -o tinystr.o tinystr.cpp:38: warning: missing braces around initializer for ‘char [1]’ g++ -o xmltest -g tinyxml.o tinyxmlparser.o xmltest.o tinyxmlerror.o tinystr.o make[1]: Leaving directory `/home/supriyanto/BulanOktober/Games/BahanMentah/zelda2d/zelda2d-0.2-r4/tinyxml' make -C src make[1]: Entering directory `/home/supriyanto/BulanOktober/Games/BahanMentah/zelda2d/zelda2d-0.2-r4/src' g++ -c settings.cpp -Wall -I/usr/include/SDL -I../tinyxml g++ -c level.cpp -Wall -I/usr/include/SDL -I../tinyxml player.h:107: error: extra qualification ‘Player::’ on member ‘getpixel’ player.h:108: error: extra qualification ‘Player::’ on member ‘putpixel’ level.cpp: In constructor ‘Level::Level(char*, Status*, SDL_Surface*)’: level.cpp:89: warning: suggest parentheses around assignment used as truth valuelevel.cpp:151: warning: suggest parentheses around assignment used as truth value level.cpp: In destructor ‘Level::~Level()’: level.cpp:215: warning: operation on ‘iterator’ may be undefined level.cpp:215: warning: operation on ‘iterator’ may be undefined make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/supriyanto/BulanOktober/Games/BahanMentah/zelda2d/zelda2d-0.2-r4/src' make: *** [all] Error 2

Please help me, How to fix this problem ?

Note : I already installed SDL, SDL_mixer, SDL_image, and etc in My FC5 Box. [root@example zelda2d-0.2-r4]# rpm -qa | grep SDL SDL_mixer-1.2.6-7.fc5 SDL_gfx-2.0.13-4.fc5 SDL_mixer-devel-1.2.6-7.fc5 SDL_net-1.2.5-8.fc5 SDL_image-1.2.4-5.fc5 SDL_net-devel-1.2.5-8.fc5 SDL-devel-1.2.9-5.2.1 SDL-1.2.9-5.2.1 SDL_ttf-2.0.7-4.fc5 perl-SDL-2.1.2-5.fc5 SDL_image-devel-1.2.4-5.fc5

Thanks.

regards ~supriyanto~

Re: error at compilation posted by surfmasta on Aug 13 2006 3:48 AM
This is maybe the same problem another one has here in the comments. Which gcc are you using? I'm using gcc-3.4.5 for developing it, but i will try it with newer versions on next releases. When you want make this game work, then install an older release of gcc < 4.0 and change the compiler in src/Makefile to CC=g++-3.4.5 or this one fedora has to offer.
Re: error at compilation posted by surfmasta on Aug 13 2006 4:32 AM
Fixed it in newest release.
Re: error at compilation posted by anonymous on Aug 13 2006 10:27 PM
Thanks a lot friend.

After you fix it, now I can play this game on My FC5 Box.

Re: error at compilation posted by anonymous on Aug 14 2006 10:15 AM
Why are you compiling as root, supriyanto? I can't think of a case where that is *ever* necessary, or even *ever* a good idea.
Hmm. $ make ... settings.h:23:17: error: SDL.h: No such file or directory settings.h:100: error: 'SDL_Surface' has not been declared make[1]: *** [all] Error 1 make[1]: Leaving directory `/mnt/two/etc/soft/game/zelda2d-0.2.1-r1/src' make: *** [all] Error 2

SDL, SDL_image and SDL_mixer are installed on my computer. SDL.h exists on my computer here: /usr/local/include/SDL/SDL.h

MaGIc laNTern.

Re: SDL.h posted by surfmasta on Aug 14 2006 8:43 AM
Take a look at src/Makefile. There is a line:
INC = -I/usr/include/SDL -I../tinyxml
change it to
INC = -I/usr/local/include/SDL -I../tinyxml
Re: SDL.h posted by anonymous on Aug 15 2006 4:48 AM
Hmm. Thanks! It is work. But it works unreally slow and I cannot play it... Apropos, it also needs SDL_gfx Library. MaGIc laNTern.
Re: SDL.h posted by anonymous on Aug 15 2006 9:43 PM
Hmm. With 32 bit it works with a normal speed. Okay. But I think the played character runs too fast and moves not smoothly. I think very good example of good character move is SuperTux. Please see it! MaGIc laNTern.
a
Re: a posted by anonymous on Aug 15 2006 3:01 AM
b
Re: a posted by anonymous on Aug 15 2006 5:01 AM
c............. ompiles fine on my linux-ppc system, but it's unplayable slow... :( If this can get fixed I'm sure it's a really nice game!
Re: a posted by surfmasta on Aug 15 2006 5:14 AM
try change the bpp in the options to 32bpp or 16bpp, default is 24bpp and a little bit slow on most machines (we will fix the default setting in next releases)
Re: a posted by frostwork on Aug 15 2006 7:07 AM
eeeeei, you should have replied with starting with "d" :D I'm the linux-ppc dude from above - just registered (time was up...). I tried your hint with 16/32 bit screen, but unfortunately this didn't help.

btw maybe you should give Link some more pixels - he looks so lowres compared to the spiders under him... :D

cheers frostwork

PS: Can I re-rate a game when it's updated?

Re: a posted by surfmasta on Aug 15 2006 7:23 AM
f***, i missed the joke :D in next release (probably sunday) you can try the new videomodes (800x600 or 640x480), cos they're not really implemented yet. Link will be made new from our new gfx-artist in our team, but we have to wait a little bit :-)
Re: a posted by frostwork on Aug 15 2006 8:16 AM
Great, I'm sure we can get till "Z" :D Good to hear you'll implement other screenmodes % more Link-pixels! Maybe a "useful" option in the settings would be turn ON/OFF rain - could eventually give 1-2 extra fps (?) friendly, frostwork
Re: a posted by surfmasta on Aug 15 2006 8:41 AM
However, when you want to shut off rain, then just remove
1024 768 5 4 10 0 0 0 in resources/level/level001.xml. You can remove clowds, moon and sun objects when it helps. Or rename level003.xml to level001.xml to see if it works faster (this is a non-rainy level).
Re: a posted by frostwork on Aug 15 2006 8:49 AM
I just wanted to give some more or less useful hints, but level3 isn't faster... cheers, frostwork
Re: a posted by ckroom on Aug 16 2006 1:15 PM
Joke, this game is just a joke
Re: a posted by frostwork on Aug 16 2006 10:58 PM
Killing the programmers motivation with those useless comments is always lame! Jump&Runs are always welcome on linux would've been a better J
Re: a posted by anonymous on Jan 10 2007 9:47 AM
Lol
Re: a posted by anonymous on Jan 11 2007 12:34 AM
My God ! This thread is useless !
Re: a posted by frostwork on Jan 11 2007 5:24 AM
No it's not! :D
Just tried the new version. Unfortunately it's still too slow to be playable on my
powerpc. With 640x480 it's faster, but not fast enough. When picking up the bow & the boomerang
it needs appr. 1 sec each till the game continues. Anyway the progress is even visible for me :)
Please keep up the good work!
Re: a posted by surfmasta on Jan 11 2007 5:39 AM
Ohhh, we have decided to put the delay when picking up an item as a feature :-) On some items we added a soundevent, so the gamer can listen to the item-picking-music while delaying. Maybe we take the delay out of the engine on next release, what do you say to this? And the engine is got faster, i only putted some water-tiles at the bottom (very many to be exact) that slows down the level about 10-15fps, please load level002.xml and remove all the water to see the difference to the old version :-) But we work on to make it faster and nicer...
Re: a posted by anonymous on Jan 11 2007 10:00 AM
Piss poor quality zelda model, compared to the rest of the smooth graphics, otherwise nice game! ;)
Re: a posted by surfmasta on Jan 11 2007 10:26 AM
Quality of the link-model is bad, i give you right :-) but nobody of us was able til today to design a nice link-spriteset... :-( My skills in gfx'ing are very limited and it would take so much time to make a nice link for me that we never finish the gameengine. Maybe here are some good gfx-artists able to do that work?
Re: a posted by anonymous on Jan 12 2007 3:51 AM
Join the team if you have artistic skills, and try to make better sprites.
Re: a posted by anonymous on Jan 12 2007 4:05 AM
rrrr... you broke the thread...
Under FreeBSD is's hella slow (around 2-3 fps). I've tried 24 and 32 bit fullscreen and windowed. Also when I run the game second time all fonts are screwed up (where there should normally be a letter, there's bottom of one letter and top of another). Hope these'll be fixed in the next version.
Re: Way too slow posted by surfmasta on Aug 15 2006 4:16 PM
Whats your exactly hardware-specs, kernel, gfx-drivers? The messed up fonts are only under 640x480, 800x600 and 1280x1024, cos these videomodes are not implemented in this release. Personally i only use 1024x768@32bpp/16bpp running 21-30fps with nvidia geforce6800gs.
Re: Way too slow posted by anonymous on Aug 24 2006 9:50 AM
FreeBSD 6.1-RELEASE-p3, Intel Pentium4, NVidia GeForce 3 64 MB, 512 MB RAM. More than enough, especially for 2D game :) Resolution was 1280x1024, yes.
It may make for interesting gameplay, but it needs lots of work. The FPS are quite low even on really good graphics cards ... maybe code opitmization is in order. This game has lower FPS than Quake 4 on high graphics settings. You might also wanna note that there is no friction while standing on moving platforms. And when you change resolutions the menu and screen gets cut off ... don't think SDL is being used properly there. Yeah, it's probably still an alpha release, but I can only rate it for what it is now.
Re: It has potential, but needs lots of posted by surfmasta on Aug 16 2006 12:09 AM
friction and resolution are added in new release. the code is already finished, we are only waiting for the new gfx's before we release it (rupee-counter and time-counter in statusbar).
['''''''''''''''''''''''''''''''''

Log in or register to rate this game or post a comment.