-- title: 7x Total Pixels Bouncing Logo -- Connor -- script: lua local screenW = 240 local screenH = 136 -- 21x21 canvas = 441 pixels (7x the area of an 8x8 sprite) local logoW = 21 local logoH = 21 local x = 110 local y = 58 local dx = 1 local dy = 1 local colors = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12} local colorIndex = 1 function TIC() cls(13) x = x + dx y = y + dy if x <= 0 or x >= (screenW - logoW) then dx = -dx colorIndex = math.random(1, #colors) sfx(0, "C-4", 6) end if y <= 0 or y >= (screenH - logoH) then dy = -dy colorIndex = math.random(1, #colors) sfx(0, "C-4", 6) end -- Render the 21x21 canvas shape matching your layout local activeColor = colors[colorIndex] rect(x, y, logoW, logoH, activeColor) -- Draw a simple inner design accent inside the canvas shape rect(x + 4, y + 4, logoW - 8, logoH - 8, 13) print("X: " .. x .. " Y: " .. y, 5, 5, 15) end -- -- 017:0000000000000000999999999999999999999999999909999999000099990000 -- 018:0000000000000000000000009900000099900000099900000009990000009990 -- 019:0000000000000000099900000099000000990000009900000099900000999000 -- 020:0000000000000000000000000000000000000090000009900000099000009990 -- 021:0000000000000000000099000009999000099999000999990009900900099009 -- 022:0000000000000000000000000000000090000000900000009900000099000000 -- 033:9999000099990000999900009999000099990000999900009999000099990000 -- 034:0000999000000990000009990000099900000999000009990000099900009999 -- 035:0009900000099900000999000009990000099990000099900000999000009999 -- 036:0000999000099900000999000099990009999000099990009999000099900000 -- 037:0009900000999000009900000099000000990000099900000990000009900000 -- 038:9990000099900000999000000990000009900000099000000990000099900000 -- 049:9999000099990000099900000999000000999000009999990099999900090000 -- 050:0000999000099990009999000999900099990000999000000000000000000000 -- 051:0000999900000999000009990000009900000000000000000000000000000000 -- 052:9990000099000000990000009000000000000000000000000000000000000000 -- 053:0900000099000009990000999999999999999999099999900000000000000000 -- 054:9990000099900000990000009900000090000000000000000000000000000000 -- 064:0000000000000000000000000000000000000000000000000000009900000999 -- 065:0000000000000000000000000009999909999999999999999999999999999999 -- 066:0000000000009999999999999999999999999999999999999999999999999999 -- 067:0999999999999999999999999999999999999999999999999999999990000000 -- 068:9999999999999999999999999999999999999999999999999999999900099999 -- 069:0000000099900000999999909999999999999999999999999999999999999999 -- 070:0000000000000000000000000000000099000000999900009999900099999900 -- 080:0000999900009999000099990000099900000999000009990000009900000000 -- 081:9999999999999999999999999999999999999999999999999999999999999999 -- 082:9999999999999999999999999999999999999999999999999999999999999999 -- 083:9000000099000000999900009999999999999999999999999999999999999999 -- 084:0009999900999999999999999999999999999999999999999999999999999999 -- 085:9999999999999999999999999999999999999999999999999999999999999999 -- 086:9999990099999990999999909999990099999900999990009999000090000000 -- 097:0999999900009999000000000000000000000000000000000000000000000000 -- 098:9999999999999999000099990000000000000000000000000000000000000000 -- 099:9999999999999999999999990000000000000000000000000000000000000000 -- 100:9999999999999999999900000000000000000000000000000000000000000000 -- 101:9999999099990000000000000000000000000000000000000000000000000000 -- -- -- 000:00000000ffffffff00000000ffffffff -- 001:0123456789abcdeffedcba9876543210 -- 002:0123456789abcdef0123456789abcdef -- -- -- 000:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304000000000 -- -- -- 000:100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -- -- -- 000:1a1c2c5d275db13e53ef7d57ffcd75a7f07038b76425717929366f3b5dc941a6f673eff7f4f4f494b0c2566c86333c57 --