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 4 5 ... 7
Ask a Question / Re: Installing Stencyl on Ubuntu
« on: June 20, 2014, 04:33:35 am »
You were not suppose to follow the steps in the movie per se, because it explains installation of old version of Stencyl on different, older version of Ubuntu. 
It was just in case you totally have no idea what to do in Ubuntu, what to open where and how - visual aid how to handle Ubuntu OS. Also maybe to give you some clues.

The real guide is
If you did everything from there, it probably should work.

OK, but lets try to get more info from you.
When you try to run the Stencyl from the terminal (you should always try to do that when having problems  running something on Linux), then what happens next? What are the messages/information displayed ?

Anyway, I will probably try to install your version of Ubuntu this weekend and try to install Stencyl on it, making notes step by step, so you and other Ubuntu users will have a better guide for the future.

Ask a Question / Re: Installing Stencyl on Ubuntu
« on: June 19, 2014, 07:30:27 pm »
Welcome to Ubuntu Linux and Stencyl.
I am not sure about 14.04 (I guess it should work), but my 12.04 LTS 64-bit works great and I have no problems testing my games on android devices whatsoever.

To get help, I am afraid you have to be more specific to describe what is wrong and what you have already done.
Start your Stencyl adventure from,12.0.html especially 'Be specific' part.
Are you sure you did everything from that link?
Maybe also check this
It shows the process of installing previous version of Stencyl on Ubuntu 12.10, so it might provide some visual aid if you are not really sure what your are doing in Ubuntu.
I will watch this post and will try to help you later if you still have problems.

Ask a Question / Re: Is Box2D poorly implemented in Stencyl?
« on: June 19, 2014, 04:03:21 pm »
It may not be even box2D fault.
As far as I know, STARLING - (the engine Rovio originally created Angry Birds on for Flash) is not specially tailored towards mobile devices. It aims to be multiplatform, desktop as well as mobile, like Stencyl aims right now, but... In the manual it says, that Starling is "pure ActionScript 3 library for Adobe Flash. It recreates Flash's display list architecture on the GPU — providing a great performance even on mobile platforms, like iOS and Android."

Maybe I am wrong, but I guess that GPU plays a big part in the 50 more boxes Rovio could put and collide with in the scene.

Starling uses simplified BSD Licence, so I guess it would not be impossible for Stencyl's devs to use it, right? Just my $0.02.

Ask a Question / Re: Does Stencyl make use of GPU acceleration?
« on: June 19, 2014, 12:07:16 pm »
I think Stencyl does not use GPU acceleration, yet.
For the slowing down game I would recommend short reading first:
From my short experience with stencyl I may say, that performance penalty is great if you do not kill actors that go off-screen.

Also, I believe, that posting stencyl files the way you did is not a proper way to let people check your code or gameplay problems. People may be scared to download cause of viruses etc. . I believe there is a Publish/Stencyl/Arcade menu for sharing projects with the community and looking for feedback and help.
Check 'Publish to the Stencyl Arcade' part.

Ask a Question / Re: Sound type 'music' playback problem.
« on: June 18, 2014, 04:19:29 pm »
Thx. Trying quality reduction now.

Ask a Question / Sound type 'music' playback problem.
« on: June 18, 2014, 03:58:33 pm »
Today I tried to run my test game on the low end android device: 800MHz single core ARM CPU, 512 Mb RAM, Android version 2.3.6 phone.
In Game Settings/Mobile both Android Minimal and Target Version were set to API 9 - 2.3 Gingerbread. I also tried API 10 - 2.3 Gingerbread. The same result.
Everything went unexpectedly smooth accept sound playback. The test game plays only 1 audio file at a time. The file is 44100 Hz, 160 kbit, 2 Mb OGG imported as 'music type = MUSIC'.
The playback was muffled, not playing steady, stuttering, etc.. Generally speaking lots of audible problems.
When I changed the music type to SOUND EFFECT, loading the test game took significantly longer
([LOG] I/trace (20970): Sound.hx:54: Loading sound: 10 took some time), but the music playback was 100% correct.
I use Stencyl 3.1 - free version, yet.
I did not see this problem on faster android devices I used for tests.

Is there a way to correct the streaming problem in Stencyl? Something like a small buffer for sound (when music is streamed on slower devices) should help.
Or should I get ready to fill a bug report?

Ask a Question / Re: Display brightness manipulation.
« on: June 18, 2014, 03:21:40 pm »
Well, the idea of the 'game' is to let it change the display brightness, so the user would expect it when running the 'game'.
No worry. I am not a 'let me control your phone and I will call the World for ya' type of guy.
Your previous answer seriously pushed my into right direction:

I mean it looks a little intimidating at first, but I can be patient.

Thx again.

Ask a Question / Re: Display brightness manipulation.
« on: June 18, 2014, 12:26:35 pm »
Thank you very much dripple.
It looks like it is a time to invest a little bit into embracing that cryptic 'writing programs' thing we all non-programmers read about on the Internet :)

Ask a Question / Re: Display brightness manipulation.
« on: June 18, 2014, 11:04:24 am »

I know this question is more of a "how to tap into a OS functions" general nature, but could any experienced programmer give me an answer if it is possible from Stencyl or probably haxe code, or not at all, please?

I am not an expert here, just a learning noob, but have you try to base your IF statement on something else than checking number of actors within the layer?
Maybe boolean with 'attached = true' or false would work better?

I also noticed that you only use IF and nothing else.
I would construct it using
to let the 'Enable behavior Attach to Mouse for Self'...
code know, that it should run only if 'IF' evaluates to false.

But I am not sure it helps.

Probably in a few hours experienced Stencylers will help you more.

Care to share it?

Ask a Question / Re: Is there a way to center a background?
« on: June 17, 2014, 05:27:03 pm »
Probably not.
I would use a background as an actor. I would also add that background actor to Doodads group for no interaction with other actors + set physics to minimal or simple.

I just put something like that (look at attached png) and it works like a charm.
Is is a scene event.

If I got right what you need to do, to change a look of a player you can for example use different animation.

I see it is your first post, so welcome to Stencyl.
Before starting with your own games I would recommend to check the tutorials first and look around Stencylpedia. It always helps me a lot.

Ask a Question / Display brightness manipulation.
« on: June 17, 2014, 03:54:04 pm »
Is there a way in Stencyl to manipulate display brightness on mobile OS's (android/iOS)?

Pages: 1 2 3 4 5 ... 7