hijong park
Member
I hadn't made any 3D games yet, so I wanted to learn to make some basic 3D games this time.
I want to make Wolfenstein 3D style FPS or TPS, Where there's no height involved in the gameplay and characters are drawed with 2D sprites.
Since I couldn't find any basic tutorials for GM:S 3D, I had to search for the ancient game maker 3D tutorials.
Currently I managed to implement Basic FPS controls, shooting, 3D maze and enemies. But there are some graphical problems:
1. Textures look incredibly ugly. I remember some 3D games made with game maker, including GunGodz and 8-bit fighter. They had clean and sharp pixel graphics like Wolfenstein 3D or other classic DOS games. How to make the textures look clean like those games ? "Interpolate between pixels" does not work.
2. when more than 2 sprites are in the same line, other sprites are shaded by the invisible part of the closer object's sprite. I have no idea why it happens, I made the sprites to be used for 3D.
The way i displayed 3D graphics are simple.
var tex;
tex = sprite_get_texture(sprite_enemy,image_index);
d3d_draw_wall(x-12*global.camsin,y-12*global.screencos,24,x+12*global.screensin,y+12*global.screencos,0,tex,1,1);
global.screencos and global.screensin are used to make the sprites always face the camera, like sprites in Wolfenstein 3D does.
I want to make Wolfenstein 3D style FPS or TPS, Where there's no height involved in the gameplay and characters are drawed with 2D sprites.
Since I couldn't find any basic tutorials for GM:S 3D, I had to search for the ancient game maker 3D tutorials.
Currently I managed to implement Basic FPS controls, shooting, 3D maze and enemies. But there are some graphical problems:
1. Textures look incredibly ugly. I remember some 3D games made with game maker, including GunGodz and 8-bit fighter. They had clean and sharp pixel graphics like Wolfenstein 3D or other classic DOS games. How to make the textures look clean like those games ? "Interpolate between pixels" does not work.
2. when more than 2 sprites are in the same line, other sprites are shaded by the invisible part of the closer object's sprite. I have no idea why it happens, I made the sprites to be used for 3D.
The way i displayed 3D graphics are simple.
var tex;
tex = sprite_get_texture(sprite_enemy,image_index);
d3d_draw_wall(x-12*global.camsin,y-12*global.screencos,24,x+12*global.screensin,y+12*global.screencos,0,tex,1,1);
global.screencos and global.screensin are used to make the sprites always face the camera, like sprites in Wolfenstein 3D does.