D
Dijkstra
Guest
Hello everybody! I'm trying to make a racing game in GM: Studio... I use pseudo - 3D method (car consists of several layers, lined up in y-axis, something like that). For this, I use script - draw3d:
and draw on screen like this:
But here is a problem - My wheels are static, and this looks aren't cool. How can I animate or, maybe, spin them? Who has any ideas about this problem - advise , thanks in advance for your help )
(P.S. Is it necessary to do it in 3d ? Don't really want this to be honest )
I attach the project below, with GIF, just in case .
Please, help me
https://drive.google.com/file/d/0BzoWUCLfHlo1Y2hYNDR4YW9QZnc/view?usp=sharing
Code:
////at future i'll use 'for' loops for that
sprite_amount = argument4
if sprite_amount >= 1 { draw_sprite_ext(argument0,argument1,argument2,argument3, 1,1,image_angle,c_white,1) }
if sprite_amount >= 2 { draw_sprite_ext(argument0,argument1+1,argument2,argument3-1, 1,1,image_angle + 1,c_white,1) }
/////and so on
Code:
draw3D(spr_tyre, 0, x, y, 11);
(P.S. Is it necessary to do it in 3d ? Don't really want this to be honest )
I attach the project below, with GIF, just in case .
Please, help me
https://drive.google.com/file/d/0BzoWUCLfHlo1Y2hYNDR4YW9QZnc/view?usp=sharing