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
1
Ask a Question / Re: Block to detect mobile platform
« on: November 23, 2020, 08:07:12 am »
Thank you Luyren!!

2
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!

3
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.

Best

4
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.

M

5
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.

Best,

M

6
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