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.


Topics - isographer

Pages: 1
1
Old Bugs (3.x) / Music is too big
« on: April 24, 2014, 08:18:44 am »
Hello,

I am experimenting with a mobile game that involves having 5 soundtracks.  I have converted them to OGG format (which truth be told is not the most space efficient format in the world) and ended up with file sizes ranging in between 1.6-1.8 Mbs.  I have imported them into my game and ended up with an apk of 26Mbs . 
Just as an experiment I have deleted all my music and re-exported the game as an APK -> the resulting APK had 5 mbs.
Does anybody know why the music makes the apk so big ?  Clearly the difference is more than the sum of the ogg files counted together.

Thanks in advance.

2
Ask a Question / My apk is too big
« on: March 05, 2014, 10:20:51 am »
Hello,
I am trying to hone my skills in making a multi level stencyl game. My game has one "intro" or mainpage + 14 levels.  All of them are separate scenes.  My game's size is 800x480 px (same as my Android device).
As backgrounds, I have chosen 15 different pictures/images, each 800x480 px. in size roughly apox.   200-270kb each, one picture for each level.

When exporting my game as an apk i get a very large apk file,  142 Mb in size, obviously too big to be used on mobile devices.

Exporting my game as a flash/swf I get a much more decent size, 7.45 Mb.

Does anybody know why my apk is so large (clearly is way larger than the sum of the jpeg files combined) and how can I shrink it down to size without losing the backgrounds or any visible photo quality from them?

Thanks in advance.

3
Old Bugs (3.x) / Game freezes in Android, plays good in flash player
« on: March 03, 2014, 11:33:36 am »
Hello,
I am building a mock-up for a future game i have in mind.
Right now it's only with sticks and a white background, as I am testing the generation of some elements that my player will navigate through.
Although what I have don so far plays as expected in Flash player it does not run good on Android - meaning that the game will freeze in less than two seconds.



Here is the log from one of the sessions in android and attached to this post is the main code of the scene:

