maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [ANNOUNCE] Defense Gear - a 3D tower defense game (https://talk.maemo.org/showthread.php?t=88162)

TheBurek 2012-12-09 14:50

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
@vetsin, either you lack OGG support, or the game can't write into its directory. If permissions are the problem (and they shouldn't be if you installed the DEB), you'll need to chown the game directory, so it can write into it. Sound requires some temporary files written there. Also, your setting probably aren't being saved this way. Or, more probably, you lack OGG decoder, so install ogg-support with sudo apt-get install ogg-support libvorbisidec1

@Wreck, I actually added a damage bonus to the manual mode, to encourage its use. Seems the laser tower is a major problem now, I'll probably remove the burst fire mode and maybe lower the damage a bit alltogether. New damage types and resistances aren't likely to happen, too complex to do these things now. (I'd be happy to make a sequel some day, though) But, as mentioned earlier, some more balancing and a "hard mode" might do the trick for this current major iteration of the game. Also, thanks for the comment and rate at Google Play :)

panjgoori 2012-12-09 14:54

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
looks good. will check it. and also liked your facebook page.

vetsin 2012-12-09 15:48

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
Quote:

Originally Posted by TheBurek (Post 1302816)
@vetsin, either you lack OGG support, or the game can't write into its directory. If permissions are the problem (and they shouldn't be if you installed the DEB), you'll need to chown the game directory, so it can write into it. Sound requires some temporary files written there. Also, your setting probably aren't being saved this way. Or, more probably, you lack OGG decoder, so install ogg-support with sudo apt-get install ogg-support libvorbisidec1

I already have ogg-support and when I tried to install libvorbisidec1 it says that I already have the newest version. I'll enable extras-devel and try again. :) thanks.

EDIT: installed version is still latest even with devel and testing enabled. will restart phone and try again. will report back tomorrow. :) time for bed. hehe

EDIT2: Already tried again after reboot. Still the same.

TheBurek 2012-12-09 16:19

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
Quote:

Originally Posted by vetsin (Post 1302840)
EDIT: installed version is still latest even with devel and testing enabled. will restart phone and try again. will report back tomorrow. :) time for bed. hehe

EDIT2: Already tried again after reboot. Still the same.

Not sure how to help you... can't think of anything else at the moment :(

ade 2012-12-09 21:21

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
vetsin,

Maybe you are missing some libvorbisfile, of some of the files is not correct.

You could try if:

Code:

root
apt-get install --reinstall libvorbis0a libvorbisenc2 libvorbisfile3 libvorbisidec1

is of any help.

vetsin 2012-12-09 21:45

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
Hi ade,
Some extra details on my problem... Other sounds load and play ok. Game just crashes when I press Next Wave probably because it tries to play the trumpet sound which was not successfully loaded. I'll just try reinstalling the deb first. Thanks again!

@TheBurek
It's fine. :D I can still play without the sounds. hehe

ade 2012-12-09 21:53

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
Most sound are "wav". A few sounds are "ogg", like the trumpet sound, and there is goes wrong in your case. Can you successfully play ogg files in the mediaplayer?

And try to reinstall the packages I mentioned please.

vetsin 2012-12-09 22:49

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
I just reinstalled said files and game still crashes with same error. I don't have ogg files but will check and get back to you later. Thanks.

EDIT: ogg files play ok on my phone. I'm beginning to wonder... am I the only one having this problem?

TheBurek 2012-12-10 02:34

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
Quote:

Originally Posted by vetsin (Post 1302948)
I just reinstalled said files and game still crashes with same error. I don't have ogg files but will check and get back to you later. Thanks.

EDIT: ogg files play ok on my phone. I'm beginning to wonder... am I the only one having this problem?

Here's a workaround for you: WAV replacements. Extract them to MyDocs or somewhere handy, and do:
Code:

cp defeat.ogg /opt/DefGear-maemo/rbase/common/sound/game/
cp trumpet.ogg /opt/DefGear-maemo/rbase/common/sound/gui/
cp victory.ogg /opt/DefGear-maemo/rbase/common/sound/music/

Since the extensions are ignored, and filenames are hardcoded, this switcheroo should work. This prompted me to check and fix sound loading and playing code, as the game shouldn't crash even with missing sounds, so that's a fix that will be included in the next release, just in case. Not sure this was all worh the effort, though, the sound design isn't really that spectacular... :D

vetsin 2012-12-10 10:31

Re: [ANNOUNCE] Defense Gear - a 3D tower defense game
 
That fixed it. Thanks! I'll just test it again when I got time.


All times are GMT. The time now is 17:43.

vBulletin® Version 3.8.8