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


32
Ask a Question / Shooting on touch
« on: February 17, 2021, 05:05:30 am »
Hello,
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

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

34
Ask a Question / Re: How create actor in any random location off screen
« on: January 25, 2021, 11:32:11 pm »
Hi,
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

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

Thomas

36
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,
Thomas

37
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

38
I think I was able to solve the problem.
I used this post as a guide: http://community.stencyl.com/index.php/topic,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.


39
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
Thomas

40
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

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

42
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?



43
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?

44
Hi @ all and a happy new year!

I have a problem with my game menu. I use the extension Camera Scroller http://community.stencyl.com/index.php/topic,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: http://templatebase.de/tmp/menue.zip (7.5 MB)

Kind regards,
Thomas

45
Ask a Question / Re: Strange behavior from Collision bound
« on: December 11, 2020, 10:26:04 am »
I found the problem, it was of course my mistake.
I have several tiles on top of each other. The bottom tile had the square collision bound.

Kind regards,
Thomas

Pages: 1 2 3 4 5