Page 1 of 1

Protect Earth !

Posted: Wed May 08, 2013 11:10 am
by splash21
This Space Invaders clone was written as an aid for teaching kids to program with LiveCode. It's pretty simple and there are loads of improvements that could be made like shields, barriers, fancy alien movement, high scores, etc. It runs fine on Mac, Windows, iOS and android, but unfortunately Linux is slightly problematic : I have to disable sounds or else LiveCode crashes after a while and I'm getting some pretty nasty glitches with accelerated rendering. Does anyone have any Linux tricks to share that would maybe help?? Playing sound effects can be pretty laggy - having a continuous background track playing definitely seems to help. (For Linux, I've tried mpg123, mPlayer and cvlc for playing sounds).

We've had good fun playing it over here - just fire it up in the IDE, have a game, experiment, tweak, etc...

Invaders on Mac : http://youtu.be/ZCTimuNS9Jc
Invaders on Linux : http://youtu.be/h1c7Tf3Q3L8
Invaders on Windows : http://youtu.be/aSbge2QCPCE

Download : https://dl.dropboxusercontent.com/u/796 ... vaders.zip

Re: Protect Earth !

Posted: Wed May 08, 2013 1:15 pm
by jmburnod
Hi splash21,
Congratulation. It works fine (OSX)
kind regards
Jean-Marc

Re: Protect Earth !

Posted: Thu May 09, 2013 6:22 am
by ricochet1k
@splash21: I've been working on fixing various performance issues on the Linux version of the engine, and I have fixed one major source of slowness with rendering. I'm pretty sure I also found the cause of the same rendering glitches you show in the video, but I'll have to try your stack out to be sure. Those fixes will hopefully appear in the next release.

In some of my own experimentation, I've found that turning on accelerated rendering makes rendering a lot slower on Linux, so you might try turning that off until someone figures out why.

I really have no experience with sounds on Linux. If rendering was taking up to much time then the engine might not be able to send the sound data fast enough, but that's a shot in the dark.

Re: Protect Earth !

Posted: Fri May 10, 2013 10:54 am
by splash21
Thanks, ricochet1k - it's great to know that a fix exists already and may be in the next release :D

Re: Protect Earth !

Posted: Tue Jul 02, 2013 11:56 am
by JosepM
Great game! Thanks for share!

Salut,
Josep M

Re: Protect Earth !

Posted: Thu Aug 08, 2013 4:59 pm
by andrewferguson
Awesome game!