(Extra) Useful Functions - How to Make a 2D Game in Java

preview_player
Показать описание
In this video, I will introduce two debug functions that can be useful when you construct your world map and place objects.

#java #2dgame #development
Рекомендации по теме
Комментарии
Автор

*If you are using IntelliJ:*

You can save the edited text file by pressing Ctrl + F9 or selecting Build > Build Project. Which will re-build the project and you can apply the change by pressing R key.
In Eclipse, you can save the file by pressing Ctrl + S.

Thank you Lorenzo for reporting this!

RyiSnow
Автор

Oh, new video come out sooner than expected. Thanks for that🤗

ganbarimasu
Автор

I just want to finish my first game on Java and then imma go through Ryi's playlist to make this game :D

GustavoHR
Автор

This was extremely helpful, thanks so much!

pikachusglitch
Автор

From the beginning of the tutorials i made a debug functions, like display RED lines that covers the solidAreas, that was very useful when i didn't see a npc who was doesn't displaying his image, but in debug mode, i can see his solidArea moving hahaha

latanqueta
Автор

The cord debug is gonna make my time ith map deving so much easier. thank you!

Mypremiumacct
Автор

This is super useful as i was planning to create another play area ( new map)

sydhkl
Автор

I have an idea about collision detection with this, so tile can indexed using player position, if index of tile is solid, player velocity can be set to 0, if index of tile is interactive, player can change tiles with new id/value.

caareystore
Автор

Thanks for the passion in making the videos RyiSnow! When I press R refreshing map doesn't work (folder src). When I apply changes manually (folder build/classes) refreshing map works! Ps. Sorry for my bad english :)

lorenzo
Автор

Hey! I'm on the 12th video (tileset), did everything exactly as you did and when I run my program, I can't move, music's not starting, counting not starting etc. Any help? Thanks

fishndive
Автор

In my case, the refreshing map doesn't work. I use IntelliJ IDEA and i tested everything (try-catch, debugging..) PLEASE HELP

kikismine
Автор

How do I get the game's fps and draw it in debug?

luciuscouto
Автор

Hey bro, i have been following the series for a long time, i have a question how to break the tile, i tried making the player interact with swords with the tile but it can't break the tile and it gives me a lot of errors :(((

trala
Автор

Bro one request please share that code in description 😅😅😅

prathipkumar
join shbcf.ru