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

Pages: 1 2
Ask a Question / How reliable are Shaders on Mobile?
« on: February 01, 2021, 08:16:05 pm »
I know it is not advised to use Shaders or layer blend modes for mobile games but it seems to be working on Android without any issues. I am working on a day/night cycle and would prefer a better option than lowering the opacity of a solid color layer.

Should we still avoid using Shaders on mobile games even with Stencyl 4.1 on the newer versions of Android and iOS?

Hi everyone!

I can't find a way to get the Players Name/ID for Google Play Games. There's a "Name/ID of Player" block for Game Center. Does anyone know if there's a way to do this for Google Play Games?

Ask a Question / Are Google/Apple Game Saves Possible?
« on: April 07, 2020, 07:19:47 pm »
Is it possible to save game data via Game Center & Google Play Game Services?

It would be very useful for players to access their saved data from multiple devices and best of all Google/Apple are storing the players info like email and password so we don't have to worry about security issues. I know this is possible with those services and since Stencyl is already using those APIs, would it be simple to add blocks for this in Stencyl?

Ask a Question / Android Build Failed - Post Logs
« on: February 21, 2020, 12:15:59 pm »
I've installed Stencyl on a new pc and I'm using the same JDK 8 and I installed the android SDK/NDK. Minimum Android Version is 4.4 kitkat and target is Android 10 API 29. Not sure why I'm getting this error. Using the latest Stencyl private release (2 weeks ago).

Tried searching the forum but I rarely find what I am looking for. Anyone know what the issue is?

Ask a Question / HTTP Requests VS Websockets?
« on: January 12, 2020, 12:04:57 pm »
Would both methods be good for a turn based game?

I know that websockets provide more of a "real-time" experience but that's not very important to me. I just want to make sure my server doesn't crash with all the HTTP Requests (assuming my game is moderately popular). Currently testing on a basic webserver.

The issue with websockets is that I don't think it is supported by Stencyl and the Extension seems old. I would be concerned that support for the extension is dropped... Does anyone have any insight that might help me make a decision when it comes to online turn based? Thanks  :)

Ask a Question / Why did all event blocks disappear?
« on: January 09, 2020, 05:17:51 pm »
Does anyone know why all the blocks for every event of my behavior would suddenly disappear? You can see that even the "when drawing" block is gone. It's so disappointing to see stuff like this happen. There's so many glitches with Stencyl but I've invested a year already on this game... It's becoming increasingly discouraging to work on my stuff when things like this happen. Anyone know what I can do?

empty" border="0

Ask a Question / Detect Phone's Aspect Ratio?
« on: October 08, 2019, 12:54:51 pm »
Is it possible to detect a phone's aspect ratio and then change how the game scales depending on the aspect ratio?

I didn't see any blocks for aspect ratio, only found game scaling and detecting iphone sizes. It would be really useful to make my app look good on 16:9 and 18:9 + (since most new devices are more rectangular)

Ask a Question / Can I test my app wirelessly?
« on: July 18, 2019, 05:41:57 pm »
Does anyone know if it is possible to compile and run my app on my Android device if I am connected using ADB (or something similar) instead of via a USB cable?

It would make it so much easier to test wirelessly but I couldn't find anything on the forum.

Ask a Question / Steam In-App Purchases?
« on: February 10, 2019, 07:00:13 am »
Has anyone added In-App Purchases to a Steam game?

There's no Steam block in Stencyl and I was wondering if anyone successful integrated the microtransaction API.

Ask a Question / Does Stencyl meet Google's new 64-Bit requirement?
« on: January 29, 2019, 12:27:27 pm »
Hey! I got an email from google that all new apps must support 64-bit as well as 32. I know that one of the updates in Stencyl 3.3 was 64-bit iOS games.  Does Stencyl support 64-bit for Android as well?

Ask a Question / How to know if "Visit URL" Succeeded?
« on: January 24, 2019, 09:08:59 pm »
Does anyone know if it's possible to find out if a user successfully visited a url?

Right now I am checking  a PHP script on my web server but this only works if the user has an internet connection or else it does not return anything. I tried doing "if site's response = null but as it has no response it doesn't work. I guess there are a few workarounds but it's going to involve too many condition and would be much cleaner if I can return a successful/unsuccessful response.

Any tips/tricks are greatly appreciated!!

Ask a Question / How to get Player ID?
« on: January 10, 2019, 08:35:55 pm »
Hey has anyone been able to get a player's Google Play Games ID? I see a block for Player's Name & ID for iOS but not for Google. Is there a snippet of code I can use to do this?

Thanks! :)

Ask a Question / How to fix HTTP Request error?
« on: December 30, 2018, 07:06:12 pm »
Hey! I've been following the instructions on Stencylpedia to make an HTTP Request and I keep getting an error. I tried something simple like getting a number from a .txt file on dropbox like in the example but it won't work. I've been trying for hours and no luck. Does this block still work? Does anyone have an example of this still working?

Thanks :)

This is the error message. It looks like it "cannot load data from". I tried running on Android as well.

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|/Users/Wasanni/AppData/Roaming/Stencyl/stencylworks/games%2Dgenerated/Project%20M/Export/flash/bin/Project%20M.swf cannot load data from
   at com.stencyl.behavior::Script$/visitURL()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\behavior\Script.hx:3661]
   at scripts::SceneEvents_0/init()[C:\Users\Wasanni\AppData\Roaming\Stencyl\stencylworks\games-generated\Project M\Source\scripts\SceneEvents_0.hx:91]
   at com.stencyl.behavior::Behavior/initScript()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\behavior\Behavior.hx:107]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\behavior\BehaviorManager.hx:97]
   at com.stencyl::Engine$/initBehaviors()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:1257]
   at com.stencyl::Engine/loadScene()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:1156]
   at com.stencyl::Engine/begin()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:949]
   at com.stencyl::Engine()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:738]
   at Universal/preloaderComplete()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\Universal.hx:410]
   at scripts::StencylPreloader/unload()[C:\Users\Wasanni\AppData\Roaming\Stencyl\stencylworks\games-generated\Project M\Source\scripts\StencylPreloader.hx:334]
   at scripts::StencylPreloader/onLoaded()[C:\Users\Wasanni\AppData\Roaming\Stencyl\stencylworks\games-generated\Project M\Source\scripts\StencylPreloader.hx:303]
   at lime.utils::Preloader/start()
   at lime.utils::Preloader/updateProgress()
   at lime.utils::Preloader/current_onEnter()

Ask a Question / How to walk between grass?
« on: December 26, 2018, 03:58:24 pm »
Hey everyone! Been trying to figure this out and I feel like it's probably something simple that I am overlooking but I have been unable to get an effect like the image below with the check mark.

Layer-Example" border="0

I'm not sure if I can achieve this with collision. The only thing I can think of is splitting the character graphic in two and using two actors and then having them on different layers but this is going to cause a lot of other issues and/or be time consuming. I thought of splitting the graphics for the grass (front and back) but if I make a big field of grass the front grass graphic will still be over the character.

Any ideas?

Ask a Question / Publishing Status
« on: December 20, 2018, 06:10:32 pm »
Does publishing to the Play Store using the latest Android API work?

I've been gone for a little while because I noticed some issues with publishing to the Play Store with the latest Android API and that google was going to reject apps that did not have API 26 or higher. Does anyone know if that issue is resolved in the latest 3.5 beta?

Thanks  :)

Pages: 1 2