Hello!
The game is done. It may need minor tweaks, but it's basically done. With or without VR glasses, it provides 10-20 minutes of enjoyment. You can't die, the game tries to go for the experience and complete the unconditional mission.
I think I understood in which cases multi-threading should be used. Although I think the name is misleading, it is obviously not a parallel run. I asked not long ago, but no one explained it sensibly. I used 'thread' for 'set_texture_filter'. good, because converting an image takes a long time, and while it is calculating, the user must be able to modify the interface. I understood that. However, my personal experience is that it is completely unnecessary to use 'thread' and the like with opengl programs. The main interface that the user is curious about and waiting for is the graphics itself. It is unnecessary to divide it into parts here.
I have included many things in the game. You can also use vr glasses while sitting. There are several control options available.
The lighting conditions and the brightness of the phone display are given. obviously you can't change it. I have included a texture filter where you can adjust light/contrast/sharpness, etc. The game has real textures. This way you can play even in poor lighting conditions.
The story of the game is that first you have to find the princess, she gets two chocolates, then you have to go through the labyrinths, and the chocolate is in the last one. Entrances to labyrinths require monsters. Monsters travel in UFOs...
My problem that won't go away:
MEDIA PLAYER
It doesn't work correctly for either this game or the previous game. I test it on 3 different Android phones, all of them make the same mistake. There are no sounds. I use the very short sounds in wav, the long ones in mp3. Sometimes it plays, sometimes it doesn't. The system does not indicate an error. Never error feedback. I'm going crazy because I've tried everything. For example, I initialize it once and load it several times. I either use delays, or when loading I check with simulated playback to see if it plays, or I read the 'duration'. it loads it as if everything is fine, then it either plays it while playing or it doesn't .
Questions:
-I would stick to mediaplayer, because it is part of Android, and I read about soundpool that not all systems are reliable
-how can I check when loading the sound file whether it will play the sound when it is needed. even though I tried simulated playback in the loading section as a back check, it doesn't notice.
I'm at a complete loss as to how to handle the sounds. The game loses its enjoyment value if sounds are missing. and at all...what is it that sometimes it plays and sometimes it doesn't?
The game is done. It may need minor tweaks, but it's basically done. With or without VR glasses, it provides 10-20 minutes of enjoyment. You can't die, the game tries to go for the experience and complete the unconditional mission.
I think I understood in which cases multi-threading should be used. Although I think the name is misleading, it is obviously not a parallel run. I asked not long ago, but no one explained it sensibly. I used 'thread' for 'set_texture_filter'. good, because converting an image takes a long time, and while it is calculating, the user must be able to modify the interface. I understood that. However, my personal experience is that it is completely unnecessary to use 'thread' and the like with opengl programs. The main interface that the user is curious about and waiting for is the graphics itself. It is unnecessary to divide it into parts here.
I have included many things in the game. You can also use vr glasses while sitting. There are several control options available.
The lighting conditions and the brightness of the phone display are given. obviously you can't change it. I have included a texture filter where you can adjust light/contrast/sharpness, etc. The game has real textures. This way you can play even in poor lighting conditions.
The story of the game is that first you have to find the princess, she gets two chocolates, then you have to go through the labyrinths, and the chocolate is in the last one. Entrances to labyrinths require monsters. Monsters travel in UFOs...
My problem that won't go away:
MEDIA PLAYER
It doesn't work correctly for either this game or the previous game. I test it on 3 different Android phones, all of them make the same mistake. There are no sounds. I use the very short sounds in wav, the long ones in mp3. Sometimes it plays, sometimes it doesn't. The system does not indicate an error. Never error feedback. I'm going crazy because I've tried everything. For example, I initialize it once and load it several times. I either use delays, or when loading I check with simulated playback to see if it plays, or I read the 'duration'. it loads it as if everything is fine, then it either plays it while playing or it doesn't .
Questions:
-I would stick to mediaplayer, because it is part of Android, and I read about soundpool that not all systems are reliable
-how can I check when loading the sound file whether it will play the sound when it is needed. even though I tried simulated playback in the loading section as a back check, it doesn't notice.
I'm at a complete loss as to how to handle the sounds. The game loses its enjoyment value if sounds are missing. and at all...what is it that sometimes it plays and sometimes it doesn't?