camera

  1. Tommah

    Asset - Scripts Simple Cutscene Asset

    I released a series of scripts to the Marketplace that allows you to use popular cutscene effects very easily and is very customizable to your game. All you really need is 3 scripts to activate the cutscenes (Create Event, Step Event, Draw GUI Event). Then whatever you want the cutscene to do...
  2. I

    Object not showing in Camera View! ( GMS2)

    Hello developers, I seem to have a problem with a camera object of mine, my game is a 2D game that has a 3D perspective, the thing is I have a main camera that shows the screen and stuff and it works perfectly fine, I decided to add another camera that focuses on the "player object" and...
  3. B

    Cameras and files question

    EDIT: Putting this at top because its now the main question but i am still not sure whats with the playerachievementcache.dat file in the programs files i think i probably posted this in the wrong area before so i'll repost it here: ok so i have a script that will either create a new game and...
  4. C

    GMS 2 Issues with View System Compatibility With Regards to HeartBeast's Turn-Based RPG Course

    I'm taking HeartBeast's Turn-Based RPG course and I've been having a bit of trouble with converting it to GMS2 in regards to the new view system. Here are the compile errors I got: Script: view_approach at line 14: unexpected symbol "=" in expression Script: view_approach at line 14: malformed...
  5. R

    Discussion What Does Viewpoint Properties in Room Settings Do?

    Hi, new to GameMaker (v2). When setting up the Camera Properties in my Room Settings, I also notice something called Viewpoint Properties... I can't seem to find much info on this. What does this do, and does it need to be the same size as the Camera Properties?
  6. P

    GMS 2 Me and my hopeless Camera System

    So... I seriously, desperately need help with this thing. I wanted to try and figure this out on my own, to not have to bother you all about it... to no avail. It's been weeks since I tried to implement this stupid thing, and I still can't figure it out. So... nya. What I'm trying to do: I am...
  7. PartTimeCrazy

    GMS 2 How to make this camera code work for iPad?

    So i've used the camera tutorial that is part of gamemaker and I *think* I understand it but i may be missing something. This is the code I have set up: theWidth = 812; theHeight = 375; view_enabled = true; view_visible[0] = true; view_xport[0] = 0; view_yport[0] = 0; view_wport[0] =...
  8. P

    Windows Creating a camera to the following specifications...

    Hello! The issue I bring you today is one that's been stumping me for weeks, so I thought I'd bring it to some individuals who perhaps know a bit more than I do. I'm trying to make a camera for my game that functions in an... unorthodox way. At its core, it's simple: it follows the player...
  9. S

    Legacy GM [Solved] make camera fake being at edge of screen

    I want the camera to follow the player but not show empty parts of the room. For example in some Mega Man games the camera will follow the player as though their about to fall down a pit at the bottom of the screen until they get close enough then the camera will follow them down the pit to a...
  10. S

    Legacy GM Strive toward the perfect camera code

    I am making a camera code. It looks like this: var length = point_distance(obj_player.x, obj_player.y, mouse_x, mouse_y) /2; var dir = point_direction(obj_player.x, obj_player.y, mouse_x, mouse_y); view_xview[0] = lengthdir_x(length, dir) - 960; view_yview[0] = lengthdir_y(length, dir) - 540...
  11. E

    Android Android extension exception3 exception:null

    I have encountered a major difficulty when developing a native camera extension for Android. Here's a link to what I could come up with, pretty much copy and paste from stackoverflow but using GM's RunnerActivity and async events. https://github.com/ericbunese/GameMakerStudioAndroidCameraClass...
  12. Pixelated_Pope

    GMS 2 GMS2 Cameras: As simple as possible

    GM Version: GMS2! Target Platform: All Download: see video Summary: A quick video that shows you how to get cameras working in GMS2 with as little effort as possible. Tutorial: Here's a link to the resolution series I mention in the video.
  13. G

    Camera Object Won't Read Variables (SOLVED)

    (TL;DR version - I'm having trouble with the codes shown in the image. The game acts like the "view_w_half" and "view_h_half" variables don't exist on the step event page, and only uses the data they stand for if I put the data itself into that place)...
  14. Mythi.T

    GMS 2 Window size changing

    I want to have my game go from full screen to not full-screen and keep the resolution and pixel perfect stuff the same My idea was: When the window goes to fullscreen, the viewport would also be set to the size of the window, and the camera of that viewport would be set the the size of the...
  15. qbot21

    GMS 2 How to display objects in certain viewports/cameras?

    Hello everyone :) I'm fairly new to the GM2 camera system. Im working on a small prototype of pc board game. The main idea for UI contains fullscreen, scrollable map (done) and player cards shown on top of the map and 'moving' with view when player navigates the map. Here's the problem. For...
  16. L

    GMS 2 Respawning enemies and traps (outside of view_camera)

    What would be the best way to make objects (like enemies and traps) to respawn at their original position if destroyed/left behind AND left outside the view_camera? (like old school NES games). My current code works like it deactivates everything and activates everything within my view_camera...
  17. K

    Question - Code SOLVED - Where should I make changes to a viewport

    CONTEXT: I am making a 2D platformer, I am using tile map collisions for all my solid objects (floors, platforms, etc...). I want my player to be able to go off screen when entering a doorway to a new room, and only when the player is fully off screen will they go to the new room. A tile map...
  18. L

    GMS 2 "Resetting" objects outside camera view

    Hello, i'm wondering what the best way could be to make objects that go outside my view_camera[0] to "reset". For example if im in a 2d platformer and move forward (to the right) and kill some enemies & run past some enemies then go backwards (left) i want them to respawn where i put them in...
  19. S

    GMS 2 [SOLVED] Weird noob camera issue

    I'm having a weird issue with the camera in GMS2. I have a room that starts completely empty, and all layers, tilemaps, and instances are generated dynamically in a script that runs in the room's creation code. The camera and viewport are set in the Room Editor with a resolution of 1280 x 720...
  20. samspade

    Asset - Project Camera Asset Pack

    Available for GMS 2 Description This project contains a simple to use and flexible camera system that adds several important camera features such as zoom, shake, rotational shake, shake that works in delta time, resolution control, and more. It is designed to be easy to use. In addition to...
Top