*CORRECTION* I set the player's leveling up text to the dialogue array in the setDialogue method which is called from the constructor but this turned out to be a bad idea. Since the text contains a variable (level), we need to update it every time the player gains a level otherwise it always displays as "You are level 1!". So in the checkLevelUp method, set the text to the array with the current level like this: dialogues[0][0] = "You are level " + level + " now! You feel stronger!"; startDialogue(this,0); Or you can just call the setDialogue again like this: setDialogue(); startDialogue(this,0); Thank you berkayw for pointing this out!
I love this bit a lot! Adding sounds on the text gives me undertale vibes. Also I declared a voice variable in the entity class so i can assign a value to it to use npc.voice as the parameter for the sound effects. Nothing much just to have a unique voice and system dialogue sound. Anyways always love your work Ryi!!
Hi Ryisnow, I have a question about a feature I am trying to implement in my game. I was trying to implement building, but the way I did it didn't seem to work. Could you please share an idea on how to implement building (like putting down interactiveTiles such as bricks, wood, etc.) Sorry if I repeated a comment. I just needed to find a better way to do this.
Hello Ryisnow! You make great content and i got into gamedev thanks to you. I wanted to ask if you could do a tutorial on movable boxes (if player moves to them they move with him). Great content as always! Keep up the good work!
@RyiSnow Yes finally a new Video thank you so so much for making those great tutorials on youtube. Please keep it up we all enjoy it. Thank you RyiSnow
I cannot run the jar file on my system as I really want only a few object and classes so I tried and followed only those parts from the video but ran with so much errors instead can you provide me runnable file for the project please. I really love your work, I wanted to work with some extra features on it.
Hi Ryi again! When you level up it says "You are level 1 now! You feel stronger!" . Because we start setDialogue in constructor. It must be started in checkLevelUp method i think.
Yo i love your videos but i have got one problem. When i compile my project and launch it i cant get away from the title screen and it doesnt draw the arrow when i press W or S. The weird part js that the music is playing but i am still in title screen. When i run it in eclipse everything works
hey man your so good, i have bug i was in , if the chest is open and i try to save and after the save was hapen , if i try to see the msg in the open chest, i can't show like the problem in merchent but before the save, it worked normaly
Hi Ryi, my game is working on Windows without problems. Today i tried to run game on my Mac. It is running but it’s black screen. Do you know why it is happening ? (I use Intellij.)
*CORRECTION*
I set the player's leveling up text to the dialogue array in the setDialogue method which is called from the constructor but this turned out to be a bad idea. Since the text contains a variable (level), we need to update it every time the player gains a level otherwise it always displays as "You are level 1!".
So in the checkLevelUp method, set the text to the array with the current level like this:
dialogues[0][0] = "You are level " + level + " now!
You feel stronger!";
startDialogue(this,0);
Or you can just call the setDialogue again like this:
setDialogue();
startDialogue(this,0);
Thank you berkayw for pointing this out!
I love this bit a lot! Adding sounds on the text gives me undertale vibes. Also I declared a voice variable in the entity class so i can assign a value to it to use npc.voice as the parameter for the sound effects. Nothing much just to have a unique voice and system dialogue sound.
Anyways always love your work Ryi!!
Keeps getting better and better
Man, thanks to you, I want to learn more about making games using Java. Much love man.
Amazing as always! Thank you so much for these videos :)
I litteraly was doung this by myself Yesterday! thank you anyway
I have a question, shouldn't npc in the UI class be null since we are not actually assigning it to anything?
How can you make it so that some tiles have an animation (a moving mushroom for instance)
Hi Ryisnow, I have a question about a feature I am trying to implement in my game. I was trying to implement building, but the way I did it didn't seem to work. Could you please share an idea on how to implement building (like putting down interactiveTiles such as bricks, wood, etc.) Sorry if I repeated a comment. I just needed to find a better way to do this.
a lot of work and knowledge is needed to write a game. hand up :]
Hello Ryisnow! You make great content and i got into gamedev thanks to you. I wanted to ask if you could do a tutorial on movable boxes (if player moves to them they move with him). Great content as always! Keep up the good work!
@RyiSnow Yes finally a new Video thank you so so much for making those great tutorials on youtube. Please keep it up we all enjoy it. Thank you RyiSnow
I cannot run the jar file on my system as I really want only a few object and classes so I tried and followed only those parts from the video but ran with so much errors instead can you provide me runnable file for the project please. I really love your work, I wanted to work with some extra features on it.
I got java out of memory error related to direct clip when i play too many dialogue that play speak sfx each letter
Hi Ryi again! When you level up it says "You are level 1 now! You feel stronger!" . Because we start setDialogue in constructor. It must be started in checkLevelUp method i think.
Ah, you're right. I guess you have to set the text every time the player gains a level after all... Thanks for pointing this out!
Hi, I was wondering if it is possible to do random world generation with the trees, grass and water?
Yo i love your videos but i have got one problem. When i compile my project and launch it i cant get away from the title screen and it doesnt draw the arrow when i press W or S. The weird part js that the music is playing but i am still in title screen. When i run it in eclipse everything works
Hey! The sound effect keeps playing even after ending the dialouge.
Yeah, I am having this issue as well. I'm not sure how to track down the cause at this time. If I find it I will share here.
I found when I used Ryi's SE it worked fine. Must be something in my .wav sound file I made. I'm still not 100% familiar with beepbox.
hey man your so good,
i have bug i was in ,
if the chest is open and i try to save
and after the save was hapen , if i try to see the msg in the open chest, i can't show
like the problem in merchent
but before the save, it worked normaly
Im having thr same issue. Did you solve it?
@@brunohoxha6455 yes they have solvet in next vidéo 🤔 i think 54 time 1.49 min
damn this is good video
Hi Ryi, my game is working on Windows without problems. Today i tried to run game on my Mac. It is running but it’s black screen.
Do you know why it is happening ?
(I use Intellij.)
I'm not really sure since I don't own Mac. Full screen is done by the hardware, so maybe it's a hardware-related issue.
@@RyiSnow thank you, im gonna check today
can you do a mission?
I'm trying to set different dialogueIndex to different npc
GREAT!!!
NICE!
🥰🥰🥰
First!
second
Hi RyiSnow i need help where can I contact you ?because I have problems with a function on intelliJ