离线
上面第三部好像直接make就可以了
离线
2048目录据此修改:
XBOOT(8192542) 18:19:24
jjj@jjj-desktop:~/xboot/xboot$ git diff src/romdisk/application/examples/main.lua
diff --git a/src/romdisk/application/examples/main.lua b/src/romdisk/application/examples/main.lua
index bdcf5af..9148461 100644
--- a/src/romdisk/application/examples/main.lua
+++ b/src/romdisk/application/examples/main.lua
@@ -19,7 +19,7 @@ local prevbtn = Widget.Button.new({x = 50, y = sh - 100, width = 100, height = 5
stage:addChild(prevbtn)
local nextbtn = Widget.Button.new({x = sw - 150, y = sh - 100, width = 100, height = 50})
- :addEventListener("Click", function(d, e) testcases:next() end)
+ :addEventListener("Click", function(d, e) stage:animate({scalex = 0.5, scaley = 0.5, rotation = stage:getRotation() + 360}, 5, "outBounce") end)
stage:addChild(nextbtn)
stage:addEventListener(Event.KEY_DOWN, function(d, e)
@@ -34,5 +34,8 @@ stage:addEventListener(Event.KEY_DOWN, function(d, e)
e.stop = true
end)
+stage:setPosition(320,240)
+stage:setAnchor(0.5, 0.5)
+stage:animate({rotation = stage:getRotation() + 360}, 5, "outBounce")
stage:showfps(true)
实现旋转效果
离线
xboot是干什么的?有什么作用?
离线
_ _
_ _ | |___ _____ _____ _| |_
\ \/ /| _ | _ | _ |_ _| (C) 2007-2019
) ( | |_| | |_| | |_| | | |____JIANJUN.JIANG__
/_/\_\|_____|_____|_____| |_____________________|
V3.0.0 (May 14 2019 - 00:00:22) - [TEST][TESTDigital Player Based On Allwinner F1C100S]
XBOOT运行只有这打印,大概是什么情况?
学无止境,回头无岸
离线
_ _
_ _ | |___ _____ _____ _| |_
\ \/ /| _ | _ | _ |_ _| (C) 2007-2019
) ( | |_| | |_| | |_| | | |____JIANJUN.JIANG__
/_/\_\|_____|_____|_____| |_____________________|
V3.0.0 (May 14 2019 - 00:00:22) - [TEST][TESTDigital Player Based On Allwinner F1C100S]XBOOT运行只有这打印,大概是什么情况?
这是GCC编译器有问题,换官方那个版本就可以了。
离线