kaizen101 Posted February 24, 2012 Author Share Posted February 24, 2012 try it ^_^http://www.mediafire.com/?mkacmag76fh9gujhow does it happened?while casting the client will send an attack animation with different sprite to be used, so it means the server might/will take a lots of load and might hurt the game. slow it down.the player can costumised the animation for their spell buffer, the more they level up the more animation they can use.but its a success, i tried it in 2 client within my own pc, but i dont know if it works online.the client use a 64X64 tile/ make sure ur resolution is in 1024x 768 to load the gui properly for u to try and test it.and of course it contains a lot of bugs and messy codes bugs included…please scan it..i upload on other pc Link to comment Share on other sites More sharing options...
Robin Posted February 24, 2012 Share Posted February 24, 2012 Both of them already have casting, attacking and hitting animations. What crack are you smoking? Link to comment Share on other sites More sharing options...
kaizen101 Posted February 24, 2012 Author Share Posted February 24, 2012 haha, no im sorry about that, what i mean is..when you cast a spell it will show other animation. let say you cast fire ball, so instead of a normal attack instance, your character will move differently while casting his spell animation… ah i hope i said clearly.. but please test it if i cant explain it properlyanyway nice try for me ^_^... just trying to help.. and i don't smoke hehe Link to comment Share on other sites More sharing options...
Robin Posted February 24, 2012 Share Posted February 24, 2012 Oh, you mean specific attack frames? Animations are a completely different kettle of fish.That's like 1 line of code.```If Player(index).IsCasting then Anim = 5```Then simply change the animation code to work with a 5-frame system. Done. Link to comment Share on other sites More sharing options...
kaizen101 Posted February 24, 2012 Author Share Posted February 24, 2012 yup almost like that, and it can be seen in other client.. but its not perfect, but working.. i code it badly, for people who want to slash their sword while casting can check this…as i know they cant see the attack of their character on other client when they try this , but this work. the thing is they attck as they cast T_T, but they can change sprite for their different skillbuffer to look like as if its not the same as the ordinary attack.. maybe they can use this as a ladder for them to encode a better one.. either they attack up down or left direction. i hope someone can try it for them to understand what i mean.. Link to comment Share on other sites More sharing options...
Robin Posted February 24, 2012 Share Posted February 24, 2012 No. If you're sending packets then you've done something completely wrong. Hell, if you need to upload your source code at all you're doing something seriously wrong.That is literally the single line of code you need. Link to comment Share on other sites More sharing options...
Annahstas Posted February 28, 2012 Share Posted February 28, 2012 @Robin:> No. If you're sending packets then you've done something completely wrong. Hell, if you need to upload your source code at all you're doing something seriously wrong.> > That is literally the single line of code you need.Ah I just love Robin. ^^Anyway's like he said why can't you just put the sorce code here like everyone else does in a spoiler or code document? People don't like to upload code, could be full of viruses and media fire is one bad egg. 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