Re: why doesn't this work? bgt.

2019-09-26 Thread AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector


  


Re: why doesn't this work? bgt.

it works now, thanks! @4.

URL: https://forum.audiogames.net/post/464491/#p464491




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: why doesn't this work? bgt.

2019-09-26 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector


  


Re: why doesn't this work? bgt.

In the while loop, there should not be a ; or semi colon after the last )

URL: https://forum.audiogames.net/post/464457/#p464457




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: why doesn't this work? bgt.

2019-09-25 Thread AudioGames . net Forum — Developers room : Ty via Audiogames-reflector


  


Re: why doesn't this work? bgt.

First, we don't know what the main function looks like, so that could be part of the issue. Second, you're missing the second right paren on the second if statement, and third, on the second if, you'd want else if, not just if.

URL: https://forum.audiogames.net/post/464406/#p464406




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: why doesn't this work? bgt.

2019-09-25 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector


  


Re: why doesn't this work? bgt.

First of all, you're showing one function called game, not main. Now, game can be a function but main has to be there too, and main needs to have the game window set up or it can't take keyboard focus. Second, when you're working with multiple conditionals like that, you need to use else if, not just two ifs side by side like that. Finally, you're missing a closing parenthesis on the second if statement.

URL: https://forum.audiogames.net/post/464403/#p464403




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


why doesn't this work? bgt.

2019-09-25 Thread AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector


  


why doesn't this work? bgt.

so. I have some bgt code. but, wen the g key is pressed, nothing works.void game(){while(true);{if (key_pressed(KEY_G)){house();}if (key_pressed(KEY_Q){EXIT();}}

URL: https://forum.audiogames.net/post/464381/#p464381




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


why doesn't this work? bgt.

2019-09-25 Thread AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector


  


why doesn't this work? bgt.

so. I have some code.but wen the g key is pressed, it does nothing.void game(){while(true);{if (key_pressed(KEY_G)){house();}if (key_pressed(KEY_Q){EXIT();}

URL: https://forum.audiogames.net/post/464381/#p464381




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


why doesn't this work? bgt.

2019-09-25 Thread AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector


  


why doesn't this work? bgt.

so. I have some code.but wen the g key is pressed, it does nothing.void game(){while(true);{if (key_pressed(KEY_G))house();}if (key_pressed(KEY_Q){EXIT();}

URL: https://forum.audiogames.net/post/464381/#p464381




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector