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

Pages: 1 2 3 ... 7
1
I got it working. I just needed to install 32-bit version of the libstdc++6 library.
Somehow it is not installed after following official Stencyl's tutorial about installing Stencyl on Ubuntu Linux.
This is a command to fix it:
Quote
sudo apt-get install libstdc++6:i386

2
Hi everyone.
I have just installed new Stencil on a newly set Ubuntu 14.04 64-bit Linux system.
I copied to my new 'stencylworks' catalog all content of the old folders 'games' and 'games-generated', cause I wanted to continue to work on my projects.
I have installed the android-sdk and ndk and other tools using script provided in the 'android-sdk' folder.
I am able to compile and run my game as a flash in the player and in the browser.
When I try to compile the android version, console shows the problem:
Code: [Select]
...
2015-02-05 11:13:23,056 INFO  [Thread-51] stencyl.sw.util.StreamGobbler:      [echo] ----------
2015-02-05 11:13:23,057 INFO  [Thread-51] stencyl.sw.util.StreamGobbler:      [echo] Handling Resources...
2015-02-05 11:13:23,062 INFO  [Thread-51] stencyl.sw.util.StreamGobbler:      [aapt] Generating resource IDs...
2015-02-05 11:13:23,088 INFO  [Thread-51] stencyl.sw.util.StreamGobbler:      [aapt] /home/me/stencylworks/android-sdk/android-sdk-linux/build-tools/android-4.4/aapt: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
2015-02-05 11:13:23,105 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: BUILD FAILED
2015-02-05 11:13:23,106 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: /home/me/stencylworks/android-sdk/android-sdk-linux/tools/ant/build.xml:598: The following error occurred while executing this line:
2015-02-05 11:13:23,113 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: /home/me/stencylworks/android-sdk/android-sdk-linux/tools/ant/build.xml:650: The following error occurred while executing this line:
2015-02-05 11:13:23,113 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: /home/me/stencylworks/android-sdk/android-sdk-linux/tools/ant/build.xml:691: null returned: 127
2015-02-05 11:13:23,114 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: Total time: 1 second
2015-02-05 11:13:23,141 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: haxelib repository is now /home/me/Software/DEV/Stencyl-64-full/plaf/haxe/lib/
2015-02-05 11:13:23,143 INFO  [Util-CommandMonitor] stencyl.sw.io.write.resource.HXWriter: Finished building for Android.

Looks like I am stuck.

3
Yes, it can be installed easily. Stencyl 3 works great on Ubuntu.
If my instructions for user newpro will not be enough, maybe this video will help.
http://community.stencyl.com/index.php/topic,33713.msg191476.html#msg191476
It is a good tutorial. Something I planned to do, but now I don't have to.
I think admin could add it to video tutorials to help more people.

4
Ask a Question / Re: How can I make text move?
« on: July 10, 2014, 06:40:27 pm »
Maybe created your text in graphic program. Save it as transparent png.
Upload it to Stencyl as an actor (decide if you need it to use physics). Move the actor.

5
Ask a Question / Re: zipalign .apk file
« on: July 10, 2014, 06:34:10 pm »
I am not sure, but maybe this helps
https://developer.android.com/tools/help/zipalign.html

6
Would it not be a better to just try excellent Stencyl's tutorials first?
Learn a bit how it works and then step by step posses the skills to create your games.

http://www.stencyl.com/help/start/
http://www.stencyl.com/help/toc/
http://www.stencyl.com/help/tv/

and also very good video tutorials by sdieters:
http://community.stencyl.com/index.php/topic,32358.0.html

7
Ask a Question / Stencyl vs OpenFL.
« on: July 01, 2014, 06:51:54 pm »
I know that Stencyl is based on OpenFL, but I wander is the performance of both comparable?

8
Ask a Question / Re: Questions about Stencyl
« on: July 01, 2014, 06:39:32 pm »
After my short experience with Stencyl (mostly Linux and Android), I generally think that it may be a very good choice for some apps and games.
Performance on android is overall quite good. Much depends on how you program your application and what performance you expect. I mean, Stencyl exports games for android just fine. No delays like you described, but of course it all depends on the hardware you plan your game to run on. Some games that use sounds and for example play with transparency on actors or involve lots of collisions will works excellent on new Nexus 7 2013, but on a low-end phone with single core processor and 512 Mb RAM will play 3 fps with stuttered sound, and for example the sound problem is an OpenFL bug, so it might be corrected in the future.
Another thing that worries me is a size of the apk files. Google will not accept files above 50 MB and Stancyl does not support any kind of expansion files. In some cases 50MB might not be enough.
Just my $0.02.

9
Ask a Question / Re: 90% memory usage
« on: June 24, 2014, 05:50:33 am »

10
Ask a Question / Re: Android game not transfering
« on: June 24, 2014, 04:09:37 am »
Thank you for your explanation of the problem and giving us a solution.
To cut down the size of the game, for much better visual results you may try to optimize pngs and not convert it to jpgs. Converting png to jpg may cause visually noticeable quality downgrade.
Check there: http://community.stencyl.com/index.php/topic,32686.msg186607.html#msg186607

12
Ask a Question / Re: how to Get hurt by enemies ,please!
« on: June 23, 2014, 02:55:48 pm »
Also stop making cross-posting about the same problem, please. There is no need for that. You will get your answer as soon as some friendly people on this forum will have time and will be willing to help you, but first of all you need to try to resolve the problems and answer some basic questions yourself. Stencyl has an excellent documentation and extremely educative and easy to follow tutorials. Check the whole HELP section of the webpage.
Invest an hour or so and you will know a lot more, for example how to detect collisions.

13
Ask a Question / Re: how to Get hurt by enemies ,please!
« on: June 23, 2014, 02:35:41 pm »
At first I planned to write something about going to the bar and starting a fight with a bunch of guys bigger than you, but at the end I decided to put that link instead:
http://www.stencyl.com/help/start/

Go through Crash Course 1 and 2 and you will know how to do that.

14
Suggestion Archives / Feature request - expansion files - Android.
« on: June 22, 2014, 06:58:57 pm »
I just found out, that Stencyl have no a good way to deal with 50MB max file size restriction at Google Play.
http://developer.android.com/google/play/expansion-files.html
It can be a bad news for some developers.
It would be great to have support for expansion files in Stencyl. Encrypted one would be even greater.
Additionally, it would help to better protect game content (graphics and sounds) from easy extraction.

15
Ask a Question / Re: Stencyl question
« on: June 22, 2014, 04:28:29 pm »
Sometime my Stencyl program does not start on android device and I get the message in the middle of the android screen 'unfortunately application blah blah... etc.'
Sometimes I have to try to start it and quit it like 20 time before it runs.
I noticed that it happens less and less and probably is gone when I correct my bugs and logic problems, simple 'the code' with less blocks and generally clean it up.
Erasing not used elements (graphics for example) and compressing the graphics to take less memory also helps.
Someone said, that it happens in debugging version of apps, but should not happen in the version ready to be published (after buying the license I guess).
So, I guess don't worry, audit your code for bugs and try to make it simpler and cleaner.

Pages: 1 2 3 ... 7