Hi, i am wanting to make a game on Flash 4. So far i
am able to move the robot around the screen using
direcsionall buttons. What i would like to know is if
it is poosssible and how if the robot goes over
anouther robot and the person presses the space bar it
could load to anouther screen or take a life off the
other robot. Could you give me the coding please eg.
tell target and then what you write in detail please
as i am a new beginer , Thanks. Also if it is not to
much trouble i was woundering if you could tell me how
the computer could move around a robot and attack the
persons robot. If you cant help is it possible you
could direct me to someone who can, thanks once again
PS could you e-mail me futher help at firstname.lastname@example.org, Thanks
The name of the clips I have used are <b>a</b> and <b>b</b>
An invisible button traces the actions.
On (Key: <Right>)
Set Property ("/a", X Position) = GetProperty("/a",_x)+5
On (Key: <Space>)
If (GetProperty("/a",_x)+33 >= GetProperty("/b",_x)-33 and GetProperty("/a",_x)- GetProperty("/b",_x) <=66 )
Go to and Stop (3)
Hope this helps you out
Still facing problems. Never be afraid to ask questions.
Sorry for the delay in responding back on this, but thanks for your help! I'm still having trouble getting this to work, despite trying.
It seems there's not much support on the world wide web for this? I wish Macromedia would keep things stable! Annoyingly they've also stopped broadcasting Robot Wars now which this was based on. How is one meant to develop anything when things change so often? grrr *calms down*
Puneet - on: GetProperty("/a",_x)+5 - why is it of factor 5?
I'm also thinking of upgrading my Mac Wallstreet if anyone has anytips i'd be willing to go into a Chat Room or receive a fax. I'll page through my number to anyone.
Cheers for the help
** Now listening to Eminem: Real Slim Shady on Napster **
Change so often? I'm sorry, but it seems every time you sleep, you time travel by 5-15 year intervals. Macromedia was purchased by Adobe more than 7 years ago. You might want to try this new thing called "Flash 11" as it is more flexible than "Macromedia Flash 4"