(the ideea is to create a series of lines (for the moment, they will be replaced with much better designed obstacles later on) running from the left to the right of the screen using some random no. generation functions.  There are 2 types of "lines"  (red and black ) representig the two types of obstacles .



[LOG] Running command: TRACE
[LOG]  - Changing directory: C:\Users\Laurentiu\AppData\Roaming\Stencyl\stencylworks\android-sdk/android-sdk-windows//platform-tools/
[LOG]  - Running command: adb.exe logcat -c
[LOG]  - Changing directory: C:\Users\Laurentiu\AppData\Roaming\Stencyl\stencylworks\android-sdk/android-sdk-windows//platform-tools/
[LOG]  - Running command: adb.exe logcat
[LOG] --------- beginning of /dev/log/main
[LOG] --------- beginning of /dev/log/system
[LOG] I/trace   (32381): Universal.hx:162: Stage Width: 800
[LOG] I/trace   (32381): Universal.hx:163: Stage Height: 480
[LOG] I/trace   (32381): Universal.hx:164: Screen Width: 800
[LOG] I/trace   (32381): Universal.hx:165: Screen Height: 480
[LOG] I/trace   (32381): Universal.hx:166: Screen DPI: 234.4615326
[LOG] I/trace   (32381): Universal.hx:197: Widescreen (Aspect Ratio > 1.5)
[LOG] I/trace   (32381): Universal.hx:162: Stage Width: 800
[LOG] I/trace   (32381): Universal.hx:163: Stage Height: 480
[LOG] I/trace   (32381): Universal.hx:164: Screen Width: 800
[LOG] I/trace   (32381): Universal.hx:165: Screen Height: 480
[LOG] I/trace   (32381): Universal.hx:166: Screen DPI: 234.4615326
[LOG] I/trace   (32381): Universal.hx:302: Theoretical Scale: 1
[LOG] I/trace   (32381): Universal.hx:314: Max Scale: 1
[LOG] I/trace   (32381): Universal.hx:315: Engine Scale: 1x
[LOG] I/trace   (32381): Universal.hx:381: 800
[LOG] I/trace   (32381): Universal.hx:382: 480
[LOG] I/trace   (32381): Universal.hx:383: true
[LOG] I/trace   (32381): Universal.hx:455: Algorithm: No Scaling (Integer Scaling)
[LOG] I/trace   (32381): Universal.hx:556: Scale X: 1
[LOG] I/trace   (32381): Universal.hx:557: Scale Y: 1
[LOG] I/trace   (32381): Universal.hx:197: Widescreen (Aspect Ratio > 1.5)
[LOG] I/trace   (32381): Universal.hx:302: Theoretical Scale: 1
[LOG] I/trace   (32381): Universal.hx:314: Max Scale: 1
[LOG] I/trace   (32381): Universal.hx:315: Engine Scale: 1x
[LOG] I/trace   (32381): Universal.hx:381: 800
[LOG] I/trace   (32381): Universal.hx:382: 480
[LOG] I/trace   (32381): Universal.hx:162: Stage Width: 800
[LOG] I/trace   (32381): Universal.hx:383: true
[LOG] I/trace   (32381): Universal.hx:455: Algorithm: No Scaling (Integer Scaling)
[LOG] I/trace   (32381): Universal.hx:556: Scale X: 1
[LOG] I/trace   (32381): Universal.hx:163: Stage Height: 480
[LOG] I/trace   (32381): Universal.hx:557: Scale Y: 1
[LOG] I/trace   (32381): Universal.hx:164: Screen Width: 800
[LOG] I/trace   (32381): Universal.hx:165: Screen Height: 480
[LOG] I/trace   (32381): Universal.hx:166: Screen DPI: 234.4615326
[LOG] I/trace   (32381): Purchases.hx:32: Purchases: Started
[LOG] I/trace   (32381): Purchases.hx:32: Purchases: Started
[LOG] I/trace   (32381): Universal.hx:197: Widescreen (Aspect Ratio > 1.5)
[LOG] I/trace   (32381): Universal.hx:302: Theoretical Scale: 1
[LOG] I/trace   (32381): Universal.hx:162: Stage Width: 800
[LOG] I/trace   (32381): Universal.hx:314: Max Scale: 1
[LOG] I/trace   (32381): Universal.hx:163: Stage Height: 480
[LOG] I/trace   (32381): Universal.hx:164: Screen Width: 800
[LOG] I/trace   (32381): Universal.hx:165: Screen Height: 480
[LOG] I/trace   (32381): Universal.hx:166: Screen DPI: 234.4615326
[LOG] I/trace   (32381): Universal.hx:315: Engine Scale: 1x
[LOG] I/trace   (32381): Universal.hx:197: Widescreen (Aspect Ratio > 1.5)
[LOG] I/trace   (32381): Universal.hx:381: 800
[LOG] I/trace   (32381): Universal.hx:302: Theoretical Scale: 1
[LOG] I/trace   (32381): Universal.hx:382: 480
[ERR] java.lang.NullPointerException
[LOG] I/trace   (32381): Universal.hx:314: Max Scale: 1
[LOG] I/trace   (32381): Universal.hx:383: true
[LOG] I/trace   (32381): Universal.hx:315: Engine Scale: 1x
[LOG] I/trace   (32381): Universal.hx:455: Algorithm: No Scaling (Integer Scaling)
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread AWT-EventQueue-0: null
[LOG] I/trace   (32381): Universal.hx:381: 800
[LOG] I/trace   (32381): Universal.hx:556: Scale X: 1
[LOG] I/trace   (32381): Universal.hx:382: 480
[LOG] I/trace   (32381): Universal.hx:557: Scale Y: 1
[LOG] I/trace   (32381): Universal.hx:383: true
[LOG] I/trace   (32381): Universal.hx:455: Algorithm: No Scaling (Integer Scaling)
[LOG] I/trace   (32381): Universal.hx:556: Scale X: 1
[LOG] I/trace   (32381): Universal.hx:557: Scale Y: 1
[LOG] I/trace   (32381): Universal.hx:162: Stage Width: 800
[LOG] I/trace   (32381): Purchases.hx:32: Purchases: Started
[LOG] I/trace   (32381): Universal.hx:163: Stage Height: 480
[LOG] I/trace   (32381): Universal.hx:164: Screen Width: 800
[LOG] I/trace   (32381): Universal.hx:165: Screen Height: 480
[LOG] I/trace   (32381): Universal.hx:166: Screen DPI: 234.4615326
[LOG] I/trace   (32381): Universal.hx:197: Widescreen (Aspect Ratio > 1.5)
[LOG] I/trace   (32381): Universal.hx:302: Theoretical Scale: 1
[LOG] I/trace   (32381): Universal.hx:162: Stage Width: 800
[LOG] I/trace   (32381): Universal.hx:314: Max Scale: 1
[LOG] I/trace   (32381): Universal.hx:163: Stage Height: 480
[LOG] I/trace   (32381): Universal.hx:164: Screen Width: 800
[LOG] I/trace   (32381): Universal.hx:165: Screen Height: 480
[LOG] I/trace   (32381): Universal.hx:315: Engine Scale: 1x
[LOG] I/trace   (32381): Purchases.hx:32: Purchases: Started
[LOG] I/trace   (32381): Universal.hx:166: Screen DPI: 234.4615326
[LOG] I/trace   (32381): Universal.hx:381: 800
[LOG] I/trace   (32381): Universal.hx:382: 480
[LOG] I/trace   (32381): Universal.hx:383: true
[LOG] I/trace   (32381): Universal.hx:197: Widescreen (Aspect Ratio > 1.5)
[LOG] I/trace   (32381): Universal.hx:455: Algorithm: No Scaling (Integer Scaling)
[LOG] I/trace   (32381): Universal.hx:302: Theoretical Scale: 1
[LOG] I/trace   (32381): Universal.hx:556: Scale X: 1
[LOG] I/trace   (32381): Universal.hx:314: Max Scale: 1
[LOG] I/trace   (32381): Universal.hx:557: Scale Y: 1
[LOG] I/trace   (32381): Universal.hx:315: Engine Scale: 1x
[LOG] I/trace   (32381): Universal.hx:381: 800
[LOG] I/trace   (32381): Universal.hx:382: 480
[LOG] I/trace   (32381): Universal.hx:383: true
[LOG] I/trace   (32381): Universal.hx:455: Algorithm: No Scaling (Integer Scaling)
[LOG] I/trace   (32381): Universal.hx:556: Scale X: 1
[LOG] I/trace   (32381): Universal.hx:557: Scale Y: 1
[LOG] I/trace   (32381): Purchases.hx:32: Purchases: Started
[LOG] I/trace   (32381): Purchases.hx:32: Purchases: Started

4
Ask a Question / About an "on-line" highs scores chart on Android ...
« on: February 26, 2014, 03:14:21 pm »
Hello everybody,

New Stencyl user here , needing some pointers.  Although I am starting to understand how stencyl works, the programming and every thing involved in creating a game and making all the players and elements work and interact with each other, there is one thing I am having a hard time finding about:  how to create an database of various user's highs scores ( I am talking about people playing the game on different devices), a database any user can consult at anytime from my game's main menu.

I am not looking for an "already made" answer to my question, but rather some pointers regarding what and where should I look for ...

Thanks a lot


Later edit:  i would appear I have started this topic in the wrong section. Sorry for the mistake.  Can an admin move it to the appropriate category ?  Thanks.

Pages: 1