MoveTo vs platform behavior!

Discussion and feedback on Construct 2

Post » Thu Aug 14, 2014 12:18 pm

Hi all
What is the best in performance : MoveTo or Platform behavior?
I'm using platform behavior in some objects to make gravity effect ( Set platform gravity to -100 - Wait 5 seconds - set platform gravity to 100).

And i can easily do the same with MoveTo behavior.
I'm asking because i'm using the platform behavior in many objects.

Thank's for any help
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Fri Aug 15, 2014 9:18 pm

Anyone???
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Fri Aug 15, 2014 9:23 pm

Performance is not the main argument in that case, as usual I would recommand using the one that gives you the more readeable and maintainable code for your use in particular.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Sat Aug 16, 2014 10:35 pm

Thanks.
but i believe that many objects with platform behavior will use many collision checks, I've saw that on bounce ball example.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155


Return to Construct 2 General

Who is online

Users browsing this forum: Nemega and 12 guests