Difference between revisions of "Template:Position"

From WikiManual
Jump to: navigation, search
 
(Position:)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="boilerplate metadata" id="sfd-c" style="margin: 0 5%; padding: 0 7px 7px 7px; background:#7985c4; border: 1px solid #aaa; text-align: left; font-size:95%;">
+
{| width="100%" style="background: transparent;"
 
+
{{Divpurple}}
===[[Position]]:===
+
==[[Position]]:==
{| border="0" style=background:#7985c4;
+
{| border="0" style=background:#f0f0ff;
|-
 
| [[.maxvel]] || 11
 
 
|-  
 
|-  
 
| [[.velscalar]] || 196
 
| [[.velscalar]] || 196
 
|-  
 
|-  
| [[.velsx]] || 197
+
|}
 +
{| border="0" style=background:#f0f0ff;
 
|-  
 
|-  
| [[.veldx]] || 198
+
| [[.vel]] 200 || [[.velup]] 200 ||
 +
|-
 +
|  [[.velsx]] 197 || [[Image:Veggietransparent.gif]] || [[.veldx]] 198
 +
|-
 +
|  || [[.veldn]] 199 ||  
 +
|}
 +
{| border="0" style=background:#f0f0ff;
 
|-  
 
|-  
| [[.veldn]] || 199
+
| [[.edge]] || 214
 
|-  
 
|-  
| [[.velup]] || 200
+
| [[.fixed]] || 215 || [[.fixpos]] || 216
 
|-  
 
|-  
| [[.vel]] || 200
+
| [[.xpos]] || 219 || [[.ypos]][[.depth|/.depth]] || 217
 
|-  
 
|-  
| [[.edge]] || 214 set to 1 if the bot has hit the edge of the screen.
+
| [[.daytime]] || 218
 +
|}
 +
{| border="0" style=background:#f0f0ff;
 
|-  
 
|-  
| [[.fixed]] || 215 - A value of 0 means the robot can move freely. A value of 1 means it is fixed in place (like a blocked alga)
+
| [[.sun]] || 400
|-
+
|}
| [[.fixpos]] || 216 - Set this to any non-zero number to anchor your bot in place. Set it to zero to allow your bot to move freely.
 
|-
 
| [[.xpos]] || 219 - Reads back a bot's horizontal position with the left side representing zero
 
|-
 
| [[.ypos]] || 217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
 
|-
 
| [[.depth]] || 217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
 
 
|}
 
|}
 
</div>
 

Latest revision as of 11:24, 27 June 2014

Position:

.velscalar 196
.vel 200 .velup 200
.velsx 197 Veggietransparent.gif .veldx 198
.veldn 199
.edge 214
.fixed 215 .fixpos 216
.xpos 219 .ypos/.depth 217
.daytime 218
.sun 400