mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
made tile connectivity clear and explicit, more tiles with graphics, 16-colour pallete has been defined, now you can place arbitrary tile in the game, use ActorValue "selectedtile", fine-tuning and shading on human sprites (see npc_template_cynthia.psd), replacing apostrophe SINGLE_QUOT (') to TYPOGRAPHY_SINGLE_QUOT_CLOSE (’)
Former-commit-id: 7ba22c510956d59af19def7895e329a9d8a3bf1b Former-commit-id: e8ccd59ff87fe2f6f94b4699c9f4c25a2e7cf9b6
This commit is contained in:
@@ -32,6 +32,23 @@ def intFromRGB24(r24, g24, b24):
|
||||
def colFromNum(raw):
|
||||
return getR40(raw), getG40(raw), getB40(raw)
|
||||
|
||||
print(colFromNum(9979))
|
||||
print(intFromRGB24(255, 164, 78))
|
||||
print(intFromCol(6, 10, 18))
|
||||
print(intFromRGB24(238, 238, 238))
|
||||
print(intFromRGB24(128, 238, 0))
|
||||
print(intFromRGB24(238, 119, 0))
|
||||
print(intFromRGB24(238, 0, 0))
|
||||
|
||||
print(intFromRGB24(238, 0, 119))
|
||||
print(intFromRGB24(119, 0, 238))
|
||||
print(intFromRGB24(0, 0, 238))
|
||||
print(intFromRGB24(0, 204, 238))
|
||||
|
||||
print(intFromRGB24(68, 204, 0))
|
||||
print(intFromRGB24(34, 102, 0))
|
||||
print(intFromRGB24(85, 34, 0))
|
||||
print(intFromRGB24(153, 102, 51))
|
||||
|
||||
print(intFromRGB24(187, 187, 187))
|
||||
print(intFromRGB24(119, 119, 119))
|
||||
print(intFromRGB24(68, 68, 68))
|
||||
print(intFromRGB24(17, 17, 17))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user