gasilpainting.blogg.se

Gamemaker studio 2 coding tutorial
Gamemaker studio 2 coding tutorial













You're getting a lot of "JUST LEARN" responses simply because that is the best advice and the most practical advice that you're going to get out of a subreddit with beginners and veterans alike as well as the occasional computer science lurker (me).

gamemaker studio 2 coding tutorial

For clarity, I am not trying to ledge grabs on slopes I am only looking to ledge grab on right angles like in the photo:Īnyone got any ideas or have encountered this before? I haven't been able to find very many references for ledge grabbing in general outside of HeartBeast's tutorials and episode 44 of this Udemy course both of which use object-based collision. The tile collision system I am using comes from Shaun Spalding's set of tutorials for tile collisions and slopes. If (wallhold < wall_hold_max) else return -(TILE_SIZE - (argument2 mod TILE_SIZE)) Onledge = ((InFloor(tilemap,bbox_right+1,bbox_top) >= 0) - (InFloor(tilemap,bbox_left-1,bbox_top)) >= 0)

gamemaker studio 2 coding tutorial

Grounded = (InFloor(tilemap,x,bbox_bottom+1) >= 0)

#GAMEMAKER STUDIO 2 CODING TUTORIAL HOW TO#

I am not really sure how to look for the edge of a tile which is what I am trying to do with the "onledge" and "wasnt_wall" variables.

gamemaker studio 2 coding tutorial

I have a tile-based platformer and I already have wall jumping and sliding working fine but I can't seem to get ledge grabbing working with the tile collisions. Need Help - Ledge Grabbing with Tile Collisions













Gamemaker studio 2 coding tutorial