Xtreme
04-17-2002, 01:41 PM
i am learning with the directx7 rm mode. i want to knowif there is an easy way to rotate an object without setting it to constantly rotate as with the .setrotation method. -----Also :-\ i am used to programming tile based games whre you can blt tiles onto a screen and want to know if in RM d3d if i have to make a new object for every tile on the screen? if so how would i do this?
thanks
AndreRyan
04-17-2002, 09:03 PM
D3D requires a new object for each tile if you want to track the tile if the tile is there but not used(plain ground,etc) just create a large object which fills several tiles.
Xtreme
04-18-2002, 07:20 AM
thanks for the reply. Doing a tile game would be a pain then huh? :)
- Do you happen to know of a way to rotate a 3d object right when the right key is pressed and left when the left key is pressed a certain amount in either direction? i am having difficulty because when i start to rotate it continues until i put a rotation of zero. is there anyway to rotate only one rotation move with each key press and not a continuous rotate?
thanks