dMZX Forums: New way to the player - dMZX Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

New way to the player Im done with a new way to the player as

#1 User is offline   Fico 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 08-August 06

Posted 17 September 2006 - 10:22 PM

As a first person shooter a robot can aim to others getting differednces by color:
Variables:
x1=x lines
y1=y lines
sight= range to shoot
des = desitions

:"start"
color "real color of the faction"
char "normal"
set "des" random 1 2
if des = 1 "aimloop
wait 3
go randnb 1
goto "start"

:"aimloop"
set "x1" 0
set "y1" 0
loop start
inc "x1" random -1 1
inc "y1" random -1 1
if "opponent1 color" robot p?? "x1" "y1" "target"
if "opponent2 color" robot p?? "x1" "y1" "target"
loop "sight"
goto "Start"

:target
char ''shoting"
send "x1" "y1" "gotcha"
wait 3
goto "start"

:"gotcha"
char "hitted"
color "white"
wait 1
set des random 1 "armor"
if des = 1 "die"
goto "start"

:"die"
die

Put real colors of any faction for example red colony against green colony
this example can be apply to a robot by player, if any1 can tell me how to post my games at mzx page ill be glad.

check it out and tell me what do you think at rausendefausto@gmail.com
0

#2 User is offline   Kuddy 

  • nobody
  • Group: DigiStaff
  • Posts: 4,827
  • Joined: 26-January 01
  • Gender:Male
  • Location:Philadelphia
  • 3DS Friend Code:4227-0979-0064

Posted 30 September 2006 - 05:48 PM

Fico, on Sep 17 2006, 06:22 PM, said:

if any1 can tell me how to post my games at mzx page ill be glad.

Upload them to the New Game Announcements forum, and we'll get around to adding them to the site.
chicken jockey
0

#3 User is offline   Koji 

  • End
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 6,644
  • Joined: 15-November 01
  • Gender:Not Telling
  • Location:US, NC

Posted 30 September 2006 - 07:25 PM

this is actually kinda interesting. I like.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users