Protect Earth !

Creating Games? Developing something for fun?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Protect Earth !

Post by splash21 » Wed May 08, 2013 11:10 am

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
LiveCode Development & Training : http://splash21.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Protect Earth !

Post by jmburnod » Wed May 08, 2013 1:15 pm

Hi splash21,
Congratulation. It works fine (OSX)
kind regards
Jean-Marc
https://alternatic.ch

ricochet1k
Posts: 39
Joined: Tue Apr 23, 2013 1:30 am

Re: Protect Earth !

Post by ricochet1k » Thu May 09, 2013 6:22 am

@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.

splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Re: Protect Earth !

Post by splash21 » Fri May 10, 2013 10:54 am

Thanks, ricochet1k - it's great to know that a fix exists already and may be in the next release :D
LiveCode Development & Training : http://splash21.com

JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: Protect Earth !

Post by JosepM » Tue Jul 02, 2013 11:56 am

Great game! Thanks for share!

Salut,
Josep M

andrewferguson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 184
Joined: Wed Apr 10, 2013 5:09 pm

Re: Protect Earth !

Post by andrewferguson » Thu Aug 08, 2013 4:59 pm

Awesome game!

Post Reply

Return to “Games”