Code-It-Yourself! Simple Tile Based Platform Game #1

preview_player
Показать описание
This video shows how to make a simple yet smooth tile-based 2D platform game, similar to classic offerings from older consoles. It uses nothing but the Windows Command Prompt to demonstrate robust collisions between the scenery and the player. All collisions are resolved using floating point truncation. No geometry.

Shout outs to Brankec on Discord (known as GearCode elsewhere) for the request.

Twitter: @javidx9
Twitch: javidx9
Рекомендации по теме
Комментарии
Автор

I went from developing in C to developing in C++ because of your fun and interesting videos <3

ethangarnier
Автор

buddy, I want to make a public acknowledgment to your work...
you explain briefly, clearly and extremlly good.
I have learned a lot from C++ programming just by watching your videos.
Best thing of all, they're fun...
greetings from Venezuela.

DavoMelendez
Автор

16:50 "not that impressive so far"

I mean, I think its pretty damn impressive to get that much up and running with so few lines of code, and so elegantly. The olcGameEngine is pretty solid NGL. Orders of magnitude better than the engine I wrote in college to make a similar game concept for a final project where even getting this much of the game up and running would have been ~300+ lines of code (not including level design).

Nikarus
Автор

Love your videos, even if I already know these things, I like to see your way of teaching them.

Inevitablerizzler
Автор

You have no idea how helpful this is! I've done so much searching online for a simple yet effective way to implement collisions in 2d platformers only to come up with solutions with mediocre results. After so many pages of sketches and code the solution was to check the corners based on where the player was moving... Awesome!

SWAGCOWVIDEO
Автор

I've been looking for a good answer to collision detection for a few days now and I can't believe how almost perfect this advice was for my situation, much more simple to implement and just as robust in my situation as anything like minkowski differences and anything else etc. This video was a great help! Thanks :)

wixic
Автор

Your videos have helped me learn C++ so quickly. Thank you for the high quality content

biosigil
Автор

Using the idea of your algorithm I created more accurate way to detect collisions in my game. Thanks a lot.

maximgasai
Автор

I did indeed forget it was the console window.
Classy.

RogueShadowTCN
Автор

I really enjoy the way you explain your coding approach to solving the game scenarios. Well done.

simmonscarl
Автор

Your channel should have much more views. I really enjoy your work. Cheers from Turkey!

mansursgmn
Автор

I love this channel so much.
Bro, thanks. I have learned a lot with u videos. Love from brazil! Keep it up 💪

iaml
Автор

Thanks so much for making this, even if I don’t follow along in all these videos it gives me a good idea on how things are working together in the code

zal
Автор

"Take that visual studio code"
Me: *Laughs in overtype extension*

guylianwashier
Автор

Thanks a LONG LONG INT number of millions for your fantastic videos! Keep them coming

ramonlopeznote
Автор

Awesome! Another javid video. Liked before seeing :)
Thank you very much for these.
Looking forward for more!

aryesegal
Автор

Your videos are what I have been looking for when it comes to tutorials. Thank you for making these!

wailsinspace
Автор

This is by far one of the best programming videos ive seen on YT.

Totally OUTSTANDING!

Angel-VTek
Автор

Fantastic videos you make, so clear and understandable!

denisureke
Автор

Very similar to the Collision detection I was using for the platformer I was Tinkering with Javid, Since many tutorials I see online suggest all sorts of stuff like checking every tile within specified vicinity etc .... Its nice to see someone else starting with the corners like I decided to do as well... I test the 4 corners, Then I test middle bottom +1 block in the Y axis to decide if the jump/falling Flag should be set or not.

seditt