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

Pages: 1
1
Fixed Bugs (3.x) / Problem opening 3.1 in 3.3.1
« on: June 19, 2015, 04:43:04 pm »
Hi guys, after some time I decided to download 3.3.1, my game was fully functional on 3.1, but now when I try to open it I get:
Ouch, this should not have happened! Please generate your logs and post them to the forum.

So attached is the log, I cannot run it in flash, because this is the error:
http://pastebin.com/bhGDFaUk

And running it on android is not working either, the app just closes after opening.

Any idea how to solve this one?

Thanks in advance :)

2
Fixed Bugs (3.x) / VisitURL freezing app when lost internet connection
« on: October 08, 2014, 08:44:55 am »
This is for mobile only, I tried it on Android 4.4.4 and Android 4.1 . Works well in flash

If there's a block that visits a url, and there is no connection, it freezes the app for about 2-5 mins.

The situation: I just need to sync the highest score a player has to my server. I don't need to sync, is not mandatory for the game to run, I just need that once the game is launched, it tries to upload the score, but if there is no internet connection just run anyways.

I built a simplified version of what I need, with a visit url that fetches a random number from here:
http://leonardogallardo.com/game/response.php







If I turn on internet, it works great. If i turn off internet, it freezes for like 2 minutes before switching to the 2nd scene.

Im attaching the test game, remember it's for mobile (I tried it on a Moto G running 4.4.4)

PS: I tried posting this issue on "Ask a question" but now that I think I tried every solution possible, I truly believe it's a bug.


3
Fixed Bugs (3.x) / Problem visiting url without connection
« on: October 03, 2014, 05:30:01 pm »
Hi guys!

Im running into some troubles (and truly frustrated). I'm building a game for android and iOS (not flash)

I'm almost done with my game, I just need to sync the highest score a player has to my server, and found out that visiturl without connection makes the game freeze for around 2 minutes and then starts once it realizes there is no connection.

To sum up, I don't need to sync, is not mandatory for the game to run, I just need that once the game is launched, it tries to upload the score, but if there is no internet connection just run anyways.

I built a simplified version of what I need, with a visit url that fetches a random number from here:
http://leonardogallardo.com/game/response.php
(it's just to test my point)







Is there a way to check the connection and then do the visiturl?

If I turn on internet, it works great. If i turn off internet, it freezes for like 2 minutes before switching to the 2nd scene.

Im attaching the test game, remember it's for mobile (I tried it on a Moto G running 4.4.4)

Thanks in advance

4
Bug Archives / Errors when compiling for Android
« on: September 16, 2014, 08:34:46 pm »
So this hopefully will help someone that is struggling with the compiling of a game in stencyl.

This solution is not science, and probably it's not a solution for ALL the errors out there.. but it's an error that I faced myself when trying to compile my game:

Despite the fact that there's a tutorial already done for installing stencyl correctly, I'm leaving the direct link to the java 6.31 that most people (included me) had troubles finding.
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html

Second of all (and this is why this post is under BUGS) is:
DO NOT USE STENCYL OUT OF THE BOX IF YOUR WINDOWS USER NAME HAS NON-ENGLISH CHARACTERS OR SPACES!
I had 2 exact computers, the installer was the same, java was the same, the usb drivers were the same, yet whenever I tried to compile in one of them, I got all kind of errors for "file not found". One of them was named "Diseñador"
In my case (I'm from Argentina, so "Ñ" is a completely normal character), that was my problem.

In order to solve this, just change the "Workspace Folder".
You'll need to close all the games before). Then go to File --> Preferences

and change the workspace to something that has:
* NO SPACES
* NO SPECIAL CHARACTERS

And boom! Compiling problems solved (at least the kind of problems referred to a "file not found".

Hope this solves someone's issues.

Cheers :)

5
Hi guys, is there a way to get device info like OS, version, screen size and resolution, I'd like to implement a user feedback feature using either email or webview, and for any of those options I need to send  the specs of the device as a GET variable, so the user doesn't have to fill those.

Is there a way to accomplish this?

6
Resolved Questions / Make a character jump when click on a region (Resolved)
« on: September 06, 2014, 10:38:18 pm »
Guys, I need your help, I have the following situation:
I need my character to jump whenever I touch everything except the top part of the screen (because that's where all the config buttons and the ads will go)

At first (when I didnt have the buttons), i did this, that worked like beautifully:


Then i decided to create a region for the "clickeable" area, and create and event that only worked on that particular region...


It seemed to work perfectly on paper, but in reality.. it doesn't...

The part of the jump works when I click for the first time
The part where it changes the variable, doesn't... until the 2nd click..
That's causing my character to double jump until it gets the "is_jumping" set to true


A link to the swf (I also attached it) http://www.swfcabin.com/open/1410065162

I'm also attaching the project file in case someone needs it.

The first actor (the one on the left) works well, but it still jumps if I click on the top of the screen.

The actor on the right double jumps and I have no idea why... My logic says that if the actor DOES jump, it should change the value of the variable... since they're inside the same IF statement, but they dont...

Please, help?

7
Resolved Questions / Best way to save your games (android - ios) (Resolved)
« on: September 03, 2014, 06:09:01 pm »
I'm (hopefully) on the last stages of my first game, and I was wondering what's the best way to save a game that is going to be updated with new levels every month...

I need to save a few game attributes, 1 per each level, so it can keep track of solved levels, but how do I keep those game attributes saved when the user updates the game to a newer version?

Thanks in advance :)

8
Hi guys,

I'm building my first game, and for the level selection scene, i followed this:
http://www.emanueleferonato.com/2011/12/13/create-awesome-flash-games-in-no-time-with-stencylworks-selecting-levels/
It works like a charm, but I need to add a 2nd text box, that prints the number of retries the user has for that particular level.

The behaviour looks like this:


Apparently, in older versions of stencyl it was possible to customize an actor's behaviour with a game attribute, but it's not possible now.

I have a Game Attribute for each level called: game_level_01_deaths, game_level_02_deaths, and so on, and instead of the classic "3 stars" score, I'd like to display that variable.

What would be the approach to accomplish this?


Thanks in advance :)

9
I'm creating my first game, and it's a level based game, with releases of new levels every 15 days...

That being said, I'd like to know what's more "correct" or more scalable and resources friendly, the scenario is the following:

In all of my levels, there are going to be only 1 or 2 backgrounds, but the actors involved are always the same, so
Option 1 - should I create a unique scene with different "Create event" for each level, with its own game attributes
or
Option 2 - should I create a different scene for each level, with only one "Create event"

My question is not only for scalability but also for resources management.

Thanks in advance :)

10
AdMob / Proper way to set up Ads with AdMob
« on: August 22, 2014, 04:22:59 pm »
I have a question about the proper display of adds. What would be the logic for initializing only once the ad and the hiding it and displaying it if I have several scenes (which are my levels)
Where do I have to "initialize" the ad, on the first scene? On every scene? Only on the menu scene and then simply "show" it or "hide" it in every scene?
Thanks in advance

PS: I tried downloading the "Extension Test.stencyl", but failed to import it, it never shows up on my game list.

Pages: 1