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

Pages: 1 2 3 4
1
Hey Robin,

I'm having a similar issue, in that I can't get the UnityAds extension to work. I'm currently on build 10562 on Mac OS Catalina. Whenever I try to build to Android, I get the following error.

Quote
stencyl.sw.util.StreamGobbler   [haxelib] AAPT2 aapt2-3.5.1-5435860-osx Daemon #3: shutdown
stencyl.sw.util.StreamGobbler   [haxelib] AAPT2 aapt2-3.5.1-5435860-osx Daemon #2: shutdown
stencyl.sw.util.StreamGobbler   [haxelib] AAPT2 aapt2-3.5.1-5435860-osx Daemon #1: shutdown

I tried the solution posted above, by doing the following steps:

Quote
1- go to engine-extension folder
2- Open [EXTENSON_NAME]/dependencies/build.gradle
3- Replace:

repositories {
      maven {
                url "http://repo1.maven.org/maven2/"
      }
}
With:

repositories {
      jcenter()
      google()
}

But the version of the extension I have already has that in the build.gradle file. Any idea what the issue could be?

2
Ask a Question / Re: Can't build to Android, version b10557 Mac
« on: June 23, 2020, 04:05:52 pm »
As a follow up to this, I worked with Justin, one of the engine devs, who found the issue to be the plaf\haxe\extensions\ads folder to have several outdated/incorrect URLs in there. As such, I downloaded the 4.0.2 public release to replace that folder, and am now receiving the following error.

3
Ask a Question / Can't build to Android, version b10557 Mac
« on: June 22, 2020, 06:14:30 pm »
I haven't been able to build to Android at all in the new build. I was originally getting an error indicating that the game was trying to build to HTTP instead of HTTPS (which I'm told was apparently an earlier issue), so I went into literally every single build.gradle file in my computer, and replaced anything that was http with https. After doing so, I am still getting the following error (see log-2020-06-18_4.zip).

Thinking that maybe it was an error with an extension, I even tried going into an older game I've already successfully built to Android, and I got the exact same error (see MA_log-2020-06-19.zip).

I brought it up on the Stencyl discord several times, but it seems to be a difficult enough thing to fix that I figure it's best to have a dedicated forum post for it.

4
Ask a Question / Re: Generating Android Certificates on Mac not working?
« on: September 15, 2019, 08:11:08 am »
I've discovered the issue - in the "Create a Certificate" prompt, I was adding my company name with a comma. For whatever reason, this was causing the certificate to not be generated correctly. After changing the company name to not include the comma, it created the certificate and I was able to link it.

5
Ask a Question / Generating Android Certificates on Mac not working?
« on: September 12, 2019, 09:06:34 am »
I'm working on trying to make my app for Android, but when I try to make the certificates for it, it doesn't seem to work. It says it's generating the certificate, but it's generating it to /Users/alex/stencylworks/android-sdk//stencyl.keystore, which is not a real address, and there is no file anywhere in there.

I have my android NDK, SDK, and JDK setup as follows.



What am I doing wrong? Where can I find the certificate? I've also attached my log for the most recent build attempt.

6
Ask a Question / Re: Drawing an Ellipse, can Custom Blocks help?
« on: August 01, 2017, 02:11:33 pm »
Well that was way easier. Awesome! Thank you so much!

7
Ask a Question / Drawing an Ellipse, can Custom Blocks help?
« on: August 01, 2017, 01:33:28 pm »
I'm working on a space game with orbits that are best represented as ovals, but drawing ovals is not a block built into the Stencyl drawing section. I'm only loosely familiar with Haxe, but I saw that there is a graphics.drawEllipse as seen here:
 http://api.haxe.org/flash/display/Graphics.html#drawEllipse.

Is there any way I can take advantage of this? Can I use a custom block to draw an ellipse, or will I need to make an engine extension in order to do this? I've tried drawing ovals using the draw polygon feature, but it makes very bulky ovals without adding a ton of points.

Can anyone help?

8
Resolved Questions / Re: After updating Stencyl, no projects compile at all
« on: September 30, 2015, 06:39:25 pm »
That fixed it, thank you so much!

9
Resolved Questions / After updating Stencyl, no projects compile at all
« on: September 30, 2015, 06:30:55 pm »
I just upgraded Stencyl to the newest version (the version released Sept 24th, 2015 at the top of the page). After updating, I can no longer run any of my games and just get this error. I tried cleaning the project, restarting, and running projects updating them to 3.4 format. I even tried making a new project, and even that won't compile. I am on 64-bit Windows 7 SP 1, 8 gig ram.

10
Ask a Question / Re: How can i add score for every time actor dies
« on: July 30, 2015, 03:48:13 pm »
You could probably use a global variable number, and just add 1 to it whenever that actor dies. That would keep the number constant despite whatever actors do or don't die.

11
Ooooooooohhhh... Right... I got it now :P That is definitely different from the last time I used backgrounds; I was changing the settings in the actual BG, not in the scene the BG was in. Thank you so much! I really appreciate you putting up with my ignorance, haha.

12
I've included a .gif of what is happening to clarify what I'm talking about. As you can see, as I move around the scene... the background stays stuck where it is. The gray, green and yellow blocks are tiles, and the black lines are (part of) the background.

http://i.imgur.com/Ri8wLFW.gif

13
Is your screen scrolling? I haven't got access to Stencyl to check, but I believe there is scroll speed and scroll factor. If you set scroll factor to 1 it will achieve what you want (if I remember correctly)

No, the screen doesn't need to automatically scroll, I just want the background to move when I do. If I set the scroll factor to 1, it automatically moves the background regardless of my characters movement.

14
Ask a Question / Re: Prevent Background from pausing? -HELP
« on: July 30, 2015, 10:20:52 am »
I don't believe it is without needing to change the code. You may be better off creating your own "pause", by means of a global variable. Then, you can have only the specific actors you want paused.

15
You must set the backgrounds scroll factor to 1 rather than the 0 I presume it is. What merrak meant by only using 1x was to disable the rest of the scales in the settings. When you import something only using 1x then Stencyl generates images for all the other game resolutions you have in your settings.

Stencyl is generating that 11520 x 3840 image while you import the one your size.

Oh, I see... Interesting! I'll be certain to change that when I get home.

However, I still have the background issue. I should clarify, what I want is for the background to just be stuck to the scene so when I move my character around the scene, the background moves along with the scene itself. As of right now, when I start the game, the top left corner of the background attaches itself to the camera, and stays there as I move. As a result, although my character is moving over the terrain I've made, the background stays totally static to the camera.  Am I missing something, or is this a bug? I have nothing else in my scene besides the background and my character; do I need to add in some tiles to anchor the background or something?

Pages: 1 2 3 4