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

Pages: 1 2 3 4 5
Ask a Question / Re: Shooting on touch
« on: February 17, 2021, 10:42:53 am »
Thanks for your answer. Now I am completely confused.
Unfortunately, I don't understand what you're trying to teach me.

I have made a example game . Maybe you or someone else can take a look inside. The problem is i can not use x-center/y-center of self when i create the missle, i must use x on screen because the scene is longer then the device display.
The game is for mobile devices, but the example should also work in flash.

Ask a Question / Re: Shooting on touch
« on: February 17, 2021, 06:44:36 am »
I guess i'm acting very stupid right now. Please forgive me!

I tried to recreate your example on myself. Unfortunately it does not work. No bullet will be created and the game will freeze.

Ask a Question / Shooting on touch
« on: February 17, 2021, 05:05:30 am »
once again i need help from the community.
In one of my levels, the user can trigger a shot by touching the screen. That works so far.
But at certain angles the shot does not appear on the cannon but on the top right or top left, depending on where the player is on the screen.

I have attached 2 sample pictures to illustrate the problem. The last picture is the code I use for this.
Maybe someone can tell me what I'm doing wrong or how I can solve it better so that the shot is created exactly at the cannon.

Kind regards, Thomas

Ask a Question / Re: Creating collision shapes
« on: February 05, 2021, 02:57:57 pm »
You count backwards

Ask a Question / Re: How create actor in any random location off screen
« on: January 25, 2021, 11:32:11 pm »
Try to insert the "create actor" on the bottom and insert at x and y your Attributes at x and y of the create actor.

Create actor at x of asteroid and y of astroid

Ask a Question / Re: Anchor a actor without use "anchor actor to screen"?
« on: January 16, 2021, 07:26:53 am »
Set X/Y to X/Y of camera + your position on screen.

That is the solution for my problem. Thank you very much!


Ask a Question / Anchor a actor without use "anchor actor to screen"?
« on: January 16, 2021, 03:41:28 am »
Hi @ all,
the headline sounds a little strange.

If I anchor an actor on the screen and the screen moves afterwards, I always get "wrong" X and Y coordinates. Because the actor is always anchored at the screen, not at the scene ...

Is there any way to anchor an actor on the scene without using the "anchor actor to screen" block? Or to get the correct Y Position on Scene?

Kind regards,

The app market has its own rules. For example, many app users already find $ 0.99 expensive, but also eat a BigMac for $ 5. It's strange.
I think you have to test it out. The variant including advertising and the option to switch it off is the best. The user can first "take a look" and decide later. The most important thing is you create a game that "captivates" the user

I think I was able to solve the problem.
I used this post as a guide:,18745.0.html

The result is acceptable.
I am making the result available to the community here.
It is an actor behavior. Import the Behavior und the Image, place the image inside your screen and attach the Behavior to the image.
I made also a stenyl file. Feel free to use it.

Hello, thank you very much for your answer.

Unfortunately, my knowledge of Stencyl is poor. So I ask the questions. Should I find a solution on my own, I would of course share it with everyone.

What I want to achieve:
A menu that scrolls just like (for example) Facebook or Instagram. The user swipes and the page scrolls and then slows down.

What have I done so far:
A menu that scrolls without an extension. See picture.
What I am missing:

That the page "scrolls further" and then slows down.
I hope I got it right.

I have made a  example without any extension.

Kind regards

Thanks again for your help. I was able to rebuild your tutorial. Unfortunately, that's not quite what I wanted to achieve.

I also tested various behaviors.
With these you can scroll the menu but it doesn't look like in "normal" apps. As soon as you let go of the screen, the scrolling stops.

I am amazed that there is no easier way to create a menu in a great program like Stencyl

Thank you for the comprehensive answer.  Tomorrow morning I will try to implement the proposal.  I hope I do everything correctly.

Hi there,
Many thanks for your response.
I didn't understand the first part. I'm too inexperienced for that.  ;)

The second part sounds interesting to me.
I've read something about an invisible actor who can be pushed up and down.
Unfortunately I don't know how to code it correctly.
Is there an example image or tutorial for it somewhere?

Can't anyone help?  Can someone at least give me a tip how I can create a menu without bugs?  Which extensions can I use for a smooth scrolling?

Hi @ all and a happy new year!

I have a problem with my game menu. I use the extension Camera Scroller,57836.msg304666.html#msg304666 for my menu. It scrolls my level buttons smooth.
I have build this for a android device. It works sometimes very strange.
For example: when i swipe faster over the screen the menu disappears.....
The Y of the first button is then "nan" not a number....
Or when i touch outside of the buttons, the menu scrolls some pixels up...

I don't find the reason.....

I have build a example file. Maybe someone have the time and the knowledge to help me, why my menu sometimes disappear...
Download example file: (7.5 MB)

Kind regards,

Pages: 1 2 3 4 5