Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
OK, so I put this image through sourcecoder:



And then I ran this code with LuaZM:


Code:

--sprites
local hunkyCrest = "f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ffa5f9c67acc88bc6f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f9c47c589ee6bb4e86b05f81ff81ff81fa488aca8f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81feb7ca488cdcabd499c67f81ff81f6b05c569c56983a6f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f83a6cdaab4e87b668bc6bd49de2bd5ea9407f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81faca8cd8aacc8cd89c5899c279407f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f7b46d5eade2bb5095264f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f73458bc6a488c569cd8ac589a488f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f9c47b509cd89cd89bd4983c6b509c5898be6f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81fa468bd49d5cab5083142f81f5a64c589bd29aca89c47f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81faca8b4e883a6f81ff81ff81fa468d5eade0ac5897345f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81faca8de0ae64bde0a9c27f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ffa5f8454f81f5800f81ffadf7348d5eae64bcdaa5ac9953cf81f5800f81f8454fadff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f6b4a73258be79427940794279407942894088c079c688bc79428942894079427940794278be773256b4af81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f68c273678c089406526431829427b50ba4a98be97bca8c4c840d8c4d83c98be9a4a9b50b94073162526494068c08736768c2f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f8b6683c673255224b4e8b4e8bd29c529bd097c2a744aad2fb5d5ad0f8bcb8c0abd09c529b529b4e8acc84a03732583c68b66f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f7ba994077b666b05b4e8d5cade0ad5eac569c54ab5296bc87429846b94508c0d8be97ba8bd09c54ac569d5eade0ad5caacc86ae57b8694077ba9f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f60e27345942762c4a488de2bde2be64be64bd5eac569cdccbd4a73867c09836c9c4e846d83e77366bd4acdccc569d5eae64be64bde2bde0ba46862c59427734560e2f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff9bffa5f7b6694077b66cdaae64be64be62be64be64bd5eac569bca8bd0873867c6aabac4b0c63ea83e77366bce9bca8c569d5eae64be64be62be64be64bcdaa7b4594078366fa5ff9bff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f41c48c0a83c794079c27de0ae64be62be64be64be62be64bd5eac549cdcbbd4983c6832782a762679b09830683c7bd49cdcbc549d5eae64be62be64be64be62be64bde0a9427940783c78c0a41c4f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f7ae57b668bc67b45b509de2be64bde2be62be64be64be62be64bd5eac569cd6bcdaabd6aaa45b8e2b0e2b0c2aa45bd4acdaacd6bc549d5eae64be62be64be64be62bde2be64bde0ab50973458be67b667ae5f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f7b458ba68bc67325c569de2be64be62be62be62be64ae64ae64be64bd5eac569c549d5cac5abab26a1a4a224a1a4a306c5abd5cac549c569d5eae64be64be64ae64ae62be62be62be64bde2bc5496ae58be783a67b45f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f8c2b8be87b867325bd89de4be64bde2be64be62be62bad0ab52ae64be64bd5eac549cdccbd49acc8acc8bce8bd08bcc8aca8acc8bd49cdccc549d5eae64be64bb52aad0ae62be62be64bde2be64bde4bbd697b667b868be88c2bf81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f83a98bc88be6c589b427bc68e64be62be64be64bb52b32cf534ec58bee6bd5eac569bd09b508c569de2aa4ca9c6abd6be64ac569b508bd09c569d5eaee6bc58b534e32cfb52be64be64be62be62bbc68b427bd698be68be883a9f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f7b657b65b509c509aa04a143cd8ae64be64be64b8c6b1a723aefa4ebee8bd5eabd29b4c8cdaae64bd5ec5ac9834a738ce64ae64bcdaab4c8bd29d5eaee8ba4eb3aef1a728c6be64be64be64bcd89a143aa04c509ad087b657b65f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f1a0c3a8c6329cdc9cd29b204a943cd69e64be62be64bc58b4b2d638dcdcbee6bd5eab4e8c58ace13de2ec56c630a8348632dee4acdefc5d2c58ab4e8d5eaee6bcdcb638d4b0dc58be64be62be64bcd69a943b204cd29cdc963283a8c1a0cf81ff81ff81ff81ff81ff81ff81ff81ff81fc5d532af226f7c0ce62ae64bbbe7aba7d5cae64be62be62be64ba4a9b529e64be64bd5cabd49d60bcdf0e66dbd6b844c73cd6b6ce64bd62dc5cfde0bbd49d5cae64be64bb509a4a9e64be62be62be64bd5caaba7bbe7e62bde2a73ec226f32aec5d5f81ff81ff81ff81ff81ff81ff81fa535dedb847342ecb54be60aa4c76bc473e5bd09c569e64be62bd5eaaca8a489de0ae66bd5eac569d5cabcebd58b9d2dad0e7bcd8c2dbd4ad5abbcebd5cbc589d5eae66bde0aa489a4a8d5eae62be64bc589bd0973e56bc4a4c7e60ab52b42ec8473dedbad55f81ff81ff81ff81ff81ff81f9cb0a4f25aca7346c5498c6643243aa943074b43acc8cdaae66bb4e87ba873c8d5a9e64bd5eacda9b46b938b932b92ca83cc83cd9caa938a934c938aac09cda9d5eae64bd5a973c87ba8b4e8e66bcdaaacc84b4343273aaa43248c66bd4973265acaa4f29cb1f81ff81ff81ff81ff81ff81f94289407422762e9a4a75383432732e64b0a3b4373c5c549d5caa4a8428c634aaca9de0ade0abd0982e78bca9be87ac85aec6b6d8beb6b2a9be893ea8b28bd29de0ade0aaca9634a428ca4a8d5cac54973c53b434b0a32e643275383a4a762e9422794079428f81ff81ff81ff81ff81ff81f9c47838652c773a983c6432522c243272b423b064b03c549bd296b2a530b3ac78bead5c9de0aac897aa78b28ac48734a632c632c844e948aac678b287ae8b4cade0ad5c98bea3ac7530b6b2abd29c54943033b062b42432622e2432583c673a952c783869c47f81ff81ff81ff81ff81ff81fa46683a752e9634a7387536533044b473b4443275324aca8acc94aab532a4b09632ab4e9d5cacd898bebb48b9c6683aa5b0d7b8c746f842b9c87b4cb8c0bcd89d5cab4e9632a4309532a4aabacc9aca8532443273b444b47330453667387634a52e983a7a466f81ff81ff81ff81ff81ff81f9c4873474acb532a6b4953644b283b635b4a33436328ac876b6a534a4307636b42e8942ac549cda9a46cc54bbd28acee738d7bac746fa4edbd48c54ba46ccda9c549942a4308636b4307534a6b6aaca75b0733435b4a3b634b2853646b49530a4aeb73479c28f81ff81ff81ff81ff81f9cf4bdf6736a4b0a532b5b283ae433253b25434633045b45a4884acb42cb4b0a42ea42ca6b6aaca8c569940bbd0ba4a763677b894ae663686346acc7bd2b940bc569aca86b6a42ca42ea4b0a42cb4aeaa4685345330443663b4533253ae45b28532b4b0a736abdf694b4f81ff81ff81ff81ffa5fa5135ae84ae752e94ac6428532c353073b0342c76364736842874aa85b0942c652e852e873479c479428a468b4e8a487aca8a488ac88a487b4e8a46894289c47734752e74ae83aa65b0942a842877368636442c64303530732c342854ac652e94ae75ae8a514fa5ff81ff81ff81ff81ff81f946da4acacecacecacccacecacecacedacedacecacecacecacecacebacebad0cacecacebacecaccbacebaceca4cbacecacecaccbacecaceca4cbacecacebaccbacecacebacecacecacebacebacecacecacccacecacedacedacecacecacccacccaceca4ac946df81ff81ff81ff81ff81f94b2bdf6c5f5c5f5bdd4bdb4c5f5c5f5ce35ce35bdb3b592bdd3ce35bdb2c5d3c614c5d3bd92c5f4bdb2bd92c615b571c5f4c5f3b551c5f3c5f4b571ce15bdb2bd92c5f4bd92c5d3c614bdb3bdb2ce35c5d4b592bdd3c615ce35c5f4c5f5bdb4bdd4c5f5c5f5bdd68c71f81ff81ff81ff81ff81f9c25a4879447b4e7a487aca7acc7aca7a4a7b4e7b4e7a487b4e8c548b4e7b507b508a4a7a486bd28bd08b4e7c548b4c79c26aca79c46b4c7c548b4e7bd08bd28a486acc8bd29b4e7b4e7c548b4e7a467b4e7b4e7aca7aca7ace7aca7ac87b4e79c26ac879404f81ff81ff81ff81ff81f4aaaaceaa4c95b47c58ac569b488bc88b407abe7bd29cdcab4e9d5eb9c676b25a488d5cbaceabd29e62bde2bd5eacd89948a638c8c4c638c948acd89d5eade2bde2bbd29bd2bd5cc9c686b25b4e8de0bacc9d5cabd29abe7b407bc88b4a8c569c58a6b46b509acea4aa9f81ff81ff81f1a0d328d946b840862e79ca9bd29ab46aa24a9a3a204acc8cdaaa4a9c54b3a4439a47ba7c54abd2ab529de0ade2abd497beb3b0f2ab03b102ab03b0f7bebc549de2ad60abd29cd6ab4ea7b8729435ae5c56ba489cdaab4e8a1e4a9a3aa24ab46bd29a4c97b68a489948a328d1a0df81ff81f222d532ca4caa489a46aad09b4e8b326b163a8e2b386ace8d5ca7bc894695ae673287387a48ab509bd29de2bc5698c4a3aef2ab12ad12ab12ad12ab13aef944ac569de0bbd49b509942983a762a573678c6b9448d5cab4e8b366a8e2b163b326b4e9a4e9a48abcc9b50a532c222df81ff81f222d532ca4aab46abc0ac52ab4e8b326b163a8e2b3e7b4e8d5ca73a87b889c499c6a8c2a942aaca9c549cdcac569946b32d02ab12ad12ad12ad12ab132d0948bc569cdaac569a4a9944a942a9c49ac89842c9449d5cab4e8abc7a8e2b163b326b508ad0a944ab4c9b50a532c222df81ff81f1a0d3aad9caac52bbc6cbd0bb4e8b326b183b103aa44b4c8d5ca7b878bcb8c6e8c0a4aac7389b4e9c549cdaac569638c22b122b12ab122912ab122b12ab1638cc569cd8ac569acc9738952eca48b846e940b9449d5cab4e8aa24b123b183ab26bd49b4ea9beab4ca9caa3aad1a0df81ff81ffabf42aaa4aaaccd9c4d8c0abd29abc7ab66a2a59aa5acc8d5ca7bc9742e84908c0d3a6c738ab509bd49de0acd899caa5b8d430f430f63ce3b0f430f5b8da4aacd89d5eac569b509738b3aad940c848f7c4e9469d5caacc89a85a2c5ab66abc7bd69ac49ac2cb4cea48a42aafabff81ff81ff81ff8ffa467a48aacaaa469b4c8b508bd08b4e8b4e8bd28c54994489ccbad0c9c8b83ea9449acc8b4e8cda9d5cac549b4e8944883e8b4e883c89448b4e8c569d5cacda9b4e8acc89c69840aa4aab50b9ceb9c88c569bd28b4e8b508bd28b508b508b488bc69ac8b9c67f81ff81ff81ff81ff81ff81f9cadacecad0cacecaccbb50cb52cb52cb52cb52cacebacebb50cb50bb50bb52cb50bacebacebb52bb52bb52cb50bacebaccbaccaaccbacebb50bb52cb52bb52bacebacebb50bb52cb50bb50bb50cacebad0bb52cb52cb52cb52cb50caccbacecad0cacec9c8df81ff81ff81ff81ff81fa514b596b595b5b5b574b574bdb5b594bdd5bdd5b593b552b593c5f5b572b572bdb4bdb3b572bdd4b572b572bdd4ad51bdb4bdb3ad30bdb3bdd4ad51bdd5b572b552bdd4b572bd93bdb4b572b572bdd5b594b552b593bdd5bdd5b594bdb5b574b574b5b5b5b5b5969cf4f81ff81f18002801282051a283258b658b658b658b658b658b658b658b658b658b658b658b868b658b658b658b868b858b868b868b658b868b868b658b868b658b868b868b658b868b868b858b868b858b868b658b868b658b668b868b858b868b658b658b858b858b868b85832551a22800280118006842b864b064b044b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b8036001b803b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b003b044b064b86468428043d884d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d8847842d884d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d084d88480437842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c884c884c884d084d084d084d084d084d084d084d084c884c884c884c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c884c884c084b864b002b002b002b002b002b843b884c884c884c884c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c884d084c0647883a2ccab0ca30ca30ca2ec89c89822d084c884c884c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c884c884d8648042ef7dffffffffffffffff9bcfc002c884c884c884c884c884c884c884c884d08478427842d085c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c884c884d0849801de9afffffffffffff79e8a6ad023c884c884c884c884c884c884c884c884d08478428002d823d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d8237822d084c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478426125a9e9a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a1c8a9e968a4d084c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478428410e6fbde9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ade9ae71c7a29d064c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff828bd044c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c884c884d084b864a023d043c843c843d0449000de9afffffffffffff79e8a6ad002c843c843c843c023a843c084c884c884d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c884c884d064a90572abb2acaa8baa8bb28b8a09e6fbfffffffffffff7bea410aa4aaa8baa8baa8bb34e7987b043d084c884d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c884c884d044b988b638efbee77de77de77de77dffdfffffffffffffffffef9ee77de77de77de75df7ffa30db023d084c884d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c884c884d044b967be38ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa30db023d084c884d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff828bd044c884c884d044b967be38ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa30db023d084c884d08478428c30ef1cdebadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadedadebae73c7a29d044c884c884d044b967be38ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffa30db023d084c884d08478426145aa29a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209a209aa2a68c4d064c884c884d064b1479cd3d5d7cd96cd96cd96c575ef7dffffffffffffffdfce38cd76cd96cd96cd76d679928bb023d084c884d08478428002d823d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d8237822d084c884c884d064b0a48146b926b106b106b9268063debafffffffffffff7be8b0cb0c5b106b106b106b16788c5b864d084c884d08478427842d085c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c064b843d044d044d044d8449800de9afffffffffffff79e8a6ad803d044d044d044c823b843c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c864d084d084d084d084d084d084d8859801de9afffffffffffff79e92abd843d084d084d084d084d084d084c864c884d08478427842d085c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c88498838801a801a001a001a001a001a8017000d679fffffffffffff79e71e8a800a001a001a001a001a80198018842b864d08478428002d823d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d023d8237822d084c864a1c8bd14cd35c514c514c514c514c514b4d3ef7dffffffffffffffdfc5d7c4f4c514c514c514c514c514c555abafb084d08478425208936e8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d8b4d936e6125d064c864aa29e71cffffffdfffdfffdfffdfffdfffdfffffffffffffffffffffffdfffdfffdfffdfffdfffdfffdfffffc4d3b084d06478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c864aa09e73cffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc4d3b084d06478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff828bd044c864aa09e73cffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc4d3b084d06478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c864aa2ae71cffdfffbeffbeffbeffbeffbef7beffffffffffffffffffffffdfffbeffbeffbeffbeffbeffbeffffc4d3b084d06478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c86499879bf0abd0abafabafabafabafabcf936ee71cffffffffffffffdfacf3ab8fabcfabafabafabafabcfac10930cb084d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c8849863a864c064c064c064c064c064c8648800de9afffffffffffff79e8a6ac003c064c064c064c064c064b8649883b864d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c884c884c864c864c864c864c864c864d0849001de9afffffffffffff79e8a8bd023c884c864c864c864c864c864c864c884d08478429cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bd044c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d084784294d3fffff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7dff7ff828ad044c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d084784272ebccd4c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4b3c4f47187d064c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478427083c0e6b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5b8c5c0e57063d084c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478427822d064c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864d0647842d084c884c884c884c884c884c884c884c884d0849001de9afffffffffffff79e8a8bd023c884c884c884c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c884c864c864d0849001debace78946c9cd0f79e92abd023c884c864c864c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c084b884b864c8449801ce18948ede0a9c47d6998a6ad023c044b884b884c864c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c864a08371e4828599a488228bca8bc8de0a9c479c6a69a5b0c48a457a648924c064c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884c844a164c529c60a60a2d5a9ee8bde0ae64be66a72849b06e6aba306b884c864c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847842d084c884c884c884c884c884d064b904932683467842940c9c4ade0aacc89c8c61a699a49c2799e5b824c884c884c884c884c884d08478427842d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0847042d084c884c884c884c884c884d064b8c48ac579c4722483cc944aee6bc5498c2d72e7798382a5aa05c024c884c884c884c884c884d08478427883d0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c0c5c8c57063d084c884c884c884c884c884d064b06479e47ba683c6838683867b667b86838683a683c6730590e4c844c884c884c884c884c884d0847842630cad14a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a4f3a53469a7d064c884c884c884c884c884d064a8649326ad6ab5aab58ab58ab58ab58ab58ab58ab5aa9ca89185c044c884c884c884c884c884d0847842a534ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8acbd044c884d084d084c884c884c064694402c603070307030703070307030703070307030703072a26a0a4d064c884c884d084c884d08478429492ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff828bd844d064c044c844d064d06488e41307046a046a044a044a044a044a044a044a044a044a046a040949e5b864d064c844c044c844d86470428430ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8a8bb82379045965616590c4b84351e50409044a042a042a042a042a042a042a042a042a042a042a046a132790a4b084712451856165a0a460226b6dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff728a39c503a8044a04290b2741232a46046a042a042a042a042a042a042a042a042a042a042a042a044a038841642a2603c9044a040912e720824208ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4b0b0429044a042a042a044a03680327046a042a042a042a042a042a042a042a042a042a042a042a044a03a803270409044a042a042a048a01022965e73cffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4bac0449042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a0409042a044a042a042a044a03c900e25aebb5b6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4bac0449042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a046a02e701a3f81f8451e7dedf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7ddf7de7de436b0449042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a0429046a0245f81ff81f5966a209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209b209ba0a31c5046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a044a03e90205f81ff81f60229863d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d0643964046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a044a03270204f81ff81f30018843c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d8643944046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a02c60122f81ff81ff81f6042a864d084c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d8643944046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a044a03880204f81ff81ff81ff81f48219043c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d8643944046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042902e70163f81ff81ff81ff81ff81f4821a864c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d8643944046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a03880183f81ff81ff81ff81ff81ff81ff9bf6842c064c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d8643944046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a04090225f9bff81ff81ff81ff81ff81ff81ff81f38018042c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884c884d8643944046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042902860122f81ff81ff81ff81ff81ff81ff81ff81ff81f40219063c084c884c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864c864d0643944046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042903070163f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f480180c4a9e9b26bb24ab24ab24ab24ab24ab24ab24ab24ab24ab24ab24ab24ab24ab24ab24ab24ab24aba4b31e6046a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a044a040903070183f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f21868430ce59dedbd6bad6bad6bad6bad6bad6bad6bad6bad6bad6bad6bad6bad6bad6bad6bad6badefb3b2a0449042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a042a044a03e902e70163f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f6bcfad75dedbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4bac0449042a042a042a042a042a042a042a042a042a042a042a042a042a042a044a044a038802860122f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f00007befad55f7beffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4b8c0449042a042a042a042a042a042a042a042a042a042a042a042a042a044a040902c602040000f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f52aa8410bdf7ffdfffffffffffffffffffffffffffffffffffffffffffffffffffff4b8c0449042a042a042a042a042a042a042a042a042a042a044a042a0429030702050143f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff2be7bcf7befc5f7ef5df79effffffffffffffffffffffffffffffffffffffff4b8c0449042a042a042a042a042a042a042a044a044a040903e90327020401e4f2bef81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff2be7bae6b2cad34ce79dedbf7beffffffffffffffffffffffffffff4b8c0449042a042a042a044a044a044a040903a8036802c601a401e4f2bef81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f630c52aa8c30a514b596c618ef5dffffffffffffffff4b8c0449044a046a044a03c9032702e702a6022501630183f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff8ff5aaa841073ae8410a514d69affff4bac044a03680286022501e402250163f8fff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f4a4962ec29e6014200c1f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81f"

