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

Pages: 1 2
1
Ask a Question / Re: Loading Image Scale Problem
« on: December 03, 2015, 06:48:41 am »
Ah Thanks! Found it.

2
Ask a Question / Re: Loading Image Scale Problem
« on: December 03, 2015, 06:36:58 am »
Ah ok that sounds like a plan!  Can you tell me where the block is that tells you current scale?  I can't find it.

Thanks

3
Ask a Question / Loading Image Scale Problem
« on: December 03, 2015, 03:01:10 am »
Hi,

I loaded an image from my server into a scene and attached it to the screen at x50 y50.  I used the "load image from URL" block to load it, and then "attach instance of image to screen" block to attach it.  It worked fine,  but when testing on a few different Android devices, it seems to be scaling it differently on different devices.  On my nexus 7, it scaled it as if I had imported it with 2X, but on a different Android it was half the size on the screen as if I had imported it as 4X.

Any ideas why that happened as I can't see any options to set what scale it imports an image with on the "load image from URL" block?

Thanks in advance!

4
Ask a Question / Resource bundle in framework not copied to IOS app.
« on: December 01, 2015, 02:32:22 am »
Hi,
I have created a Stencyl IOS extension for the Tapjoy SDK. The blocks are calling the SDK functions successfully and everything is almost working, however, the SDK framework contains a resource bundle (a handful of Javascript files) which are not being copied to the final app or copied to the wrong folder structure.

Has anyone had any experience of extensions containing additional resource bundles and how to get them into the final app?

Any other pointers?


5
Ask a Question / Re: load image from URL
« on: November 02, 2015, 03:45:40 am »
When testing on stencyl locally it says SecurityError 2122:

SecurityError: Error #2122: Security sandbox violation: LoaderInfo.content: file:///Users/paul/stencylworks/games-generated/Game/Export/flash/bin/Game.swf cannot access http://thumbs.gamenet.com/image.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
   at flash.display::LoaderInfo/get content()
   at MethodInfo-2024()[/Users/paul/Desktop/Technology/Development/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:2307]

When I publish the swf file and upload it on funkydoo.co.uk, it runs but doesn't load the image or give any errors (just a blank screen) so I guess it's the same error?  I published to android and it works fine, so i'm loading the image correctly - just want to try and get it working in flash if possible!.

Flash swfs often get hosted on lots of external sites and blogs though, so I obviously can't put crossdomain.xml on all of those sites..

Thanks in advance!

6
Ask a Question / Re: load image from URL
« on: November 02, 2015, 03:24:19 am »
Hi - I'm having the security problem.  Trying to make a swf on one of my servers (http://www.funkydoo.co.uk) load an image from another of my servers (http://www.gamenet.com)  I have a crossdomain.xml file on http://www.gamenet.com, so I thought the swf on funkydoo.co.uk would be able to access an image?

ME - are you suggesting that this is impossible?  That flash won't allow a swf on external sites (which normally happens) to load an image from my site? Even if I have an open crossdomain.xml?

7
Ask a Question / Simple Physics
« on: October 06, 2015, 03:29:03 pm »
Hi Guys.  I'm guessing this is a very simple one, but i've been trying for hours now, so thought I'd ask.

I have the need for a very simple collision detection between two actors in my game, but I don't need any physical interactions between those actors. So, I set my project to Simple Physics to increase performance. 

I have two actors, both with simple box collision boxes.  Both in groups that are set to collide with each other, and then a collision event in one of them which is supposed to move the game a new scene when that actor type collides with the other actor type.  However, it doesn't do anything when the two actor types collide.  (If I set it to box2d, it works fine as it should)

Am I doing something wrong?  From what I read, I should be able to do basic collision detention in simple physics using box collisions (not polygons etc and not physical interactions) - and thats all I need, but it's not working.

Let me know if anyone has any ideas!

Thanks,
Paul


8
Ask a Question / Re: CPMSTAR interstitial ad extension
« on: March 05, 2015, 02:34:00 am »
No, I havn't seen any ads at all.  I have the sponsor ID in the settings and I have then used the 3.3 extension to try and pop an interstitial as well.  But I'm not getting anything.  Do I have to do something with the whitelists or have the swf hosted somewhere in particular maybe?


9
Ask a Question / Re: CPMSTAR interstitial ad extension
« on: March 04, 2015, 07:10:18 am »
Hi Rob,

Who would I speak to do you think to try and get this working?  Would be great to get CPM star ads working in my games. :)

Thanks,
Gamenet

10
Ask a Question / Re: CPMSTAR interstitial ad extension
« on: February 27, 2015, 06:14:08 am »
Hi Rob,

Did you get a chance to look at the CPMStar extension?  I've upgraded to 3.3 now and using the 3.3 extension you made, but still not getting any ads showing.  I have the correct sponsorship ID in place and I think i've done everything correctly.  It gets a bit further on 3.3 in that I get some logs now from the extension when it tries to run, but nothing displays.  The logs are:

true
[object boot_0503]
complete
init

If I run it again in the same session, I get another log from the extension:

The ad is already displaying.

Obviously, this is because I havn't closed the ad with the close block. So, it looks to me like it should be working, but it's just not displaying for some reason.

Could I be doing something simple and wrong?  Displaying the ad in the background or something?

Thanks in advance!

11
Ask a Question / Re: CPMSTAR interstitial ad extension
« on: February 08, 2015, 03:41:01 am »
Hi,  it's still not working. 

Doesnt seem to do anything at all, so maybe i'm doing something fundamentally wrong.  Here's a couple of quick questions;

- Is there a particular pixel size I have to make the swf? 
- or is there a particular place I have to place the ad (i did it at x:50 y:50)
- Do i have to place the swf on an actual web server to get it to work?
- Im a paid member, so could I try stencyl 3.3 somehow to see if it fixes it?

thanks again!

12
Ask a Question / Re: CPMSTAR interstitial ad extension
« on: February 07, 2015, 02:15:31 am »
Hi Rob.

 I've now added the extension and am trying to pop a CPM star ad, but nothing is happening.  I have a valid cpmstar sponsorship ID and i've put it in the Show CPMSTAR AD block as well as in the settings and i've installed the standard version of the extension as i'm running stencyl 3.2.  I'm not getting anything at all in the log viewer when the block is called.

Do you have any  what i'm doing wrong?  Is the whitelisting mandatory?

Thanks!
ps. sorry about yesterday, it seems if you log into here with your email address instead of username, you can log in, but you can't use the forums or view attachments!

13
Ask a Question / Re: CPMSTAR interstitial ad extension
« on: February 06, 2015, 09:59:46 am »
I see them now, thank you.

14
Ask a Question / CPMSTAR interstitial ad extension
« on: February 06, 2015, 08:58:56 am »
I have been trying to download the CPMStar Interstitial ads extension, but I cannot find the download link anywhere on the extension download page - http://community.stencyl.com/index.php/topic,26486.0.html   Does anyone know where I can download this?

15
Ask a Question / Re: Does Auto Rotate work on Android?
« on: October 28, 2014, 03:46:04 am »
Hi Guys - sorry to re-boost an unanswered post, but I still can't get the auto rotate feature to work on Android - works fine on IOS but does nothing on Android.  I guess it's a common problem, but can't find anything on it online, so just re-boosting this post to see if anyone who missed this first time knows a solution.  Thanks!

Pages: 1 2