1
Ask a Question / Re: Actor animation stops when growing to -100% horizontal (possible bug?)
« on: December 31, 2021, 03:03:54 am »
I see. Thank you Luyren and happy new year!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
var timedTask = runPeriodically(myMiliseconds, function(task) {
// your code here will be repeated every "myMiliseconds" miliseconds
});
timedTask.repeats = false;
getFont(id)
function, but that takes the font ID, not its name and that's not very helpful.for (res in Data.get().resources)
{
if (Std.is(res, Font) && res.name == "Font Name Here")
{
return cast (res, Font);
}
}
return null;
Quotejava.io.FileNotFoundException: E:\Work\StencylGamesGenerated\Android Game\app\intermediates\signing_config\debug\out\signing-config.json (Access is denied)
That looks pretty bizarre to me, but apparently this is something that others have run into as well. Looks like you should be able to fix it just be deleting the file.
Regarding the android device detection, it's still not showing up. Perhaps you need to change your usb connection mode. I don't recall offhand, but I usually set my android to something like the "photo" or "media" transfer mode in order for adb to work.
It says here build sucssesful, but I don't see in your logs that Stencyl recognized your device. Check if for some reason the game isn't installed into your device. Other than having your device connected before you start Stencyl, I don't have much to suggest. Someone with more knowledge might be able to chime in later.
Right, after "List of devices attached" in the logs, I see no output, so it seems the device isn't detected. Note that being detected by the computer itself isn't enough. It needs to be detected by adb (android debug bridge), the software that's used to communicate with the device for development purposes. You may need to change some settings on the android or install some drivers on the computer.
See "Step 1: Set up your Device" in the Getting Started with Android Stencylpedia article.
To be able to immediately confirm when the device is recognized, in Stencyl, go to File > Preferences > Features, and enable Device Manager. Then, every time you open Stencyl, and again every 30 seconds after that, it checks if there have been any changes to what devices you have connected.
With the feature enabled, open the log viewer, and be on the lookout for something like this:Code: [Select]13:07:19,813 Found new device:
LGMV300Kf6761c6f
LGE LGM-V300K, SDK 28
When you see that, you can test your game and Stencyl will be able to see your device and install to it.
I can tell you about the log part. Go to "Run > View logs through game controller" to view logs there instead of in the log viewer. When viewed this way, you can click on any log output in the game controller and quickly move to the relevant behavior or event in your game.