Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Dreemurrrr

#1
Quote from: Khris on Tue 15/03/2022 11:44:17
Here's one: https://audio.online-convert.com/convert-to-ogg

Still, mp3 should work fine. Can you upload the file so we can test this? Also check that you didn't accidentally disable sound in your winsetup.

https://drive.google.com/drive/folders/1viX_4-XIxO4dbK9ec9RRgDxdHFPV-WzG?usp=sharing

here is the file as an ogg now
#2
Quote from: eri0o on Tue 15/03/2022 11:09:31
Can you use an ogg file instead? Maybe for some reason this mp3 file is not compatible.

Other thing is if the computer has no device to play the audio (e.g. desktop computer on Windows without speakers and without headphones), I think that channel will return a nullpointer too.

ok i changed it to ogg and ims till getting the same error. when i removed the volume thing it still didnt play. and i have audio devices so i rlly dont understand :(
#3
Do you know a good site to convert it to ogg? I'm new to this kinda thing I'm sorry.
#4
its a mp3 file. It lets me play it in the editor. its in the music folder
#5
Quote from: eri0o on Mon 14/03/2022 20:15:06
I don't know yet what it's happening yet, did you create the after fade in function through the event (âš¡) tab and then do something like this in the script Editor:

Code: ags
function room_AfterFadeIn() {
    AudioChannel* chan = aMusic1.Play();
    chan.Volume = 50;
    Display ("Test After Fade In!!!!");
}


In the meantime can you take a look here on how interactions, the property grid and events work: https://adventuregamestudio.github.io/ags-manual/acintro3.html

ok now im getting this instead :(
#6
Quote from: eri0o on Mon 14/03/2022 11:18:00
If you place a Display ("after fade in"); command in this function, does it writes anything on the screen?

I tried that and this happened

#7
i just tried that but the music still isnt playing.  :(
#8
im trying to set up a simple test run of my game that has some basic things in it like talking and stuff but i cant get the bg music to play. I have read through literealy everything i could find to try to fix this but nothing is working.

I want the song to play when the game fades in but when i run the game there is no sound.
right now my code says:
Code: ags
function room_AfterFadeIn() {
    AudioChannel* chan = aMusic1.Play();
    chan.Volume = 50;
}


ive tried alot of other codes but none of them work either. i have done amusic1.play on its own and with other things its just so confusing for me and i cant figure out what im doing wrong :( :(

(please be patient with me i struggle to understand things)
SMF spam blocked by CleanTalk