上一页 1 2 3 4 5 6 ··· 36 下一页
  2026年2月1日
摘要: function love.load() bgm = love.audio.newSource("assets/bgm.mp3","stream") bgm:setlooping(true) bgm:play() end 阅读全文
posted @ 2026-02-01 14:00 小沙盒工作室 阅读(1) 评论(0) 推荐(0)
摘要: https://love2d.org/wiki/HUMP https://github.com/HDictus/hump/tree/temp-master 阅读全文
posted @ 2026-02-01 10:38 小沙盒工作室 阅读(6) 评论(0) 推荐(0)
摘要: 找到CheatCommandCommonEntryCommontest 72行offlineGameBaseFunc.SetSelfPlayerName("BiliBili@逢雪相思"); 阅读全文
posted @ 2026-02-01 09:52 小沙盒工作室 阅读(10) 评论(0) 推荐(0)
  2026年1月30日
摘要: https://warmplace.ru/soft/pixilang/ //Pixilang 虚拟机操作码: // 小写 - 数字is in the 操作码 body; // V - variable (type = PIX_OPCODE); // N - short number (type = 阅读全文
posted @ 2026-01-30 11:46 小沙盒工作室 阅读(3) 评论(0) 推荐(0)
  2026年1月27日
摘要: 比如int a = 1;重载后变成int a <- 1;int b = fx()int b <- fx() 阅读全文
posted @ 2026-01-27 11:05 小沙盒工作室 阅读(4) 评论(0) 推荐(0)
摘要: function linearMap(knobValue, minKnob, maxKnob, minValue, maxValue) { // 将旋钮值从一个范围映射到另一个范围 return (knobValue - minKnob) / (maxKnob - minKnob) * (maxVa 阅读全文
posted @ 2026-01-27 10:49 小沙盒工作室 阅读(3) 评论(0) 推荐(0)
摘要: function hitTest(x, y) { if (x >= rect.x && x <= rect.x + rect.width && y >= rect.y && y <= rect.y + rect.height) { return true; } } 阅读全文
posted @ 2026-01-27 10:48 小沙盒工作室 阅读(1) 评论(0) 推荐(0)
  2026年1月26日
摘要: -- SDL2风格的颜色剔除函数 function setColorKey(imagePath, colorKey, threshold) -- 加载ImageData(类似SDL_Surface) local imageData = love.image.newImageData(imagePat 阅读全文
posted @ 2026-01-26 17:15 小沙盒工作室 阅读(4) 评论(0) 推荐(0)
摘要: -- TextButton.lua local TextButton = { text="", x=0, y=0, width=0, height=0 } TextButton.__index = TextButtonfunction TextButton:new(text, x, y, width 阅读全文
posted @ 2026-01-26 14:48 小沙盒工作室 阅读(4) 评论(0) 推荐(0)
摘要: http://lua-users.org/wiki/ObjectOrientationTutorial 阅读全文
posted @ 2026-01-26 14:16 小沙盒工作室 阅读(2) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 36 下一页