<< Previous Topic | Next Topic >>Return to Index  

The Three Burials of Melequidas Estrada

February 27 2006 at 1:21 AM
Dante Bean  (no login)

Yea, I probably spelled that wrong.

Anyway, if you're lookin for a really good flick in this painfully slow season, check this flick out. Tommy Lee Jones/Barry Pepper. It's excellent, but isn't in a very wide release.

 
 Respond to this message   
AuthorReply
nerdman
(no login)

Re: The Three Burials of Melequidas Estrada

February 28 2006, 10:50 AM 

Simple...

pivot_sprite(buffer, BlueTank, ftofix(T1.x), ftofix(T1.y), 35, 18, ftofix(T1.dir));

Why are you converting the float to fixed for the tanks' x and y co-ordinates in there? The pivot_sprite() function only takes a fixed variable for the rotation value. The x and y co-ordinates have to be ints. try:

pivot_sprite(buffer, BlueTank, (int)T1.x, (int)T1.y, 35, 18, ftofix(T1.dir));

...instead. (do a search in the allegro docs for that function and check out the values it takes again and you will see they should be ints ). Doncha just hate the little mistakes that are hard to spot?

Let me know how your game ends up, I love tank games and want to see how your project turns out.

 
 Respond to this message   
Dante Bean
(no login)

Re: The Three Burials of Melequidas Estrada

February 28 2006, 10:32 PM 

...

Yes.

I agree.

 
 Respond to this message   
Current Topic - The Three Burials of Melequidas Estrada
  << Previous Topic | Next Topic >>Return to Index