Leed88 Posted June 20, 2011 Author Share Posted June 20, 2011 Decided to try adding some animated tiles just a little code. I can have any number of frames from 2 up, anims can be over or under player plus the 2 frame layers I added a couple weeks ago. The video is choppy but its the capture program I used and not the animation. This is just me testing animations and not a map.http://www.youtube.com/watch?v=BroGgBoIQGYplease let me know what you think. Link to comment Share on other sites More sharing options...
Biohazard Posted June 20, 2011 Share Posted June 20, 2011 Looks cool,especially the waterfalls. Link to comment Share on other sites More sharing options...
Drummerpete Posted June 20, 2011 Share Posted June 20, 2011 What effect did adding in extra animation frames have on performance? Link to comment Share on other sites More sharing options...
Leed88 Posted June 20, 2011 Author Share Posted June 20, 2011 It took a pretty good chunk of performance but with two variable animated layers and 3 old style 2 frame layers I'm still getting over 300 fps.And I don't use any attributes for animation so I can still block tiles etc.. Link to comment Share on other sites More sharing options...
Drummerpete Posted June 20, 2011 Share Posted June 20, 2011 @Leed88:> It took a pretty good chunk of performance but with two variable animated layers and 3 old style 2 frame layers I'm still getting over 300 fps.> > And I don't use any attributes so I can still block tiles etc..What were you getting before? Link to comment Share on other sites More sharing options...
Leed88 Posted June 20, 2011 Author Share Posted June 20, 2011 around 600 fps when I started editing eclipse Link to comment Share on other sites More sharing options...
Drummerpete Posted June 20, 2011 Share Posted June 20, 2011 A 50% drop in FPS seems far too much to justify a couple of extra animation frames :/ Link to comment Share on other sites More sharing options...
Leed88 Posted June 20, 2011 Author Share Posted June 20, 2011 since game defaults to locking at 64fps and I don't have to have still maps and everything is handled by the client except for layer info sent on map load its worth it for me.edit- I've doubled the speed of animation since that video for smoother waterfalls. Link to comment Share on other sites More sharing options...
mrmiguu Posted June 20, 2011 Share Posted June 20, 2011 You could have done this without lowering the FPS at all. You just need to follow how Robin coded dynamic animations with items. Apply that same code to the animation layer of your maps. Link to comment Share on other sites More sharing options...
Leed88 Posted June 20, 2011 Author Share Posted June 20, 2011 @MrMiguu:> You could have done this without lowering the FPS at all. You just need to follow how Robin coded dynamic animations with items. Apply that same code to the animation layer of your maps.Will look into that.edit- My mistake I only got 600 in clean copy of eclipse on a blank map, I just loaded a clean copy and got 600fps on blank 360fps on default map. Then I loaded my edit got 600fps on blank map and 315fps on map with alot of animation and npc's Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now