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
Protect Earth !
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Protect Earth !
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Protect Earth !
Hi splash21,
Congratulation. It works fine (OSX)
kind regards
Jean-Marc
Congratulation. It works fine (OSX)
kind regards
Jean-Marc
https://alternatic.ch
-
- Posts: 39
- Joined: Tue Apr 23, 2013 1:30 am
Re: Protect Earth !
@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.
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.
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: Protect Earth !
Thanks, ricochet1k - it's great to know that a fix exists already and may be in the next release
LiveCode Development & Training : http://splash21.com
Re: Protect Earth !
Great game! Thanks for share!
Salut,
Josep M
Salut,
Josep M
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: Protect Earth !
Awesome game!