
-----------------------------------
Tony_200004
Thu Dec 04, 2003 9:15 pm

Need help with fighting game (smoothing animation)
-----------------------------------
I need help making this animation smooth... it is kinda smooth but still flashes a little... was doing this on my free time and thought it would be cool to make... but there are few opstickles that i have run into mainly just getting the animation smoothed out... also if someone can help me add it in so that you only get damaged when the computer is close to you... and anything else anyone see that should be added... thanks

-----------------------------------
McKenzie
Thu Dec 04, 2003 9:28 pm


-----------------------------------
Two very basic things that will make a world of difference.
1. use Input.KeyDown instead of getch (the f9 help is good, look at it)
2. use View.Set("offscreenonly") at the top of your program and View.Update at the bottom of your loop.

The offscreenonly means that all drawing will actually be done to a seperate area in memory. The View.Update says OK the next fram of my animation is ready, use it on the screen

-----------------------------------
Tony_200004
Thu Dec 04, 2003 9:30 pm


-----------------------------------
Thank you very much... and if anyone has any other things to add to the program please let me know...

-----------------------------------
Tony_200004
Thu Dec 04, 2003 9:33 pm


-----------------------------------
lol i tried the View.Update command but it says
"'Update' is not in the export list of 'View'"

-----------------------------------
Dan
Thu Dec 04, 2003 9:46 pm


-----------------------------------
what verson of turing are you using? sounds like you got 3.x

-----------------------------------
poly
Thu Dec 04, 2003 9:48 pm


-----------------------------------
Well you need to place View.Set ("graphics:offscreenonly")that at the top of the screen for View.Update to function properly, because i did not see it in the above posted code

-----------------------------------
Andy
Thu Dec 04, 2003 9:51 pm


-----------------------------------
ummm its there... o and turing 4.00 doesnt have View.Update either

-----------------------------------
Tony_200004
Thu Dec 04, 2003 9:55 pm


-----------------------------------
A) i am using turing 4.0 .... but for some weird reason my turing key references dont work but whateve...
B) and also that isnt is the above code cause that was the original code.... i added them in and it still said the same thing... and also when i have downloaded people programs when i tried openeing theirs and they had View.Update it said the same thing and wouldnt run with it

-----------------------------------
poly
Thu Dec 04, 2003 9:56 pm


-----------------------------------
Ohh Okay i thought the link above was recent file

-----------------------------------
Andy
Thu Dec 04, 2003 9:59 pm


-----------------------------------
well, if ur using turing 4.00 then dl the latest patch from holtsoft at this site
http://www.holtsoft.com/turing/support/#turing4patches

install it then you can use the newer commands

-----------------------------------
Tony_200004
Thu Dec 04, 2003 10:05 pm


-----------------------------------
k thanks the animation has been smoothed out for me but what about the computer??

-----------------------------------
Tony
Thu Dec 04, 2003 11:22 pm


-----------------------------------
you have to View.Update after the entire frame is drawn. That would include both characters. Or are you asking something different?

-----------------------------------
Andy
Fri Dec 05, 2003 10:19 am


-----------------------------------
arg when are they gonna have 4.04d out?? i want View.UpdateArea and Window.UpdateArea

-----------------------------------
Tony
Fri Dec 05, 2003 10:22 am


-----------------------------------
i want View.UpdateArea and Window.UpdateArea

dodge - you want too much :lol: I mean come on, its HoltSoft... you know that by the time they'll have their next patch out, you'll be in university already :lol:

-----------------------------------
Andy
Fri Dec 05, 2003 10:28 am


-----------------------------------
Nah... i'm only in gr 11, i think they'd be done in less than a year...

-----------------------------------
Dan
Fri Dec 05, 2003 5:03 pm


-----------------------------------
i want View.UpdateArea and Window.UpdateArea

dodge - you want too much :lol: I mean come on, its HoltSoft... you know that by the time they'll have their next patch out, you'll be in university already :lol:

also if they put that in, what will they take out  :shock: 

so far we have been losing fetuchers with each update. i hope they put some of the old ones back in like "fullscreen" and some others.
