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...
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...
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...
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...
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...
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...
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...
So above is a picture of a sprite that contains a very small font. My game is at 1920x1080 resolution and my monitor matches that as well. My problem is that when I draw this font to the screen (using the draw gui event), the font only appears clearly depending on where my mouse coords are (I am...
Hey guys, getting used to GMS2 now and trying to figure out the camera system. The current effect I am going for is for the camera to rotate to a certain angle on command. However I am currently having an issue where the screen just goes black anytime I use camera_set_view_angle().
The video...
I've been trying to get a seamlessly looping room working in game maker studio 2. If you ever played Yume Nikki or used RPG Maker its kinda like the room looping in that.
I'm a little new to using multiple views and haven't used surfaces before so I'm running into some trouble.
My current plan...
Hi guys,
Hoping someone has an answer for me (and it's probably an easy answer).
I am trying to deactivate objects that are outside a region (view plus buffer outside the view), and reactivate them as they come into the buffer zone.
The instances are deactivating fine, but only reactivating...
So I'm not sure if this has already been addressed for gamemaker 2.
I'm trying to figure out how to move the camera at sub-pixel increments for my game. I actually had this working in the older version of gamemaker but I wanted to upgrade. I am used to using views instead of this new camera...
Hi guys,
Any reasons you can think off as to why I am losing performance after going to Full Screen?
There isn't much in my game as far as objects are concerned (player, camera, surface, solids)
I have tried eliminating causes e.g. loading without surface layer, but still the same result...
I was recently 'pulling my hair out' trying to figure out why my code for drawing a cursor (without mouse_x and mouse_y) to a camera view wasn't working... and I'm still not sure.
I was using functions like camera_get_view_x(camera_get_active()); as suggested in a YT video I found "Using and...
So I wanted to try and make the view move dynamically between "subrooms". I created this system for subrooms, where when a player collides with a specific object, it will define the subroom, and a seperate object will define the dimensions of said subroom within the room. The camera object is...
GM Version: GMS2
Target Platform: All
Download: https://www.dropbox.com/s/6npeyqa27jj8tvv/cameras.yyz?dl=0
Links: Below
Summary:
A tutorial that covers creating a smooth camera and implementing panning and zooming.
I mainly made this tutorial to let people know that they don't have to use...
What would be the easiest way to make enemies in a 2.5D FPS game facing multiple directions? I'm thinking like Doom or Wolfenstein, or any 2.5D game really, where the enemies have different sprites for like 8 directions and they keep changing depending on what angle the player character sees...
This thread will serve as documentation for those who've purchased the asset
Check out the main page on Itch.io
Importing into your project
First thing's first.
How does everything work? Where do I start? How do I avoid breaking everything?
Controls
Explaining the code
There are...
Hey I made an option to switch the viewport: the viewports are exactly the same with the difference, that the border is bigger/smaller my code I used for switching the viewport is this :
if global.locked_cam = 1{
view_visible[0] = false;
view_visible[1] = true;
}
if global.locked_cam = 0{...