_ _
_ _ | |___ _____ _____ _| |_
\ \/ /| _ | _ | _ |_ _| (C) 2007-2019
) ( | |_| | |_| | |_| | | |____JIANJUN.JIANG__
/_/\_\|_____|_____|_____| |_____________________|
V3.0.0 (May 14 2019 - 00:00:22) - [TEST][TESTDigital Player Based On Allwinner F1C100S]XBOOT运行只有这打印,大概是什么情况?
这是GCC编译器有问题,换官方那个版本就可以了。
]]>XBOOT运行只有这打印,大概是什么情况?
]]> 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)
实现旋转效果
]]>]]>
sudo apt-get install git
sudo apt-get install libsdl2-dev
2. 下载源码
git clone https://github.com/xboot/xboot.git
3. 编译
ARCH=x64 MACH=mach-sandbox make -j4
4. 运行
output/xboot