Windows Warp3D - Game Engine, Level Editor & Model Editor

Discussion in 'Work in Progress' started by Joe Ellis, Mar 12, 2018.

  1. Amon

    Amon Member

    Sep 13, 2016
    That's pretty cool.
    Joe Ellis likes this.
  2. Joe Ellis

    Joe Ellis Member

    Aug 30, 2016

    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
    Ches Rowe, JaimitoEs and Cpaz like this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice