Carim123 Posted April 22, 2011 Share Posted April 22, 2011 @Broojo:> WARNING: This tutorial is highly inefficient at the moment, I will work on making a tutorial that only sends the pure minimum number of packets needed.So, why are you doing this server-side mostly? Can't this be done completely client-side, or am I missing something? Link to comment Share on other sites More sharing options...
zzuurraa Posted April 24, 2011 Share Posted April 24, 2011 How do i make animation continuous? help me please i want to make waterfall but don't want animation to be every 1 sec. Link to comment Share on other sites More sharing options...
Broojo02 Posted April 24, 2011 Author Share Posted April 24, 2011 If you want the animations to play less often than 1 second then change this value in the tutorial:Anim = GetTickCount + 1000From 1000 (1000 milliseconds which is 1 second) to a higher value, this will apply to all your animations though. Link to comment Share on other sites More sharing options...
Broojo02 Posted May 11, 2011 Author Share Posted May 11, 2011 Updated, okay the animations are still sent from the serverloop function BUT they now only send if there is at least 1 player on that map.This should optimise the server for games with relatively few players and animations. Link to comment Share on other sites More sharing options...
Kemerd Posted June 12, 2011 Share Posted June 12, 2011 Thnks man! Link to comment Share on other sites More sharing options...
Ryochi Posted July 2, 2011 Share Posted July 2, 2011 hey.i need some help here.when i was trying to compile client it said 'variable not defined on lblanimation'.and when i ran the client on vb6 to test it…the animation frame (fraanimation)shows up on top of every single attribute frame instead of showing up on its own frame.can somebody plz help?thank you in advance. Link to comment Share on other sites More sharing options...
Medleyy Posted July 22, 2011 Share Posted July 22, 2011 I've tried to integrate this, but there's no pop-up about anim layers when I select the button and if I try to put a tile down on the anim layer, nothing happens whatsoever. What have I done wrong? :S Link to comment Share on other sites More sharing options...
Medleyy Posted July 22, 2011 Share Posted July 22, 2011 Double post, sorry.I followed the instructions again, but now when I select anim from the map editor the map editor goes blank. When I put anim tiles down they don't seem to do anything…Does anyone know what the issue is? Link to comment Share on other sites More sharing options...
Hrackcoe Posted September 16, 2011 Share Posted September 16, 2011 or do like i did, but thats my lil secret has to do with looping, and it will work awesome, wont lag the servers down either ;) Link to comment Share on other sites More sharing options...
Guest Posted September 16, 2011 Share Posted September 16, 2011 If you guys are looking for a simpler way of map animations, why don't you just make the "tile" an item. For example, If you wanted to make water, you could just do the two animations and make it an item. Then, place the item attribute wherever you want water to go. Just put a block around the border of the land so the people can't walk on the water. That should work. Link to comment Share on other sites More sharing options...
Carri Posted November 27, 2011 Share Posted November 27, 2011 This tutorial worked great for me. I put this into Eclipse Starlight. The only problems I had were I forgot to enable the button, so it was dead when I went into map editor, and then when I did enable it, I saw I had to make the button and it's form a bit bigger to see the names of the animations. But that was it. I have it working now. Link to comment Share on other sites More sharing options...
Quartz Posted December 19, 2011 Share Posted December 19, 2011 While adding> ' Anim every 1 sec> If Tick > Anim Then> Anim = GetTickCount + 1000> For mapNum = 1 To MAX_MAPS> For x1 = 0 To Map(mapNum).MaxX> For y1 = 0 To Map(mapNum).MaxY> If Map(mapNum).Tile(x1, y1).Type = TILE_TYPE_ANIMATION Then> For playerNumber = 1 To Player_HighIndex> If IsPlaying(playerNumber) Then> If GetPlayerMap(playerNumber) = mapNum Then> SendAnimation mapNum, Map(mapNum).Tile(x1, y1).Data1, x1, y1> End If> End If> Next> End If> Nextunder> ' Checks to update player vitals every 5 seconds - Can be tweaked> If Tick > LastUpdatePlayerVitals Then> UpdatePlayerVitals> LastUpdatePlayerVitals = GetTickCount + 5000> End IfI get this:![](http://i.imgur.com/l9EtK.png)Could anybody help me? :)**EDIT**: Nevermind, I was silly enough to not copy all of the code. Link to comment Share on other sites More sharing options...
pooperscoop1 Posted January 25, 2012 Share Posted January 25, 2012 how do you add another option for the attribute list? Link to comment Share on other sites More sharing options...
Justn Posted January 25, 2012 Share Posted January 25, 2012 Are you using visual basic 6? Link to comment Share on other sites More sharing options...
pooperscoop1 Posted February 4, 2012 Share Posted February 4, 2012 yeah Link to comment Share on other sites More sharing options...
Clueless Posted February 29, 2012 Share Posted February 29, 2012 I get the same error as him>! @Tahnner:>! > Every time i try to compile server.exe it says something is wrong with anim> > ![](http://www.freemmorpgmaker.com/files/imagehost/pics/eae651de9d4f8a2398a4fc8a8e16b05d.bmp) Link to comment Share on other sites More sharing options...
Annahstas Posted March 1, 2012 Share Posted March 1, 2012 You should post a screen shot of the animation actually working with this code. Save it as a .gif file and make sure the frames work. I would love to use it if it actually works. Link to comment Share on other sites More sharing options...
karpaz Posted March 4, 2012 Share Posted March 4, 2012 Hi .. i have small,big problem .. i havent any errors ;) but if i add animations it cant be seen :(i didnt see Animations on map :| Link to comment Share on other sites More sharing options...
Wortel Angels Posted March 13, 2012 Share Posted March 13, 2012 Works like a charm :DBut its bad that the Frame is missing…Does anyone know an FixEdit...I GOT IT :DI dont know its the best way?... but it works...===Server Side===Search``` ' Anim every 1 sec If Tick > Anim Then Anim = GetTickCount + 1000 For mapNum = 1 To MAX_MAPS For x1 = 0 To Map(mapNum).MaxX For y1 = 0 To Map(mapNum).MaxY If Map(mapNum).Tile(x1, y1).Type = TILE_TYPE_ANIMATION Then For playerNumber = 1 To Player_HighIndex If IsPlaying(playerNumber) Then If GetPlayerMap(playerNumber) = mapNum Then SendAnimation mapNum, Map(mapNum).Tile(x1, y1).Data1, x1, y1 End If End If Next End If Next Next Next End If```And change to``` ' Anim every 1/2 sec If Tick > Anim Then Anim = GetTickCount + 500 For mapNum = 1 To MAX_MAPS For x1 = 0 To Map(mapNum).MaxX For y1 = 0 To Map(mapNum).MaxY If Map(mapNum).Tile(x1, y1).Type = TILE_TYPE_ANIMATION Then For playerNumber = 1 To Player_HighIndex If IsPlaying(playerNumber) Then If GetPlayerMap(playerNumber) = mapNum Then SendAnimation mapNum, Map(mapNum).Tile(x1, y1).Data1, x1, y1 End If End If Next End If Next Next Next End If```And now no frame is missing and no stop is in the animation :D Link to comment Share on other sites More sharing options...
Peter120 Posted March 13, 2012 Share Posted March 13, 2012 I set the loop count 2 in the animation and it didn't stopped. Link to comment Share on other sites More sharing options...
Wortel Angels Posted March 13, 2012 Share Posted March 13, 2012 i think all under 500 == it does not stop ;) but when you call the animation every 2 MS… its very heavy or not? Link to comment Share on other sites More sharing options...
karpaz Posted March 13, 2012 Share Posted March 13, 2012 fixed or no ? i dont want spam my game code :P Link to comment Share on other sites More sharing options...
Wortel Angels Posted March 13, 2012 Share Posted March 13, 2012 It works with 500 ;) so Fixed but dont do it lower than 250… because then the animations are overlayered...and i got an Question...How can i do that the layer is Above the Player? so that my players can walk at the backside of the Fire or else Link to comment Share on other sites More sharing options...
wito35 Posted March 15, 2012 Share Posted March 15, 2012 Cool! Thanks! ;) Link to comment Share on other sites More sharing options...
karpaz Posted March 15, 2012 Share Posted March 15, 2012 sorry but i cant find command from mortal angels .. is it really in server ? 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