C
Cxwli
Guest
I'm pretty new to GameMaker and I'm trying to follow the space rocks tutorial. I'm on Space Mods part 2 right now, but I've run into a problem with the obj_camera object; the engine treats it as if it doesn't exist. Changing values in the object's code doesn't have any effect, and when I put breakpoints in it the game doesn't stop once.
The Room Start code that's being ignored:
Here's a link to the project folder for people more experienced to rummage through, would love to get back on track.
The Room Start code that's being ignored:
GML:
/// @description Cam setup
// You can write your code in this editor
camX = 0;
camY = 0;
target = obj_ship;
camWidth = 512;
camHeight = 384;
view_enabled = true;
view_visible[0] = true;
view_set_camera(0, view_camera[0]);
camera_set_view_size(view_camera[0], camWidth, camHeight);
displayScale = 1;
displayWidth = camWidth * displayScale;
displayHeight = camHeight * displayScale;
window_set_size(displayWidth, displayHeight);
surface_resize(application_surface, displayWidth, displayHeight);
alarm[0] = 1;
Srocks.rar
drive.google.com