Re: Ok bgt, what the hell?

2019-10-10 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: Ok bgt, what the hell? "Invalid operation on int" means one of two things: either it thinks something is an int when you treat it like something else (see the "what is p?" issue), or that the variable was not correctly defined (or the name was mistyped), and has

Re: Ok bgt, what the hell?

2019-10-09 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: Ok bgt, what the hell? 0Sorry, forgot to give information, it compilation errors and says something about invalid int or similar. URL: https://forum.audiogames.net/post/467158/#p467158 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https

Re: Ok bgt, what the hell?

2019-10-09 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: Ok bgt, what the hell? Possibilities that cannot be determined from the given code:- Distance?- Are you sure the filename is correct? If loop is -1 after this line, maybe use file_exists on the filename to be sure it's what you meant it to be?- It isn't clear what "me&qu

Re: Ok bgt, what the hell?

2019-10-08 Thread AudioGames . net Forum — Developers room : keyIsFull via Audiogames-reflector
Re: Ok bgt, what the hell? no he's using a sound_pool, presumably that object is p. You probably shouldn't have the loop play in the constructor though, that just seems like a bad idea, make it play later. URL: https://forum.audiogames.net/post/466961/#p466961 -- Audiogames-reflector

Re: Ok bgt, what the hell?

2019-10-08 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Ok bgt, what the hell? I am not too sure, except you have an integer named P.  Try changing it to something else and seeing if your code works, I am assuming it doesn’t because you’re trying to make an integer play a sound. URL: https://forum.audiogames.net/post/466958/#p466958

Ok bgt, what the hell?

2019-10-08 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Ok bgt, what the hell? So I have the following code fragment as a computer class. Yes, I know it's messy, and I didn't include all of the code, bite me it's just for messing around. Anyway, the loop=p.play part won't work even though I know it works with the exact syntax in other games

Ok bgt, what the hell?

2019-10-08 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Ok bgt, what the hell? So I have the following code fragment as a computer class. Yes, I know it's messy, and I didn't include all of the code, bite me it's just for messing around. Anyway, the loop=p.play part won't work even though I know it works with the exact syntax in other games