Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - i5524168957340

Pages: [1]
1
DNA - General / Multi-bot help
« on: February 25, 2005, 10:30:26 AM »
ahhh ok... well what you could do is just delete the genes that your not using once you've detrmined the bots function.  Also isnt their a command that gives back a value based on the angle to the top of the screen or did I just imagine that? Because it would be usfull...

2
DNA - General / Multi-bot help
« on: February 25, 2005, 10:07:05 AM »
why would chromosomes be any better than just using the various memory locations?

3
DNA - General / Multi-bot help
« on: February 24, 2005, 06:09:09 PM »


here is an image as you can see it is the best picture ever

4
DNA - General / Multi-bot help
« on: February 24, 2005, 05:53:05 PM »
it needs the pond otherwise its compleatly usless.

5
DNA - General / Multi-bot help
« on: February 24, 2005, 11:40:40 AM »
ok I have some code that relates to my problem in an idirect way its only about 1/3 done. my plan is creating a bot that swims around eating and when it reproduces drops of "sinkers" that fall to the bottom. Ok I have that done. He sometimes makes sinkers sometimes makes swimmers. NOW what im trying to do is have all the sinkers reproduce "floaters" that are linked to the sinker base and reach upward. Im hoping to make the floaters a feeding arms or something. My goal is to create something like a half plant half animal. The swimmers swimaround dropping seeds for stalks to grow and comsume. Right now the seeds just sink.  OK here is the code.

' sink or swim
'by i55-Peter

'determine your place
cond
*.robage 0 =
start
1 rnd 55 store
stop

'sink
cond
*.rdboy -2000 !=
*55 0 =
start
-2000 .setboy store
stop

'search
cond
*55 1 =
*.refeye *.myeye !=
*.eye4 *.eye6 !=
start
*.eye6 *.eye4 sub .aimdx store
stop

'turn from edge
cond
*55 1 =
*.edge 1 =
start
120 .aimdx store
stop

'avoid cons
cond
*55 1 =
*.refeye *.myeye =
*.eye5 30 >
start
120 .aimdx store
stop

'swim
cond
*55 1 =
*.vel 40 <
*.eye5 70 <
start
0 .fixpos store
40 *.vel sub .up store
stop

'attack
cond
*55 1 =
*.eye5 30 >
*.refeye *.myeye !=
start
-1 .shoot store
stop

'stop and feed- borrowed from
'Bot reproductio
' by Henk

cond
*55 1 =
*.eye5 38 >
*.refeye *.myeye !=
*.fixed 0 =
start
.fixpos inc
stop

'had a problem with sinkers fixing...bug?
cond
*55 0 =
*.fixpos 0 !=
start
0 .fixpos store
stop

'repro
cond
*55 1 =
*.nrg 3000 >
start
50 .repro store
stop

end

6
DNA - General / Multi-bot help
« on: February 24, 2005, 11:05:34 AM »
Hi this is my first post, and I need help. Im trying to get a line of robots all tied together   where the ends reproduce and the bots in between are facing ither to the left or the right. So far I have just had them fire a tie at birth and then had them change the tie ang but I always end up with a clump of bots rather than a line. I dont think im using the tie orientation call right. I dont have any code worth improving I am just looking for suggestions on how to go about this.  I already tryed to take some ideas from bots like inch worm but it didnt work to well.

Pages: [1]