Re: error in code

2015-05-28 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: error in code @jonikster, fine, fine. WEll explain it in simple terms: Cut the enemy variable into the top level code - do not initialize it in a function. URL: http://forum.audiogames.net/viewtopic.php?pid=218081#p218081 ___ Audiogames

Re: error in code

2015-05-27 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: error in code The enemy variable is declared in the game_play function, so the shoot function does not know about it.If shoot is a method of the enemy class, instead of enemy, you could use this. URL: http://forum.audiogames.net/viewtopic.php?pid=217895#p217895

Re: error in code

2015-05-27 Thread AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector
Re: error in code that is, how to fix the error? URL: http://forum.audiogames.net/viewtopic.php?pid=217902#p217902 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin

Re: error in code

2015-05-27 Thread AudioGames . net Forum — Developers room : Genroa via Audiogames-reflector
Re: error in code CAE_Jones just gave you the solution! URL: http://forum.audiogames.net/viewtopic.php?pid=217944#p217944 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com

error in code

2015-05-26 Thread AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector
error in code Hi everyone!please help find a bug in the code!thats a mistake:File: D:\MyGame\play.bgtOn line: 73 (1)Information: Compiling void shoot()File: D:\MyGame\play.bgtOn line: 75 (29)Line: if(absolute(player_position-enemy.position)=5)Error: enemy is not declaredFile: D:\MyGame