Skip to content
soyouwannagamedev
/
    Suggest
    • Home
    • Playlists
    • Saved

    Areas

    • Top-down
    • Platformers
    • Sprites and images
    • Tiles and worlds
    • Shadows
    • Light and glow
    • Camera
    • Motion and feel
    • Collision
    • Pixel look

    Project

    • Source code
    • Suggest a word

    Every preview is drawn live in your browser. Made for people learning game development.

    HomePlaylistsSource
    soyouwannagamedev
    • Home
    • Playlists
    • Saved

    Areas

    • Top-down
    • Platformers
    • Sprites and images
    • Tiles and worlds
    • Shadows
    • Light and glow
    • Camera
    • Motion and feel
    • Collision
    • Pixel look

    Project

    • Source code
    • Suggest a word

    Every preview is drawn live in your browser. Made for people learning game development.

    Collision

    AllPlaylistsTop-downPlatformersSprites and imagesTiles and worldsShadowsLight and glowCameraMotion and feelCollisionPixel look
    • Hitbox

      By Collision-tanAlso called hit box

      • Show the code
      • Godot: Area2D
      • Unity: BoxCollider2D
    • Hurtbox

      By Collision-tanAlso called hurt box

      • Show the code
      • Godot: Area2D
      • Unity: Collider2D.isTrigger
    • Interactive

      AABB

      By Collision-tanAlso called axis-aligned bounding box

      • Show the code
      • Godot: Rect2.intersects
      • Unity: Rect.Overlaps
    • Interactive

      Circle collider

      By Collision-tanAlso called circle collision

      • Show the code
      • Godot: CircleShape2D
      • Unity: CircleCollider2D
    • Interactive

      Raycast

      By Collision-tanAlso called ray

      • Show the code
      • Godot: RayCast2D
      • Unity: Physics2D.Raycast
    • Interactive

      Trigger

      By Collision-tanAlso called trigger zone

      • Show the code
      • Godot: Area2D
      • Unity: Collider2D.isTrigger