Skip to content

Commit 888e888

Browse files
committed
move up some to fit on more displays. fix transparency palette index
1 parent 01d649d commit 888e888

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/anchored_tilegrid_simpletest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
circle_palette[0] = 0xFF00FF
2323

2424
# circle object, we'll place our speech blurb near this
25-
circle = Circle(pixel_shader=circle_palette, radius=20, x=40, y=160)
25+
circle = Circle(pixel_shader=circle_palette, radius=20, x=40, y=70)
2626

2727
# initialize a Group and add the circle to it
2828
main_group = Group()
@@ -41,7 +41,7 @@
4141
speech_blurb.anchor_point = (0.18, 1.0)
4242

4343
# position it near the circle
44-
speech_blurb.anchored_position = (60, 150)
44+
speech_blurb.anchored_position = (circle.x + 16, circle.y - 16)
4545

4646
# add it to the group
4747
main_group.append(speech_blurb)

examples/example_image.bmp

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)