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?
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
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...
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...
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...
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...
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?
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...
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...
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...
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...
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...
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...