PDA

View Full Version : Simple Game Problems



Yosuke
October 8th, 2006, 02:39 PM
I'm quite stumped on this and cannot find any references on the internet about it, or my search skills or horrible.
Anyways, I need to find out how I would make the "virus" which is the grey blob on the third frame to appear randomly around the circle in the middle and start to move slowly in a gravitational manner where it isnt going straight at it but maybe go near it at an angle or shake while doing so, and make the circle able to shoot those "viruses" or.. if a virus makes it to the middle to activate one lost life.

Please help, I want to actually make a simple game without giving up.

Swf:http://yosuke.awardspace.com/Circle.swf
Fla:http://yosuke.awardspace.com/Circle.fla

LittleFenris
October 9th, 2006, 11:18 AM
Maybe adapting code from an "Asteriods" game would help w/ the virus movement. I found a great Asteriods game on Flashkit.com w/ full code and all. Do a search for "asteriods" on Flashkit and you'll find it..if not do the search here as I posted the direct link for someone else a week or so ago. I think that should at least get you going in the right direction.

Yosuke
October 9th, 2006, 03:12 PM
Thanks, Ill try that.

Hmm.. Well asteroids the rocks move around in various directions randomly, Could someone help me optimize the code so it would head towards or be attracted to the circle?

Thanks,
Yosuke

SacrificialLamb
October 9th, 2006, 04:42 PM
you could have a look at this
http://www.kirupa.com/forum/showthread.php?t=195806

Yosuke
October 12th, 2006, 06:13 PM
Oh, Thanks :)
Ill play around with it.