--functions
local drawRectFill = zmg.drawRectFill
local fastCopy = zmg.fastCopy
local keyMenuFast = zmg.keyMenuFast
local clear = zmg.clear
local makeColor = zmg.makeColor
local drawText = zmg.drawText
local copySpriteMask = zmg.copySpriteMask
local floor = math.floor

--key variables
local keyExit = 47
local keyUp = 28
local keyDown = 37
local keyLeft = 38
local keyRight = 27

--other variables
local LCD_SCREEN_WIDTH = 384
local LCD_SCREEN_HEIGHT = 216

local angle = 0
local i = 1
local width = 57
local height = 121

--main loop
while keyMenuFast() ~= keyExit do
   clear()
   
   drawRectFill(0, 0, LCD_SCREEN_WIDTH, floor(LCD_SCREEN_HEIGHT / 3), makeColor(40, 130, 0))
   drawRectFill(0, floor(LCD_SCREEN_HEIGHT / 3), LCD_SCREEN_WIDTH, floor(LCD_SCREEN_HEIGHT / 3), makeColor(236, 236, 236))
   drawRectFill(0, floor(2 * LCD_SCREEN_HEIGHT / 3), LCD_SCREEN_WIDTH, floor(LCD_SCREEN_HEIGHT / 3), makeColor(132, 0, 0))
   
   copySpriteMask(83, floor(LCD_SCREEN_HEIGHT / 3) + 3, width, height, 0xf81f, hunkyCrest)
   
   if keyMenuFast() == 28 and height > 0 then height = height-1
      elseif keyMenuFast() == 37 then height = height+1
      elseif keyMenuFast() == 38 and width > 0 then width = width-1
      elseif keyMenuFast() == 27 then width = width+1
   end
   
   angle = angle + i
   if angle == 150 then i = -1
      elseif angle == 0 then i = 1
   end
   fastCopy()
