• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

3d camera

  1. atma505

    GameMaker Using Shaders for Sprites in 3D

    I'm looking into methods for having sprites "face" the camera when projecting in 3D. In GMS1, I drew a wall using the sprite as its texture. I'm sure a similar effect could be achieved using vertices in GMS2. However, it seems that shaders have the capacity for manipulating the X, Y, and Z...
  2. ConstaChymic

    Question - Code Default vertex & fragment shader when lighting is used?

    Hi. I'm wondering what default glsl scripts are used when you are drawing things in 3d and are using lights. I've been trying to make my own but I cannot for the life of me figure out how to use any of the gl_* variables provided (bar a few such as gl_Fragcoord and gl_Position), as most of my...
  3. jujubs

    3D Camera tilt

    Hey there everyone. I've been trying to get my camera to tilt when I turn my character around in first person. The "camera" turns along with the image_angle. So I have a variables that defaults to 0, but changes between .5 and -.5 whenever I'm turning. My projection code currently looks like...
  4. Y

    3d get device x and y [Solved]

    Hi everyone, i have a problem, when a set 3d camera to a view, the device_mouse_x and device_mouse_y stop working, so how can i check two or more mouse on mobile?
  5. FHD

    Job Offer - Programmer Looking 4 Experienced Programmer with 3D in GM1/2

    Hello everyone, As subject said, I am in need of an experienced programmer with 3D side of GM, to hire. I am interested to add some 3D features to my current project. There would be a lot of 2D billboarding and flying through them on the 3 (x,y,z) axis. Please send me a message if it sounds...
  6. E

    Windows 3-Dimensional Camera Setup in GMS2?

    Hey people, I was just wondering as to how I would be able to set up a camera system that works in a three dimensional space in the latest version of GMS2. I have some prior experience with the D3D systems that were used in GMS1 but I've been told that there is a way to do this in GMS2 without...
  7. M

    Legacy GM 2d Isometric while using 3D functions?

    Hello, I was recently getting back to some of my old projects and decided to make an isometric game. First of all, my walls are basically just flat 32x96 sprites, to put them in isometric state, I just used function "draw_sprite_pos(...)" using which I could turn square into a paralelogram/romb...
  8. T

    Creating a 3D sphere

    I've been messing around in GMS2 and have found that the I quite like the new environment after I got used to it. Outside of the workspace though XD. There's not enough room to see everything on my 1920X1080 monitor. Sadly, I really am miffed to see some of the old 3D functions I liked go...
  9. D

    Legacy GM 3d camera follow mouse [noob problem]

    I'm working on a first person 3d game and I have most of the basics built but I'm stumped on how to properly have the camera controlled by the mouse. right now I use a buffer zone along the edge of the screen and when the mouse is inside that zone then it moves the camera. my idea of how itd...
  10. C

    3d Game Camera

    So I have a great game idea and all but I think it'd be more appealing if it was 3d! I'm asking if there's a simple tutorial or script I could use to make a 3d game! Thanks!
  11. C

    GameMaker Static Background in a 3D Game

    So basically I have a 3d racing game where the player drives through a 3d environment. Everything seems to work so far! What I'm stuck on now is how to create backgrounds that don't move when the camera changed direction and doesn't grow or shrink. This might be similar to how the original Super...
  12. D

    3D *help* 3d direction based camera rotation isnt smooth

    the above image is just the camera rotation around but it isn't smooth, if you notice it sometimes goes smooth and then itll go fast. also periodicaly when this issue is happening the character wont walk forward but at an angle. so im thinking I have something messed up with how im manipulating...
  13. T

    GameMaker [3D] Why is the z axis upside down?

    @flyingsaucerinvasion and I have been trying to find out why triangles drawn in GMS2 are drawn facing down. Basically done using: //The first triangle vertex_position_3d(vb_name, 0, -h_size, -v_size); vertex_color(vb_name, c_white, 1); vertex_texcoord(vb_name, 0, 0); vertex_position_3d(vb_name...
  14. M

    Perfect 3D Camera Rotation

    GM Version: GMS 1.4 Target Platform: All Links: Basic First Person Camera Tutorial by The Sivart: Summary In this tutorial I will show you how to code a 3D camera rotation that can be done with the mouse. Compared to other 3D camera rotation codes with this one you can look anywhere from...
Top