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.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ty via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector

Reply via email to