틀:세계창조/지도: 두 판 사이의 차이

리버티게임, 모두가 만들어가는 자유로운 게임
백괴게임>Comjun04
편집 요약 없음
백괴게임>Comjun04
편집 요약 없음
 
(같은 사용자의 중간 판 53개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{#vardefine:player_location_x|{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|player_location_x}}}}
{{#ifeq:{{{서버|}}}||잘못된 접근입니다.
{{#vardefine:player_location_y|{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|player_location_y}}}}
|{{#ifanon:비회원은 데이터 로드가 불가능합니다.
 
|{{#vardefine:player_x_old|{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|player_x}}}}{{#vardefine:player_y_old|{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|player_y}}}}
{{#vardefine:tile_1_1|class={{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy=-2_2}}}}
{{#if:{{CGI2|변수=player_x}}|{{#vardefine:player_x|{{CGI2|변수=player_x}}}}|{{#vardefine:player_x|{{#var:player_x_old}}}}}}
 
{{#if:{{CGI2|변수=player_y}}|{{#vardefine:player_y|{{CGI2|변수=player_y}}}}|{{#vardefine:player_y|{{#var:player_y_old}}}}}}
{{#vardefine:grass|<div class="map grass">}}
{{#vardefine:grass|<div class="tile_grass" style="display: inline-block; width: 30px; height: 30px; border: 1px solid #000; background-color: green;">}}
{{#vardefine:blank|<div style="display: inline-block; width: 30px; height: 30px; border: 1px solid #000;">}}
{{#css:
{{#css:
  div.map
  div.tile_grass
{
 size: 50px 50px
}
div.grass
  {
  {
   background-color: green;
   background-color: green;
  }
  }
#tile_1_4
}}<!--
{
 background_color: green;
}
}}
 
{| class="wikitable"
{| class="wikitable"
!class={{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-2_2}}|...
!class={{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-2_2}}|...
30번째 줄: 22번째 줄:
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-1_1}}}}"|.
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-1_1}}}}"|.
|}
|}
{| class="wikitable"
{| class="wikitable"
!style="background-color: green"|test
!style="background-color: green"|test
|-
|-
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-2_1}}}}"|test"
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-2_1}}}}"|test"
|}
|} -->
<div style="display: block;">
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div>
 
<div style="display: block;">
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div>
 
<div style="display: block;">
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}}}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}}}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}}}}}}}}[[너]]</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}}}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}}}}}}}}.</div>


{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy=-2_2}}}}...</div>
<div style="display: block;">
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div>


<div style="display: block;">
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div>
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div>
</div>
}}}}
[[분류:세계창조]]
[[분류:세계창조]]

2018년 9월 12일 (수) 19:13 기준 최신판

잘못된 접근입니다.