Page 1 of 1

Space Shot

Posted: Sat Jul 05, 2014 9:44 am
by richmond62
Go and get it, pull it apart, learn, criticise, enjoy:

http://andregarzia.on-rev.com/richmond/ ... vecode.zip
spaceShot.gif

Re: Space Shot

Posted: Sat Jul 05, 2014 1:55 pm
by catalinanesia
Hi there,
Nice little game, will it be developed forward? maybe add a timer as a score,
some aliens to shoot me down ...

Enjoy LC!

Re: Space Shot

Posted: Sat Jul 05, 2014 4:09 pm
by richmond62
Probably not: I was really just seeing how INTERSECT works.

Re: Space Shot

Posted: Sun Jul 06, 2014 2:22 pm
by Newbie4
Nice design and graphics. It looks great

Some code changes that would be good practice, learning experiences or nice challenges:
- add a timer
- make the stars twinkle
- combine the 'planets' into a group and have only 1 if-intersect construct
- make the planets move
- change the move statements to not use hard coded numbers (400,569)

Otherwise, good job and thank you for sharing it with everyone

Re: Space Shot

Posted: Sun Jul 06, 2014 4:35 pm
by richmond62
The 'stars' are not individual objects; they are just part of the background image.

This whole thing was knocked together like this:

30 minutes finding the images on the internet; processing in GIMP.

30 minutes of programming.

You 'Newbie', or anybody else, are more than welcome to take my stack and improve / change whatever you like.

I set out to see what I could do in a very short bit of time, and make something to show the children I teach
what one can do with INTERSECT . . . nothing particularly "finished" or "clever".

Re: Space Shot

Posted: Sun Jul 06, 2014 9:39 pm
by newtronsols
I created a quick game in a weekend in May about UK unemployment see - https://play.google.com/store/apps/deta ... p&hl=en_GB trying to combine forum tips on intersect, tweeting, android sounds, movement detection.. etc. Note: it's not intended to be a serious game - more of a political statement to give unemployed people a laugh at authority - and a test of various android functions using Livecode. So the code is an ugly mish-mash.

So well done forum - I'd never be able to figure it out myself!

Re: Space Shot

Posted: Sun Jul 06, 2014 10:18 pm
by richmond62
Personally I steer well clear of any politically slanted software.