Step:

if (instance_exists(follow))

{

xTo = follow.x;

yTo = follow.y;

}

x += (xTo - x) / 25;

y += (yTo - y) / 25;

x = clamp(x,view_w_half,room_width-view_w_half);

y = clamp(y,view_h_half,room_height-view_h_half);

camera_set_view_pos(cam,x-view_w_half,y-view_h_half);

Create:

cam = view_camera[0];

follow = Chub;

view_w_half = camera_get_view_width(cam) * 0.5;

view_h_half = camera_get_view_width(cam) * 0.5;

xTo = xstart;

yTo = ystart;

Chub is the player BTW The camera wont follow the player



0 comments

Loading...

Next up

AND WERE BACK!

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

You should check out this horrible album I made I guess (Its free!) https://mrbrainmattermusic.bandcamp.com/album/clowns-in-love throw me a follow or a like 2 pls

Play @pm-studios ' Bandit Trap Open Beta!

Grab your rocket chairs, vacuums, and toilet tornadoes! Report one more time for our final beta! Live through March 23rd 6 am CET.

Complete quests based on the game!

Play the beta: https://bit.ly/BanditTrapBeta

#MyFavoritePokemon #Pokemon Sableye doesn't get that much love... that's kind of sad but still there my favorite Pokemon BTW I made the sprite

King of The slime Incident (Haven't drawn in a while sry in advance)

BIG NEWS: Your Bandit can wear a Game Jolt hat and shirt in Bandit Trap!

Defend your home or steal treasure in the open beta: https://bit.ly/BanditTrapBeta

It ends on March 23rd at 6 am CET!

Pokémon Archaic And Mosaic. This Pokémon Fangame is gonna be set in the Dampalia region based on Australia gonna post these once a day. 1-Starters