Show Posts

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.


Messages - svintaj

Pages: 1 2 3 ... 5
1
iPhone / iPad / Android / Re: 1D Arcade!
« on: August 29, 2019, 02:40:09 pm »
Finally... (after 5 years) I did an update to 1D Arcade with an interactive tutorial and free coins, please give it a new try!

Google Play:
https://play.google.com/store/apps/details?id=com.segelson.OneDeeArcade&hl=en

Itunes:
https://apps.apple.com/au/app/1d-arcade/id638871602

2
Thanks Merrak and Designpeg for your good suggestions!

I ended up using Merraks idea, by using an invisible "Mouse Click Actor" born at the mouse when the button is klicked. Then the button react on that collision with the "Mouse Click Actor".

It was quite easy implemented in just a few minutes.   

3
I have a button with a triangular shape that I need to test if it has ben pushed or not. Is there a simple way to do this?   

4
Ask a Question / Re: Failed: Running Android. (Return code: 1)
« on: March 06, 2019, 07:14:21 am »
Thanks Rob1221!  8) That was it, now when testing with NDK r15 it works, success! :)

5
Ask a Question / Failed: Running Android. (Return code: 1) [SOLVED]
« on: March 06, 2019, 04:30:32 am »
Hello! I'm trying to compile/publish to Android on Stencyl 4.0.1 and  I'm getting this error -> "Failed: Running Android. (Return code: 1)"

I have compiled to Android before in 3.5 so I know the basics and think I have set up everything right... but something is apparently missing...? (It works fine to compile to Android in both Unity and Android Studio.)

I have removed my old Android SDK folders from the stencylworks Android-SDK folder, since I now have the Android SDK installed in an other location. ( I don't know if I might have removed something Stencyl related when I did that, but I guess not. )
I might also have deleted some few other folders in the stencylworks folder, since I removed some folders 'that did not sound so important' like the folder 'games-generated', 'android-builds' and some folder named something like ~'Temp' or ~'Logs' ? I did this a long time ago while not using Stencyl for a while, to save space on my OneDrive...  Yesterday I heard that I shall NOT touch the stencylworks folder! I haven't deleted it but I realise that I do have messed with it... I guess it could be good for you to know if that might could cause this compiler error?


Please help. Here's a snippet from the log, and full logs are attached.

Thanks in advance.

Code: [Select]
2019-03-06 12:17:48,054 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Running command: BUILD
2019-03-06 12:17:48,055 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Copying library file: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/lime/lime/ndll/Android/liblime-v7.so -> Export/android/bin/app/src/main/jniLibs/armeabi-v7a/liblime.so
2019-03-06 12:17:48,056 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Creating directory: Export/android/bin/app/src/main/jniLibs/armeabi-v7a
2019-03-06 12:17:48,102 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: haxe Export/android/haxe/release.hxml -D android -D PLATFORM=android-14 -D HXCPP_ARMV7
2019-03-06 12:17:50,417 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Log Viewer
2019-03-06 12:18:06,363 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Changing directory: Export/android/obj
2019-03-06 12:18:06,363 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: haxelib run hxcpp Build.xml -options D:\OneDrive\stencylworks\games-generated\MischiefLounge_02c\Export\android\obj\Options.txt -Dandroid -DPLATFORM=android-14 -DHXCPP_ARMV7 -verbose
2019-03-06 12:18:06,542 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] hxcpp (Haxe C++ Runtime Support) (4.0.0)
2019-03-06 12:18:06,542 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using makefile: Build.xml
2019-03-06 12:18:06,542 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Reading HXCPP config: D:\OneDrive\stencylworks\prefs/.hxcpp_config.xml
2019-03-06 12:18:06,542 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] No specified toolchain
2019-03-06 12:18:06,543 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/setup.xml
2019-03-06 12:18:06,543 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: D:\OneDrive\stencylworks\prefs/.hxcpp_config.xml (section "vars")
2019-03-06 12:18:06,543 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/finish-setup.xml
2019-03-06 12:18:06,546 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing makefile: D:\OneDrive\stencylworks\games-generated\MischiefLounge_02c\Export\android\obj\Build.xml
2019-03-06 12:18:06,742 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/build-tool/BuildCommon.xml
2019-03-06 12:18:06,742 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/haxe-target.xml
2019-03-06 12:18:06,757 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/src/hx/libs/regexp/Build.xml
2019-03-06 12:18:06,759 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/src/hx/libs/std/Build.xml
2019-03-06 12:18:06,760 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/android-toolchain.xml
2019-03-06 12:18:06,762 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK root: C:/Developer_SDKs/android-ndk-r19b
2019-03-06 12:18:06,762 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android NDK r19
2019-03-06 12:18:06,762 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android toolchain: arm-linux-androideabi-4.9
2019-03-06 12:18:06,763 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Detected Android host: windows-x86_64
2019-03-06 12:18:06,763 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using Android NDK platform: android-14
2019-03-06 12:18:06,763 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Adding path: C:/Developer_SDKs/android-ndk-r19b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin
2019-03-06 12:18:06,763 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/gcc-toolchain.xml
2019-03-06 12:18:06,765 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing compiler: C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/toolchain/common-defines.xml
2019-03-06 12:18:06,768 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Parsing include: D:\OneDrive\stencylworks\prefs/.hxcpp_config.xml (section "exes")
2019-03-06 12:18:06,769 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using compile threads: 7
2019-03-06 12:18:06,770 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Creating directory: D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj
2019-03-06 12:18:06,771 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Creating directory: D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7
2019-03-06 12:18:06,855 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Creating directory: D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch
2019-03-06 12:18:06,856 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Creating directory: D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe
2019-03-06 12:18:06,857 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Creating PCH directory "D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe"
2019-03-06 12:18:06,858 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Precompile D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch
2019-03-06 12:18:06,859 DEBUG [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Running command: arm-linux-androideabi-g++ -Iinclude --sysroot=C:/Developer_SDKs/android-ndk-r19b/platforms/android-14/arch-arm -IC:/Developer_SDKs/android-ndk-r19b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/Developer_SDKs/android-ndk-r19b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=331 "-IC:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include" -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -Wno-overflow "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -DHXCPP_ARMV7 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=14 -Wa,--noexecstack -O2 -DNDEBUG -c -Wno-invalid-offsetof -frtti -std=c++11 -o D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include/hxcpp.h"
2019-03-06 12:18:06,881 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] 'arm-linux-androideabi-g++' is not recognized as an internal or external command,
2019-03-06 12:18:06,881 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] operable program or batch file.
2019-03-06 12:18:06,883 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] Error: Error while running command
2019-03-06 12:18:06,883 INFO  [Thread-135] stencyl.sw.util.StreamGobbler: [haxelib.exe] arm-linux-androideabi-g++ -Iinclude --sysroot=C:/Developer_SDKs/android-ndk-r19b/platforms/android-14/arch-arm -IC:/Developer_SDKs/android-ndk-r19b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/Developer_SDKs/android-ndk-r19b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=331 "-IC:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include" -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -Wno-overflow "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -DHXCPP_ARMV7 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=14 -Wa,--noexecstack -O2 -DNDEBUG -c -Wno-invalid-offsetof -frtti -std=c++11 -o D:/OneDrive/stencylworks/games-generated/MischiefLounge_02c/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include/hxcpp.h"
2019-03-06 12:18:06,923 DEBUG [pool-1-thread-15] stencyl.sw.util.Util: Process 'haxelib.exe' exited with code: 1
2019-03-06 12:18:06,924 ERROR [pool-1-thread-15] stencyl.sw.app.tasks.buildgame.GameBuilder: Failed: Running Android. (Return code: 1)
2019-03-06 12:18:06,924 ERROR [pool-1-thread-15] stencyl.sw.util.dg.MessageDialog: Encountered errors while building your game.: Check your logs and post them to the forums.  - Please describe what you have been doing. Be as specific as possible.

