Custom Font - How to Make a 2D Game in Java #16

  Рет қаралды 19,602

RyiSnow

RyiSnow

Күн бұрын

Пікірлер: 53
@LolBruh
@LolBruh 3 жыл бұрын
Please keep going with this series, it's insanely helpful!
@MichaelBrown-j2k
@MichaelBrown-j2k Жыл бұрын
Amazing work with these tutorials, haven't learnt more in 2 days than what my OOP university course taught me in 4 months.
@brendanhannum5904
@brendanhannum5904 2 жыл бұрын
Great stuff. I had Unity stop working for me a few weeks ago and was unable to do game jams with my friend. Your videos have allowed me to create all the same functionality I needed for 2D games, but in my favorite language.
@casanova9428
@casanova9428 3 жыл бұрын
Your videos are so insightful! I love your content. Keep it up!
@RyiSnow
@RyiSnow 3 жыл бұрын
Thank you!
@arukali319
@arukali319 3 жыл бұрын
It is amazingly interesting and helpful to learn techniques of making a self-defined game, which has always been my dream since I was a kid. Much love for it and thank you so much for your detailed and kind sharing of this series!🥰
@RyiSnow
@RyiSnow 3 жыл бұрын
Glad you enjoyed it!
@d1legends157
@d1legends157 3 жыл бұрын
No spoilers I’m only on episode 8 but following along! Just wanted to say I love your videos and please never stop :)
@RyiSnow
@RyiSnow 3 жыл бұрын
Glad you like it! It's a long series so no need to rush. Thank you for the comment.
@d1legends157
@d1legends157 3 жыл бұрын
@@RyiSnow Of course, I’m really enjoying the series so far! Do you think you could do another series in the future where you create a 3D game from scratch? Like a MineCraft clone?
@RyiSnow
@RyiSnow 3 жыл бұрын
Sorry but I'm more of a Terraria guy so if I would make a sandbox tutorial, it will probably be something like that.
@d1legends157
@d1legends157 3 жыл бұрын
@@RyiSnow I would love to follow along with a Terraria tutorial! I think there is so much to learn about player environment interactions. I’ve learned so much from you! I was able to create a 2D Space Simulation with my classmate using your game tutorial for how to understand the graphics. I just saw that you released a video on player health today and I’m excited to watch it! :) Please keep making videos, you are so knowledgeable!
@RyiSnow
@RyiSnow 3 жыл бұрын
@@d1legends157 2D Space Simulation sounds interesting! Good job!
@marcusmartin2012
@marcusmartin2012 3 жыл бұрын
Hi RyiSnow, I really like your series, good explanations and covering all the major aspects of game programming. Recently I got interested in parallax (background) scrolling to create a 3D-illusion for a sidescroller I started creating. Unfortunately it's hard to find good information about that topic, especially coding it in Java. Maybe you could make a tutorial on that topic in the future. The effect looks so beautiful. Greetings from Germany!
@RyiSnow
@RyiSnow 3 жыл бұрын
Glad you liked it. If I have a chance to create a side-scroller, I'm pretty sure I will try parallax scrolling!
@nadinewalter-lang9333
@nadinewalter-lang9333 8 ай бұрын
Thank you for alle your videos!
@cueio7454
@cueio7454 Жыл бұрын
Hello, I'm having problems, it seems that there is some conflict going on between the dialog screen and the "DrawTime" because the font works, but when I open the dialog window it stops working
@holmdev
@holmdev 3 жыл бұрын
Smart and very good to know
@the_not_so_great_unknown2170
@the_not_so_great_unknown2170 22 күн бұрын
After changing the fonts the debugging dont work anymore, how to fix.
@kevincolgan6651
@kevincolgan6651 3 жыл бұрын
really enjoying this. Just a question are you going to animate the water ?
@RyiSnow
@RyiSnow 3 жыл бұрын
Not in my current plan but maybe in the future!
@cedricsahaghian1605
@cedricsahaghian1605 Жыл бұрын
Thanks for the tutorial!
@OneLatteComingRightUp
@OneLatteComingRightUp Жыл бұрын
For me it says that the font file is too big! Can you please help me?
@nickolasthompson431
@nickolasthompson431 2 жыл бұрын
Is there a way to put more white space in between the letters of my custom font? I have a font I really like, but at a small font size it looks very crammed together.
@atomolson5697
@atomolson5697 2 жыл бұрын
Try Font.MONOSPACED
@caareystore4858
@caareystore4858 2 жыл бұрын
Hey, your videos are good, can you make video about editing tiles? Like planting trees
@d1legends157
@d1legends157 3 жыл бұрын
Could you implement a third dimension in the player class and draw a 3D player?
@Melvin-14
@Melvin-14 2 жыл бұрын
no
@MrLoser-ks2xn
@MrLoser-ks2xn 2 жыл бұрын
Thanks!
@MrLoser-ks2xn
@MrLoser-ks2xn Жыл бұрын
🥰🥰🥰
@Clipaholick
@Clipaholick 3 жыл бұрын
lets go!!
@sonnguyenhuuhoang8233
@sonnguyenhuuhoang8233 3 жыл бұрын
Cool
@Darkns
@Darkns 2 жыл бұрын
doesn't most programmers make their own font by creating a sprite sheet with the font letters and use it as their own custom fonts?
@Melvin-14
@Melvin-14 2 жыл бұрын
not most programers use this, but yes some do, this is a common practice but peopple use but it is totally fine to use other peoples Fonts if they allow it
@tickus5906
@tickus5906 3 жыл бұрын
Pls can you start series about modding " Minecraft "
@Melvin-14
@Melvin-14 2 жыл бұрын
he probbly doesnt know anything about the Forge librarys / fabric libraries
@imnotbeluga007
@imnotbeluga007 2 жыл бұрын
This style suspiciously looks like Undertale...
@dcwavie
@dcwavie Жыл бұрын
XD
@RandomHandle-r2q
@RandomHandle-r2q 2 жыл бұрын
Anyone know why I am getting the error, "Problem reading font data."? Help would be very appreciated !
@RandomHandle-r2q
@RandomHandle-r2q 2 жыл бұрын
The full error is: java.io.IOException: Problem reading font data. at java.desktop/java.awt.Font.createFont0(Font.java:1204) at java.desktop/java.awt.Font.createFont(Font.java:1073) at main.UI.(UI.java:31) at main.GamePanel.(GamePanel.java:43) at main.Main.main(Main.java:14)
@Richardsyootube
@Richardsyootube 2 жыл бұрын
@@RandomHandle-r2q Did you figure out your issue? Sounds like the path getting passed to getResourceAsStream() might be written incorrectly. If you are still experiencing the issue you wrote about 2 months ago, maybe you could paste your UI constructor method code here so other commenters can help debug.
@edboss36
@edboss36 Жыл бұрын
change the input stream line to: InputStream is = this.getClass().getClassLoader().getResourceAsStream("Font/DisposableDroidBB.ttf");
@edboss36
@edboss36 Жыл бұрын
you see we added a .getClassLoader() inbetween and it worked
@VasiliyNikitin
@VasiliyNikitin Жыл бұрын
@@RandomHandle-r2q its help u: public UI(GamePanel gp) { this.gp = gp; try { InputStream is = getClass().getResourceAsStream("/font/x12y16pxMaruMonica.ttf"); maruMonica = Font.createFont(Font.TRUETYPE_FONT, is); is = getClass().getResourceAsStream("/font/Purisa_Bold.ttf"); purisaB = Font.createFont(Font.TRUETYPE_FONT, is); } catch (FontFormatException e) { e.printStackTrace(); // throw new RuntimeException(e); } catch (IOException e) { //e.printStackTrace(); //throw new RuntimeException(e); } }
@sonnguyenhuuhoang8233
@sonnguyenhuuhoang8233 3 жыл бұрын
Cool
Title Screen (+Extra) - How to Make a 2D Game in Java #17
29:39
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,4 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
How to make Pixel Art Fonts!
9:23
Pixel Overload
Рет қаралды 92 М.
I added reflection to C++ just to make my game work.
16:30
Drawing Tiles - How to Make a 2D Game in Java #4
27:26
RyiSnow
Рет қаралды 164 М.
What if Old Minecraft Mobs were Created Today?
28:05
KazooCat
Рет қаралды 772 М.
Make a Pixel Art Font - Beginner Tutorial
11:45
MortMort
Рет қаралды 74 М.
What's the deal with this font?
3:52
T2norway
Рет қаралды 835 М.
Why Fonts Look Better on Mac Than on Windows?
3:01
Bog
Рет қаралды 54 М.
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 598 М.
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН