Space Shot

Creating Games? Developing something for fun?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Space Shot

Post by richmond62 » Sat Jul 05, 2014 9:44 am

Go and get it, pull it apart, learn, criticise, enjoy:

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

catalinanesia
Posts: 83
Joined: Sun Feb 16, 2014 10:08 pm

Re: Space Shot

Post by catalinanesia » Sat Jul 05, 2014 1:55 pm

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!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Space Shot

Post by richmond62 » Sat Jul 05, 2014 4:09 pm

Probably not: I was really just seeing how INTERSECT works.

Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 327
Joined: Sun Apr 15, 2012 1:17 am
Location: USA
Contact:

Re: Space Shot

Post by Newbie4 » Sun Jul 06, 2014 2:22 pm

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
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Space Shot

Post by richmond62 » Sun Jul 06, 2014 4:35 pm

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

newtronsols
Posts: 192
Joined: Tue Mar 11, 2014 12:57 pm

Re: Space Shot

Post by newtronsols » Sun Jul 06, 2014 9:39 pm

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!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Space Shot

Post by richmond62 » Sun Jul 06, 2014 10:18 pm

Personally I steer well clear of any politically slanted software.

Post Reply

Return to “Games”