Stencyl 3.4.0 is now out. Get it now!

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

Pages: 1 2 3 ... 8
1
Ask a Question / Re: Admob Interstitial Ads
« on: December 28, 2017, 03:23:51 pm »
Thanks for the pointers.

@capitanox,

can i ask what version of stencyl are you using?

2
Ask a Question / Admob Interstitial Ads
« on: December 26, 2017, 08:43:20 am »
Hi,

I'm trying to setup interstitial ads and for the life of me, I can't figure out what I'm doing wrong.

1) In settings -> monetization I have "admob ads" enabled and "test ads" enabled.
2) Under Interstitial key I have entered the admob key "CA-APP-PUB-X/X".
3) In the loading scene of my project I have the block "Initialize admob ads with APP ID CA-APP-PUB-X~X"
4) In the gameplay scene, when it is created, I have the block "load admob fullscreen ad"
5) I have an event to go off after 30 seconds "show admob fullscreen ad" but nothing shows.

Am I doing something wrong?

Thank you for any help!



3
Ask a Question / Android APP ID - APK Error
« on: December 16, 2017, 08:01:48 am »
Hi,

I'm trying to upload a package to the play store, but when I upload the APK I get an error:

"Upload failed
You need to use a different package name because "com.example" is restricted."


Under "settings -> mobile -> app id" i have a proper APP ID entered.

I  have also opened the androidmanifest.xml file to check what is in there, and it is "com.example.myapp". I have edited the XML file and added in the proper app id. After re-compiling, the problem with the APK file persists and the XML file reverts back to "com.example.myapp".

(the Androidmanifest.xml file i found in AppData\Roaming\Stencyl\stencylworks\games-generated\giftmas\Export\android\bin\app\src\main)

I have also tried cleaning the project.

Any ideas?

Thanks.

4
Ask a Question / Mobile Joystick Sample
« on: December 11, 2017, 08:31:41 am »
Hi,

Anybody have any sample for a mobile joystick using the stencyl built in one?

Thanks.

5
Ask a Question / Re: Moving platform does not push player with it
« on: November 22, 2017, 12:11:22 pm »
There used to be a behaviour on Stencyl Forge called Ride Platform, maybe it is still available.

I used this in the past and it worked fine. I just checked and its still there.

6
Journals / Re: When I was a Kid - Journal
« on: November 22, 2017, 12:09:32 pm »
Looks interesting.

For the platforms, theres an inbuilt behavior "follow path" that you can use to set what path you want a platform to follow.

There is also on on StencylForge (the icon in the Stencyl toolbar) a "Ride Platforms" behavior.

I used these both in the past and they worked fine.

7
Ask a Question / Re: [SOLVED] set x on screen
« on: November 22, 2017, 10:48:35 am »
I couldn't get it to work that way, so I used the anchor to screen. It's still not working perfectly (offset by about 15 pixels on some scales), but close enough.

Thanks for the help, completely forgot about anchor :)

8
Ask a Question / Re: set x on screen
« on: November 22, 2017, 09:41:58 am »
Hi Colburt,

I've tried that. It's placing it to 320 in the scene and not 320 on the screen. I'm guessing something is just not working right here.

Is there any other way to achieve the alignment to right?

9
Ask a Question / Re: set x on screen
« on: November 22, 2017, 08:20:44 am »


The code.



The large white outline just to the right of camera center. (The black box is just a placeholder showing where camera center is).

I have other actors set to use the exact same code but use "set  y onscreen" instead of "set  x onscreen" and they work fine.

10
Ask a Question / [SOLVED] set x on screen
« on: November 21, 2017, 01:36:04 pm »
Hi,

I'm trying to set an actor to the right hand side of the screen.

I'm using :

set (X on screen) to (screen width) - (width of actor) for (actor)

However, its not setting it to the right hand side of screen, but rather to the camera center.

screen width is indeed returning the correct screen width (320px). I used  "draw (screen width)" to confirm that the output was correct.

Am i doing something wrong here? Is there another way to do this?

thanks.

11
Ask a Question / Re: Long compile times
« on: November 19, 2017, 12:54:21 am »
Terrain+tiles are broken in the latest nightly build.

i.e.
Square terrain do not maintain their x,y position in a scene, they all move to the top left of the screen/scene.
Polygonal terrain maintains their x,y position, but they do not maintain their shape. i.e some sides of the shape are missing.
Circular terrain seems fine.

A row of about 10 square tiles in a row, they all merge into a  single block on compile, with the exception that the first tile is a merged as a triangle instead of a square.



In the latest stable build (9300) the above is not an issue and terrain/tiles work properly.



12
Ask a Question / Re: Long compile times
« on: November 18, 2017, 11:51:27 am »
Okay,

On the latest stable build IOS simulators do not show up. I'm guessing this is some kind of compatability issue with the latest xcode.

On the latest nightly build, IOS simulators work fine, however each compile/re-compile takes 15 to 20 minutes (even when there are no changes in the project, ie an empty project file with a blank scene).

Compile to MAC work as normal (under a minute after the 1st compile)

13
Ask a Question / Re: Long compile times
« on: November 18, 2017, 06:58:34 am »
As I've been struggling two weeks to get stencyl to work properly, i decided to format my mac today. Clean install of the OS, Java, Stencyl, Xcode, Xcode simulator components.

And after that, still having the same issue. No simulators are showing up to test with.

14
Ask a Question / Re: Long compile times
« on: November 17, 2017, 02:32:39 pm »
I decided to do a reinstall of Stencyl/xcode etc to help with this issue (and others, i.e. non-working physics, randomly on compiles telling me SDK is not found, etc). Everything works fine now, compiles are normal, physics are working, various random errors have all disappeared. The only issue now is that I can not see any "IOS Simulators" options in Stencyl.

"IOS Simulators" is there in the dropdown menu, with an error pointing to the side where you would choose the version, but no options in the submenu.

Compile to MAC, CPPIA, export to IOS all seem to work fine, just no simulator options.

In xcode the simulator v11.1 under "Xcode->open developer tool->simulator" opens and runs fine.

Any ideas?

15
Ask a Question / Long compile times
« on: November 15, 2017, 10:10:33 am »
Hi,

I updated on my mac stencyl, xcode and my OS version to the newest versions.

Now everytime I compile it always takes a very long time (5 to 15 minutes). It used to be first compile took long, and then after that every compile was a minute or so -- now every compile is 5 to 15 minutes.

Any ideas?

Thank you!

Pages: 1 2 3 ... 8