Discussion in 'Work in Progress' started by Joe Ellis, Mar 12, 2018.
That's pretty cool.
I've made a first person player object and laser projectiles with collision. Also cool oldskool sprites that always face the camera like on doom and things. I've done that with a special sprite shader that gets set at the end of the draw begin event after the 3d stuff is rendered, so the entire main draw event is reserved for instances with sprites and they can be drawn using the normal draw_sprite functions in their draw event like normal, the only extra thing that's needed is to set a uniform for the sprite's position eg.
shader_set_uniform_f(global.uid_sprite_pos, x, y, z)
draw_sprite(sprite_index, image_index, 0, 0)
Next week I'm gonna make some enemy ai, I've got it all planned out on paper