6
Ask a Question / Re: Android doesn't compile
« on: March 05, 2019, 03:32:41 pm »
Don't touch stencylworks.
Ok, thanks!

7
Ask a Question / Re: Android doesn't compile
« on: March 05, 2019, 03:23:43 pm »
I recently found out that this error can be caused by installing Stencyl over an existing install which you should never do.  Always install new Stencyl versions into an empty folder (clean install).
(Hm, I might have this problem as well now, I'm just going from 3.5 to 4.0... ) Do I also need to delete the stencylworks-folder to have a 'clean install of Stencyl', or should I avoid deleting the stencylworks-folder?  I know have all my games in that stencylworks folder and I have made an backup of the games, but there is also all extensions, old preferences e.t.c.  Shall I remove everything  there except my games?  :-\

8
iPhone / iPad / Android / Re: Rowdy Wrestling
« on: September 06, 2018, 02:40:52 am »
Grattis!  :-)

9
I finally got Stencyl 3.5 to compile my project to Android Nougat but I then had this error:
Code: [Select]
Share.hx  : Type not found : openfl.utils.JNI So I tried my self to temporarily change all "openfl.utils.JNI" to "lime.system.JNI" in Share.hx and then it compiled fine.

However I still can't share an image with this extension on Android Nougat. First I got an question if I would allow my app to save on the device memory(Some progress!) and I choose "Yes", after that I still keep having the same "Permission denied for attachment" and no image?

10
Ask a Question / Re: How to make scrolling text?
« on: August 17, 2017, 02:36:26 pm »
That draw code will run once for each frame, over and over again, so you can't do it that way.
Draw only one string instead, and from another place in your code(Not from draw or always) change that string by adding an character to it every second or when needed. Like this:

H
He
Hel
Hell
Hello
Hello!

Play a sound when you add a letter, and it will sound like an old typewriter ;-)

11
I have a new mobile with Android 7.1 (Nougat) and on that device I can't share images to any app or service other than  to Google Drive? So if I for example try to share an image to Gmail I get the message "Permission denied for attachment" and no image.

Does the extension work with Nougat, is it tested? Can I do something about this? Trying to use  "API 25 - 7.1(Nougat)" in Stencyl 3.4 is unfortunately not an option: http://community.stencyl.com/index.php/topic,51933.0.html

12
I cant share images with mobile MMS,  my phone says that the image is to big to attach to the message and then that the image can't be scaled down and then it fails. The text is sent though. The image is 353kb and is 526 x 320 pixels large, not so very big i think? But I then manage to  share an image that only was 220kb with MMS. So if we had the option to save it as a JPG then the file could get small enough, since now the image always saves as an PNG, is there any flag I can set to share/save as an JPG?

13
Thanks for a great extension!

14
Ask a Question / Re: Best way to save a separate file?
« on: May 27, 2017, 05:32:22 am »
Yes I know about that extension but I got to be able to dele files as well. However I got my own code working now.  8) Just need to test on iOS as well. Thanks for your help Yoplalala!

15
Ask a Question / Re: Best way to save a separate file?
« on: May 25, 2017, 04:18:31 pm »
I just understod that I have to save and load using the dir: "/data/data/com.your.packagename/" on Android.
So I got it working a bit on Android now, no crash. Yay.   :)
Code: [Select]
sys.io.File.read("/data/data/com.your.packagename/test.txt", false);I have read that the dir should be "/Documents/" on iOS, and I'll try that later but does anyone know if it's right?

Pages: 1 2 3 ... 5