Audio bugs making my game unplayable
I did some editing on a game that I’m working on this morning and everything was working fine before I went about my day. Just went to play my unreleased game and I’m getting a whole bunch of audio device type errors that are making the game both unplayable and every time Ava tries to “fix” the error it breaks something else. It seems to have to do with position and scale code, but beyond that I have no idea. For context I have added no sound effects or music to my game.
2mo
34
I'm trying to do something like yours to make the screen or the background moving up to the dragon or th upward side but it's not working!!
To start with you’ll need some asset(s) that look good scrolling in a continuous loop. Feel free to look in the Binay Storm code under the RoadScroll class to get some idea of what the code is doing. Bear in mind that I made a lot of changes to get it working properly, but I believe this is the prompt I used in Binary Storm to get started:
Create a continuously scrolling vertical road in the center of the screen: - Place my road sprite in the center of the game area - Make the road scroll downward at constant speed - Create seamless scrolling by using two copies of the road sprite - When the first road sprite moves fully off screen bottom, reset its position to above the second sprite - Keep the road centered horizontally - Set scroll speed that feels good for gameplay, around medium walking pace - Road should be about 1/3 of screen width
Can you ping me on our Discord with a screenshot of the javascript console? I think the Audio system failed to initialize which makes everything falls over.
Also can you try restarting the browser?
Hey blackwidowink, super sorry to hear that you're having that issue!
Would you mind using the revert buttons in the chat history to see if you can find which change introduced the problem?
Thank you for your comment, but it had nothing to do with anything I added. Even the bug errors didn’t make any sense. It seemed to be an environment issue, so I was hoping that you guys would have some insight. But, regardless of any of that, this morning the bugs are all gone again with no changes made by myself.