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
Ask a Question / Re: Getting rid of actors from memory
« on: April 10, 2023, 08:03:20 am »
Are you adding things to a list somewhere in your game...? Maybe you forgot to clear old things and it just keeps growing...?

2
Ask a Question / Re: game not working
« on: February 02, 2023, 06:43:51 am »
max_string_size reached -> Could maybe be related to: Too large images or too long animations?
See: https://community.stencyl.com/index.php/topic,46374.0.html

So maybe the actor epiclvl1_question 1 (or an other Actor that epiclvl1_question 1 in some way refering to) has a too long/large animation?
And that's why it cannot be found correctly-> "Actor "epiclvl1_question 1" does not refrence an Actor Type: id = 146"

3
Ask a Question / Re: Get Pixel?
« on: June 18, 2022, 12:42:17 pm »
Thanks!

The download-link didn't worked... but I found an copy from 2017 on my harddrive, that I could use and it worked!

4
Ask a Question / Get Pixel?
« on: June 17, 2022, 01:17:29 pm »
Hello!

How can I get the separate R, G, B values from the 'Get Pixel Of '-block?
I'm now trying with just printing out its returned value as a string, but I get one number as 9932684. I don't know how to use that?
I guess that really is a HEX value, but still; ->what block or code can I use to extract the RGB values from that in Stencyl?

5
Ask a Question / Re: How do I create an If Statement with Lists?
« on: May 31, 2022, 05:38:30 am »
Not tested but this should work, it's the basic principle.

6
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

7
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.   

8
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?   

9
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! :)

10
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.

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

12
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?  :-\

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

14
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?

15
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 ;-)

Pages: 1 2 3 ... 5