Question for Novice or anyone about moving problem code

Non-platform specific questions.

Question for Novice or anyone about moving problem code

Postby ericdg » Wed Sep 13, 2006 12:56 am

I was wanting to know if Novices code would be simpler or less cpu intensive if I were only using 4 animations instead of 4 moving and 4 stopped animations.

My vehicle only needs 4 animations and does not need a different animation when moving.

Would it be much of a change in the code to only show 1 animation for each direction?
ericdg
 
Posts: 53
Joined: Tue Nov 29, 2005 1:18 pm
Score: 1 Give a positive score

Postby makslane » Wed Sep 13, 2006 2:38 am

Using one or several animations must not have impact on the performance.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Novice » Wed Sep 13, 2006 9:43 am

I think that it wouldnt make much difenece if you had 4 or 8 animations because GE dosent execute all the code in the key down events, it executes just one if statement at a time.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest