Torch and Multiple Lights Demo in Java 2D
The game was made from scratch, using the default Java class library.
Timestamps:
0:00 Buying some torches
0:50 Placing some torches on the field
2:30 Placing some torches in the dungeon
#javagamedevelopment #java2dgame #javaretrogame #gameprogramming
Пікірлер: 68
Hi guys, still a bit swamped with work and have no enough time & energy to create new tutorial videos. That said, I decided to upload a little footage to show what I implemented a while ago, to say hi! Hope you'll enjoy it 🙂 P.S. I want to send a huge shout-out to Daniel who gave me a great hint and inspiration to implement this.
@winhax4344
Жыл бұрын
Welcome back! Following through in Android Studio is so much fun! Although I am reverting back from Kotlin to Java.
@vipmember3315
Жыл бұрын
ty ryi wb man
@nrgepic1929
Жыл бұрын
Hey Ryi, love the content maybe could we get another game tutorial maybe
@indoorteacher1653
Жыл бұрын
Hello, I am needing help with a line of code for this tutorial. It is in the TileManager in the loadMap method. The line giving me issues is where we parseInt the numbers[col] String. it is giving me a numberFormat Exception. It says that it throws that when a String doesn't contain a parseable number. If you have any idea on what I could look at to fix this because I do not see where my problem is.
@johnwinters1705
Жыл бұрын
Thanks for another video would love to see another tutorial when you get enough time
He's back!!!
Great to see you back! I have been loving following along with your tutorials and learning more about Java programming!
@jacobcano5704
Жыл бұрын
AWESOME
This type of games will always be in my heart.I remembers playing simple java games on my old nokia phone,they had such a good storyline and kind of a mysterious lore.And for that reason I decided to research more into java games.I like that your are making secret hideouts and all that stuff.I might try to make a game myself
This is amazing, Ryisnow! It's great to see you back! I've been trying to implement this in my game, but it was way too difficult for me. I hope you upload a video on how to use multiple placeable lights!
Hello I am struggling to make this. How you did this? Any tips? Please
Love this! Great to se some content from this series again! I am on ep 54 and can't wait to see more! Great work!
This is so awesome! I wanna be able to make my own game some day so i don't wanna rip off everything lol, but you've inspired me to try. Right now I'm developing an rpg in unity but so much of it has transferred over and I'm figuring out ways on how to implement things you add/remind me of in my own way.
"Hi guys, this is Ryisnow! Last time, we implemented..." I followed you tutorial and I'm still developing my own game, it became something big and a demo is already available! All thanks to this amazing serie Ryisnow, so again, thank you and welcome back!
Commenting on this vid to say Please keep going. I am on the 3rd video in the playlist and loving it. Cant wait to get here!!!
Just a tiny supporting comment:), great to see you posted a new video👍👍👍
Very cool! Also great to see a new upload :D
It's great to see you back, man.
Great new video, they are very fun and informative
Look whos back making vids! :D
Amazing effort man, I have learned a lot from your tutorials, it may not be much, but hey, buy a beer with this!
@RyiSnow
10 ай бұрын
Thank you so much! It's been crazily hot here in Tokyo lately so I'll definitely enjoy a beer. Gracias!
Welcome comback guy.... Thia is amazing.... 😂👍
Great its back up!
Glad you're back
So great i love your video it's really helping me
Welcome back!!
Hooray!!! You're the best!!!
Awesome!
Hello, I am needing help with a line of code for this tutorial. It is in the TileManager in the loadMap method. The line giving me issues is where we parseInt the numbers[col] String. it is giving me a numberFormat Exception. It says that it throws that when a String doesn't contain a parseable number. If you have any idea on what I could look at to fix this because I do not see where my problem is. any suggestions from anyone. LOL
Which API'S did you use???
amazing!
Finally a new video!!!!
long time no see, hope u doing just great
This was really good but i would make the map have a day and night cycle and say the days that you have send in the game so you can use the torches to see at night
Hey RyiSnow! Still a big fan of this tutorial, again: a thousand thanks. I've made (like so many of us) a game thanks to your teachings and I'm now trying to implement a multiple source of lights system like you're showing in this demo. I understand you're swamped (and tired) but could you possibly share with us at least some clue as to how you did it? Pleeeeeeeaaaaaaase ha ha ha
Thanks so much for all you have done! Any chance you would share this? I have been trying to give my house and eventually other buildings light but no luck. So far thanks to you I have created a storage chest, treasure chests that drop from mobs and contain loot, and many other small things that really make this game my own. Without your base code none of it would have been possible. Thank you again even if you keep the lighting source for yourself. :)
wow! it would be great if you start a series of LWJGL :D
HES BACK !!!!!!!!
Hey Ryi, how are you doing? Can you give me a hand with implementing multuple lights. I ve created second class extending Lighting class checking all the objects with the light radius, then call it from environment method. I'm struggling that objects light circles are not drawing, so i'm little stuck🤦♂️
@RyiSnow
8 ай бұрын
What I did is basically create a world-size darkness filter as a light map and then update the filter whenever a new light source is added. Also, crop the filter to the screen size in every loop to reduce the performance drop. Hope this helps!
@Mrtargi
8 ай бұрын
@@RyiSnow thanks a lot
@Mrtargi
8 ай бұрын
@@RyiSnow but yo know, many of us are still waiting blue boy adventure returns😁
Greate job!!! Сan you make an edit so that the player moves diagonally?
Can you do a video about animated objects and circumstances?
Can you teach us how to add a black and white filter and/or a daltonism color filter to the game?
Will you make a tutorial for this?
Please next lessons platform game with java :)
Long time no see.
Hey been following the series and i would like to start some coding myself can you please tell me which software you have used for this and the settings you have set when making the project as well as any downloads that will be great thanks!! Or maybe even make a video on it 👍
@RyiSnow
10 ай бұрын
I used Eclipse for this project!
@bossman6167
10 ай бұрын
@@RyiSnow thanks for the reply is there any add-ons or preset settings u used thanks again love the content!!
@RyiSnow
10 ай бұрын
No add-ons or external libraries. As I explained in the first video of the series, we only use the default Java class library.
@bossman6167
10 ай бұрын
@@RyiSnow thanks !!!
Well friend when you have time you can start making a tutorial on how to create a Top-Down 2D game in java
Could you release code of this or make a tutorial video on how to make this?
Oh mighty Java wizard, could you please share some of your visdom and give a hint on how you achived this? I am struggling so hard on trying to do this on my own but I can't ;-;
@RyiSnow
10 ай бұрын
Can you be a bit more specific about the point that you're struggling with?
@schoolprojects9180
10 ай бұрын
Glad you're back@@RyiSnow! I am also in a quite similar situation. My game implements the stop screen moving feature when it reaches the edge of the map that you uploaded way back before as an extra video. Now, I'm having trouble because the light stays at the center of the screen, and doesn't follow the player when I reach the edge of the map. Upon seeing this video, It seems like you managed to give a specific entity its own light source, with its own location on the map. Can you enlighten us how to do so? I think with that, I'll be able to solve this bug. I would really appreciate it :). I've been following your tutorial and have learned a lot about programming since I started watching. You are the best!
@RyiSnow
10 ай бұрын
@schoolprojects9180 The lighting method I introduced in the series always draws the light at the center of the screen. If you have adopted the extra method (stopping the camera at the edge), you must also offset the light position when the player is close to the edge.
@schoolprojects9180
9 ай бұрын
Thank you for the response! @@RyiSnow
Amazing Stuff here man. The game is so simple yet the amount of work into it, makes me appreciate the effort into more realistic and professional games. Thank you again and farewell!
👋🧡👋🧡👋🧡👋
Je suis pret
Is crazy how you made a game using a tool(Swing), who is not maked for making games hahaha.
First