• 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!

projection

  1. Mehdi

    SOLVED Deactivate instances outside of a view? (Perspective Camera)

    Hello friends, I implemented Matharoo's 2.5d camera to add parallax effect to my game: Tutorial However as you may know using 3d projection matrices disables 2d view functionalities. (e.g. viewX,viewY, viewWidth, viwHeight) Now for the purpose of optimization I need to deactivate instances...
  2. P

    GameMaker Accessing Sprite / Mask As Vertices

    I'm currently trying to improve my project's implementation of shadow projections. Currently, the lighting system is very rudimentary, and works as follows: 1. Render a surface and populate it using all light-creating objects' lighting sprites 2. Calculate the projection of all shadow-casting...
  3. R

    3D A strange issue with D3D (I think it's a projection issue?)

    Hi everyone! I've been learning / experimenting with d3d in gamemaker the last couple of days, and I've run into a seemingly strange issue that I can't seem to quite decipher. Long story short, it seems that certain instances of particular objects are being projected orthographically (as in...
  4. Brenden

    3D Projection of a cube

    My goal is to draw a 3D cube made out of primitives, for each face, and have the perspective of the cube to be off centered to look toward the top left corner a bit. The one problem is that I want the front face to be perfectly 1 to 1; That means that it should look as if you were to draw the...
  5. J

    GameMaker GML Camera move

    hey! when i use: camera_set_view_pos(view_camera[0], 110, 510); to move around the room, it works fine. but then i make my own camera: camera = camera_create(); var pm = matrix_build_projection_ortho(1920, 1080, 1, 5000); var vm = matrix_build_lookat(960, 540, -10, 960, 540...
  6. J

    Trouble with simple 3d projection in GMS2

    Hello! I'm trying to create a scene in 3d that's largely static, but takes advantage of depth in order to create a beautiful parallaxing effect when the camera moves slightly or screenshake is applied. You can see in the bottom picture what I'm going for. Basically sprites acting like they were...
  7. R

    GameMaker unable to render 2nd perspective view

    kinda hit a strange road block in GMS2 today. I'm trying to use a depth buffer, but in order to get that far, I need another camera and perspective into the world. For some reason, the second camera is always static and flat unless I place it in the same object as the first rendered perspective...
  8. L

    3D draw_sprite_pos or 3D for a single Rubiks Cube?

    Hello, I'm making a Rubiks Cube solver. I now want to visualize the Cube itself and require the following: A single Cube (consisting of 3x3x3 smaller cubes or 3x3x3x6 smaller planes) The Cube cannot translate and is fixed in front of the camera. The Cube can only rotate around it's center (in...
Top