end


And I got a really warped version of the sprite. What's going on?
Hmm, I don't see anything wrong with you code, so I tried running this on my calculator. It looks as if lines that start with transparency are truncated until the first non-transparency pixel. Is that the behavior that you are seeing as well?
KermMartian wrote:
Hmm, I don't see anything wrong with you code, so I tried running this on my calculator. It looks as if lines that start with transparency are truncated until the first non-transparency pixel. Is that the behavior that you are seeing as well?


Yes.
Yeah, I see exactly the problem in the relevant C code, and I have fixed it. I'll push out the fix with the next LuaZM release.
Cool, thanks Smile
flyingfisch wrote:
Cool, thanks Smile
Thanks for reporting the glitch! It's a fluke that the sprite I used to test the routine happened to have a column of nontransparent pixels at the left edge, unfortunately.
ahh, gotcha.

Also:


Code:

while zmg.keyMenuFast() ~=47 do
zmg.keyMenuFast()
end


Run that and press [menu].

It will bring you to the menu. I dont think it is supposed to do that, since it is non-blocking.
Nope, that's intentional behavior. I don't expect LuaZM programs to be allowed to override the [MENU] key or the [ON] key.
OK, cool. I actually would not want to be able to override menu or on because I don't want to hit the reset button to get out of a prog, yah know what i mean.
flyingfisch wrote:
OK, cool. I actually would not want to be able to override menu or on because I don't want to hit the reset button to get out of a prog, yah know what i mean.
You don't need to; the [ON] key is an interrupt key everywhere in LuaZM programs. Smile
Ah, ok. LuaFX doesn't give us that functionality Wink
flyingfisch wrote:
Ah, ok. LuaFX doesn't give us that functionality Wink
Well, happy to offer it, then. Smile I'd like to avoid people having to reset their calculators too often.
Yeah. However its not a big deal with LFX because fx9860's reboot a *lot* faster than prizm's....
flyingfisch wrote:
Yeah. However its not a big deal with LFX because fx9860's reboot a *lot* faster than prizm's....


I guess that's because they don't have the start-up wizard asking you the language and the battery type. The Prizm runs it even when it remembers the settings it is asking for.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement