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
→
Suggestion Archives
→
Completed
→
"No Physics" Mode
Pages:
1
"No Physics" Mode
P01
Posts: 155
December 05, 2012, 05:06:22 pm
In addition to simple physics and Box2D, could we get a mode which doesn't use physics at all? It would be appropriate for grid based games, word games, and all non-game apps like organizers, calculators, education/health apps, etc.
I feel like a whole physics/collision system is a bit overkill for most apps
captaincomic
Posts: 6108
December 06, 2012, 04:22:27 am
I was thinking something similar when I read that "Disable Physics" puts an actor into Simple Physics mode now. Would it make sense to have three options there: Box2D, Simple Physics and Disabled Physics? Some actors (e.g. GUI) don't need physics even in a game that uses Box2D or Simple Physics.
P01
Posts: 155
December 06, 2012, 06:34:01 am
Definitely. Something about the simple collision detection system is slowing down my game, especially when I have many actors using "move x/y position" blocks simultaneously. All I really want the movement blocks to do for disabled physics actors is change the draw position of an actor on the screen.
Jon
Posts: 17524
December 08, 2012, 06:17:24 pm
If you dunk actors into a non-colliding group (a new group which collides with no others), you won't be hit by any collision overhead from simple physics. Introducing a third case inside the engine sounds like a recipe for introducing new bugs (and overhead).
captaincomic
Posts: 6108
December 09, 2012, 01:49:26 am
Okay, so for no physics at all, one would just have to set the actor to Simple Physics + Not affected by Gravity + Some non-colliding Group (Doodads). Sounds good.
P01
Posts: 155
December 09, 2012, 10:41:32 am
Another thing I noticed was that if I not only best all actors to doodads, but then deleted all collision groups from my game (apart from none locked ones) there seemed to bean increase in performance. I'm not sure if it was caused by that for sure though.
Jon
Posts: 17524
December 10, 2012, 12:28:38 am
That's an interesting and unusual observation.
captaincomic
Posts: 6108
May 11, 2014, 11:48:40 am
In 3.1 there will be minimal actors, which are basically what the OP suggested.
Pages:
1