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

Pages: 1
1
Ask a Question / Block to detect mobile platform
« on: November 23, 2020, 04:54:06 am »
Hi! Is there a block to detect on which mobile platform is the game running on (iOS vs Android)? If there is I one haven't been able to spot it.

Thanks!

2
Hi everyone,

I am new to Stencyl and have been having a lot of fun making my first game. I am stuck with the following problem, hope someone can give me a hand:
1. I have 6 actors spawned when creating the scene and anchored to screen
2. Scene is 5900 pixels wide and scrolls from left to right
3. This actors have to be dragged and dropped throughout the scene as it scrolls

My problem is that as the scene scrolls the actor’s collision shapes moves along with the background so when the actor needs to be dragged and dropped the collision in the scene is not detected.

Tried to:
1. In actor events, when updating set the collision shape. However, this locks the game when building the scene
2. Created a list with the actor type’s names and using the For each Item block, sort through the list and create a new collision shape for the remaining (still anchored) actors. Tried to use For collision block with but haven’t been able to correctly refer to each actor type and the game crashes.

I am using Stencyl 4.03 and Xcode 12. Can’t get logs because when testing to device Stencyl doesn’t launch the game and I hav to manually launch it. So no logs are written during game play. And test to Flash crashes when building.

I have already gone over the forums and haven’t been able to find an answer. I apologize if I it has already been answered and I missed it.

Thanks!!!!

MB

Pages: 1