...
This commit is contained in:
parent
c52c98d73e
commit
0c0ed298d7
2 changed files with 18 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
Kamera Begrenzung:
|
||||||
|
```
|
||||||
|
camera.limit_left = 0
|
||||||
|
camera.limit_top = 0
|
||||||
|
camera.limit_right = 100 * tile_size
|
||||||
|
camera.limit_bottom = 100 * tile_size
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Setzen von weit entfernten tiles:
|
||||||
|
|
||||||
|
```
|
||||||
|
for x in range(0, 100):
|
||||||
|
for y in range(0, 100):
|
||||||
|
tilemap.set_cell(x, y, tile_id)
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue