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

Pages: 1
Resolved Questions / Re: [Solved] Touching a region - not detected
« on: November 29, 2020, 01:46:34 pm »
I figured it out and made regions to work. For anyone who stumbles across this post, you have to create the region in the "When creating" block, otherwise although you might see the code-created region in the scene it won't detect the mouse click.

So when I create the region I do it outside the scene (negative x) and when I need the region I move it to the desired position.

Hope this helps.

Ask a Question / Re: Block to detect mobile platform
« on: November 23, 2020, 08:07:12 am »
Thank you Luyren!!

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.


Ask a Question / Re: resource folder full of repeating images
« on: November 23, 2020, 04:47:08 am »
Hi! You need to reduce PNG size, otherwise the app stores will complain. You can use pngquant, works like a charm.


I found a workaround. After scrolling the screen I kill and re-spawn each actor type again, and thus the collision boxes remain attached to the actor.


Thank you Luyren for your quick reply! I’ll try to figure it out. Unfortunately I need those collision boxes. I will try to assign a new collision shape for the actors after each scroll.



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.



Pages: 1