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

Pages: 1 2 3 4 ... 44
16
Ask a Question / How do you stop box2d wobbling?
« on: February 06, 2020, 03:18:29 pm »
Hi, i've got a simple stack of boxes, physics friction set to 1, but they wobble and slide and overlap each others collision shapes as they topple over. Am I doing something wrong? is there a good guide anywhere for setting the physics values eg. mass etc for stencyl?

17
Chit-Chat / Re: A Stencyl Wishlist
« on: December 19, 2019, 05:03:33 am »
Some sort of camera zoom. Even if just a zoom out from the original size - so that pixelation wasn't a problem. Would need all the associated blocks around touch, position, collisions etc. to still work with whatever camera FOV was set to.

Harder, but would love it, camera rotate block.

18
Ask a Question / Re: Can you add a CSS file to an extension
« on: November 28, 2019, 06:16:46 am »
Hi, I've already got a work around, I can change styles from my js file, or I can manually add a css file to the template in plaf/templates/html but I was keen to have everything self contained in the extension.

19
Ask a Question / Can you add a CSS file to an extension
« on: November 27, 2019, 02:24:27 pm »
I'm building an extension -works in  html only, and I want to include a stylesheet.
I've worked out how to include my .js file by putting it in a file named dependencies, and putting the path in the include.nmml file. I was hoping I could do something similar with a css file? Anyone know if this is possible?

20
Ask a Question / Re: Unoptimized APK from Stencyl
« on: November 26, 2019, 01:34:43 am »
The aforementioned update has been done, so when you publish for Android with the latest build, it'll export as an aab instead of an apk.
  That's good to know! I've been putting off rebuilding my app and updating it as I didn't want to get into learning to use Android studio at the moment!

21
do you get a haxelib error? I get this and if you search for haxelib in the finder, then control click and open it in the terminal it solves the issue.

22
Ask a Question / Re: default.pak causing problems
« on: November 14, 2019, 01:27:01 am »
Cool, thanks Justin. I took your earlier advice on how to build without the pak by changing the project.xml and that solved my problems with my client being able to play the game. I'll try b10450.

Thanks again!

23
Ask a Question / Re: default.pak causing problems
« on: November 11, 2019, 11:29:47 am »
Hi Justin, I'm still having a problem with the .pak file - when I look at the network requests I can see that an extra slash is added to the request in between the game's folder and the lib folder.

http://clientsserver.com/myGameFolder//lib/default.pak?247716

It doesn't seem to cause any issues on my server,  but on my clients server seem to be stricter and  the double slash causes a 404 error for the pak file.

In the instructions above, the line <library name="default" type="pak" if="publishing" /> actually reads <library name="default" type="gzip" if="publishing" /> in my jar. Could that be the cause of the problem?

24
Ask a Question / Re: default.pak causing problems
« on: November 11, 2019, 06:33:45 am »
Hi Justin, I'm still having a problem with the .pak file - when I look at the network requests I can see that an extra slash is added to the request in between the game's folder and the lib folder.

http://clientsserver.com/myGameFolder//lib/default.pak?247716

It doesn't seem to cause any issues on my server,  but on my clients server seem to be stricter and  the double slash causes a 404 error for the pak file

25
Ask a Question / Re: Can we use SKStoreReviewController?
« on: November 08, 2019, 02:38:28 am »
I'd be really interested in this too if anyone knows how to.

There are good instructions here https://medium.com/@kavithakumarasamy89/skstorereviewcontroller-apple-way-to-request-review-and-rating-inside-ios-app-in-ios-10-3-453a6f897e9d

I might try to make an extension, but someone else may be more capable than me!

26
Ask a Question / Re: default.pak causing problems
« on: October 28, 2019, 03:57:09 am »
Thanks Justin, I'll try this. My client's server seems to have problems with the pak file, I'm hoping their engineer can sort it out on their side, but in the meantime uploading separate assets will hopefull solve the issue. Thanks!

27
I want to compile for html without embeding my games assets in a pak file, I've got the impression this is possible by using the
embed="false" flag in the openfl setting in game settings/advanced, but I don't know the syntax. Can anyone help?

28
I'm having a similar problem, this didn't happen with the previous build. The error I get is my clients server can't find the .pak file that contains the game assets, and gives a 404 error for default.pak when you look at the request there is an extra forward slash after lib like this gamename /lib//default.pak

This causes the game to freeze on the loading page- which sounds like your situation. My problem is that I don't know of it's Stencyl or my clients server that's causing the problem.

Might be worth you looking at your browsers console log to see if it's the same issue?

29
Ask a Question / default.pak causing problems
« on: October 15, 2019, 05:48:08 pm »
Hi, up until recently I belive when you exproted for HTML stencyl would generate a zip file with an assets folder with all your images etc in it. Now it seems all the assets are compressed into a .pak file. This seems to be causing my client problems, my game runs fine on my server, and on local host, but the clients server gives a "content-deploy/3275//lib/default.pak?851639:1 Failed to load resource: the server responded with a status of 404 ()" response.

Anyone have any advice?

30
Ask a Question / Re: 2 Actors, Same Position?
« on: October 14, 2019, 05:15:06 am »
I had this problem,  the problem I think is caused by the order things are rendered to the screen , eg if you move the camera or move an actor using physics rather than placing or moving using XY position, the position is  calculated every step size, then it is rendered to a rounded position each frame. The solution for me was make sure all the drawing, camera moves and placement blocks were in the same behaviour, so that I could ensure each operation was performed in the correct order, at the same time.

My particular case was that I was using physics to move a character with inertia so that I could 'throw' the characters around the screen,  but using tweens to move the camera from one room to another when dragging, to the edge of the screen. I had a jitter that fits your description exactly.

Pages: 1 2 3 4 ... 44