Creating a Floor in Pygame for Character Collision Detection

This tutorial demonstrates how to create a floor in Pygame that detects when a character moves below it and teleports the character back above the floor, ensuring proper collision handling.

Creating a Floor in Pygame for Character Collision Detection
Sam Whitby Coding
1.8K views • Dec 5, 2020
Creating a Floor in Pygame for Character Collision Detection

About this video

This video shows how to make a floor in pygame, this code detects if your character has gone slightly under the floor, and will teleport it back up. These videos are concise and simple, and it would be extremely helpful to press the like button and subscribe to the channel.

Patreon: https://www.patreon.com/samwhitbycodes
Twitter: https://twitter.com/CodesWhitby
Maths Channel: https://www.youtube.com/channel/UCK0NB-IXzVcPjxP8YbeeUVA?

Tags:
computer,science,computer science,code,coding,sam,whitby,sam whitby coding,sam whitby,whitby coding,ict,computer science gcse,aqa,ocr,edexcel,gcse computing,gcse computer,gcse computer science,tutorials,tutorial,how,to,how to,codes,programming,program,gcse,floor,ground,floor pygame,ground pygame,make a floor pygame,create a floor pygame,collisions pygame,python,pygame,create floors in pygame,floors,create floors,make floors,make floor,create floor

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

1.8K

Likes

10

Duration

1:42

Published

Dec 5, 2020

User Reviews

4.0
(1)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.