TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
[Solved] Help. How to keep actors in place?
Pages:
1
[Solved] Help. How to keep actors in place?
oscarkim
Posts: 28
May 14, 2017, 04:19:28 pm
I am making a sliding puzzle game but whenever the user slides a piece.....it sometimes bounces back. I am using push -actor. I have attached a short video clip of the problem.
« Last Edit: May 15, 2017, 01:08:26 am by oscarkim »
oscarkim
Posts: 28
May 14, 2017, 04:25:50 pm
....and just to add. .. The actors are set to normal and friction @=0, no gravity and bounce @=0.
KramerGames
Posts: 405
May 15, 2017, 12:23:09 am
For this game you don't need collision shapes. Also I would use the "slide actor by x and y over x seconds" block under actors-->tweening-->slide. That way you can precisely choose to how many pixels it is moved.
Parasites United
(Idle Parasite Game)
oscarkim
Posts: 28
May 15, 2017, 12:55:27 am
Thanks....but I was avoiding that method because I am not so good with tweening XD.....also I have a player that needs the collisions for going through the maze.
oscarkim
Posts: 28
May 15, 2017, 01:00:48 am
I have made it work. Switched to simple physics( though this may not matter....might just be placebo XD ') )..... instead of using push actor, I used x speed and set conditions to remove unneeded X and Y speed depending on which side the actor has collided. It now works silky smooth
oscarkim
Posts: 28
May 15, 2017, 01:04:03 am
This was actually a nightmare to do with unity.....could not get swipe to work with a specific actor. Stencyl is amazing.... I think I'll complete and publish the game with it XD
Pages:
1