1. Dwighty4000

    GMS 2 camera view in new rooms?

    I have a game with a limited camera view that tracks only the player. What do I have to program if I want to enter a new room and the camera should follow now follow the player in the next room along?
  2. mar_cuz

    Design What Games Use This Projection

    Hi guys, What other games use this type of projection? I know earthbound, divine divinity and even the cool looking sock sock goes pop pop on this forum use this angle. Also, some platformers also use this style though I am looking for top down rpg style games that use it. Thanks
  3. D

    GMS 2 Yet another camera problem

    Hey guys, I have a problem with my camera. I created the "between player and cursor" object, using "mean()" function: Step Event (object between player and cursor): meanX = mean(PLAYEROBJ.x, mouse_x) meanY = mean(PLAYEROBJ.y, mouse_y) x = meanX y = meanY Ok? So, the problem is speed of the...
  4. The_Scientist___

    GMS 2 Cameras not Working with Multiple Layers

    I'm not sure if I'm being a complete idiot, but I'm still learning the new cameras system. I've created a room and the camera works fine, doing everything I want it to, but then I add a new layer to the room and then I can't see any objects. I know they exist, since I can see them drawing...
  5. C

    drawing objects on Camer X & Y after settings it from matrix_build_lookat

    hi guys, Im stuck! I have been doing some practice work and following some tutorials for smooth camera flow when following the player, However now I am trying to implement an inventory to the game. the problem I am running into is that by having a camera object that sets matrix_build_lookat and...
  6. Gunnar the Clovis

    GMS 2 [SOLVED] camera_set_view_pos Silently Freezes on HTML5 Target

    Hello, Whenever I run the function camera_set_view_pos on the HTML5 target, the game image silently freezes (meaning no errors are given). The game is still running as inputs are read and sounds can be played when inputs are made, the game can be restarted, but the image is completely frozen...
  7. T


    Any time I use view_camera[0] in HTML5 the game freezes. Is there another way I can manipulate cameras without assigning a camera? Can I manipulate the default camera at all without assigning viewports?
  8. E

    Blurry sprite movement

    I know this question has been asked many times, but I'm having great difficulty moving forward with my game. It seems that no matter what I try I can't remove blurring when my sprites move. I recently started a completely new game for testing with just one 32x32 sprite and simple code to move...
  9. I

    Android [SOLVED] Camera screwing up graphic

    Hello everyone, I'm so sick of this problem and 'Ive been trying to solve it for such a long time, that I've decided to look for help somewhere else. I'm talking about cameras. In all of my games I have one big problem with cameras. And that is smooth camera movement to player. I have this...
  10. M

    GML camera following multiple players (pan, zoom, no splitscreen)

    Hi All Im very new to this forum and im writing, because i couldnd figure out how to do this, and the google search didnt help. I d'like to make the camera following multiple players with moving and zooming (no splitscreen). The aspect ratio should always be 16:9. Look at the sketch: In...
  11. Wainggan

    Camera not center with character

    While playing around with stuff, I made the camera follow the player. It worked, till suddenly the player is not in the center anymore. It is a few pixels to the right and I have tried everything I could think of, with no prevail. I am completely new to this so I don't know if I missing...
  12. LanderMiskolczi

    Legacy GM Camera Wont Shake

    For some reason my camera wont shake, when I press H the screen should shake, but instead it stays still like normal. Here is the step event /// Follow the player if (instance_exists(oPlayer)) { var xTo = (oPlayer.x - x) / 25; var yTo = ((oPlayer.y - 16) - y) / 25; } x += xTo; y += yTo...
  13. J

    Looking up/down

    Hello everyone. I am making a platformer game and I want the player to be able to look up or down while holding the up or down key for a few seconds. I haven't done much with alarms, so I don't totally understand them. I have the camera movements working, but I'm not sure how to implement an...
  14. jtmx

    3D GMS2 Virtual Reality (Mobile device) camera look

    Hello all, I'm working on a virtual reality game for mobile devices and I'm trying to get the game camera to pitch, yaw and roll with the device's gyroscope using device_get_tilt_* functions. I've come across an issue though, the game camera's pitch (device_get_tilt_z) moves up and down with...
  15. S

    How to drag the camera at high x_border value

    I use the following code: view_enabled = true; view_visible[0] = true; var width = 480, height = 270, scale = 2; var cam = camera_create_view(0,0,width,height, 0, object0, -1, -1, 430, height/2); view_set_camera(0, cam); window_set_size(width*scale, height*scale)...
  16. A

     Can no longer save, change, then re-apply camera view and projection matrix.

    Can no longer save, change, then re-apply camera view and projection matrix. If I try to, 1: Save my current 3D camera matrices. 2: Set my camera to use new 2D matrices for temporary drawing. 3: Reset back to the saved (3D matrices. The 3D camera seems to be upside down. Before the update...
  17. U

    player only shoots to the right, camera doesn't follow player, enemy won't follow player (error)

    Hello and thank you for reading this post! I'm terribly sorry that these questions are probably really dumb! I am making a 2d zombie shooting game as a project for school, but I'm not very good with GameMaker studio 2, in fact, I'm a complete noob.. I'm using Drand and Drop, but sometimes I use...
  18. D

    TBOI HP Style/Camera

    I want to make a room in center, and 16 grey pixels with HP and something around room (first screen). If it's small room, everything is okay, but in high room gray lines will be visible only at the edges of the room. I need this gray rectangle to always follow me, and health over it. How can i...
  19. Meester Dennis

    Android Panning mobile

    Dear people, I'm looking for an tutorial, extension or some help with panning in an mobile game. I'm trying to create an way to swipe with my finger true the room. So te player can swipe and see everything. I already tried something. My resolution script is: (I'm in the team off Pelistar now...
  20. A

    Camera doesn't follow player in duplicated rooms

    Hey guys, I'm stuck at this problem : I'm doing a Roguelike and I want the player to go randomly through some pre-generated maps. I got one map ready (just a straight path from left to right) so when player hits the right end of the path I make him spawn in the next room where the blue circle...