Re: just about had it with joystick implementation errors

2018-03-31 Thread AudioGames . net Forum — Developers room : jack via Audiogames-reflector
Re: just about had it with joystick implementation errors Well now our new problem is right here in this threadThis'll be the last time we attempt to add joytsick support to dated code. Lol. URL: http://forum.audiogames.net/viewtopic.php?pid=357672#p357672 -- Audiogames-refl

Re: just about had it with joystick implementation errors

2018-03-30 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: just about had it with joystick implementation errors if (key_pressed and weapon.rapidfire==false) or (key_down and weapon.rapidfire) then fireMaybe; depends on the specifics. But something like that. URL: http://forum.audiogames.net/viewtopic.php?pid=357488#p357488 -- Audiogames

Re: just about had it with joystick implementation errors

2018-03-30 Thread AudioGames . net Forum — Developers room : Munawar via Audiogames-reflector
Re: just about had it with joystick implementation errors No problem; I'll explain a bit more.Since people are saying that your game doesn't use FPS (frames per second,) I'm assuming enemies are moved using timers, and that you're handling keys in a keyDown event. Now

Re: just about had it with joystick implementation errors

2018-03-30 Thread AudioGames . net Forum — Developers room : shotgunshell via Audiogames-reflector
Re: just about had it with joystick implementation errors @kianoosh the problem is, if I change it to key pressed, the machine gun is no longer a machine gun, it's just a gun. Somewhere somehow I screwed something up, I just need to figure it out. I'm afraid I don't underst

Re: just about had it with joystick implementation errors

2018-03-30 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
Re: just about had it with joystick implementation errors True enough that it doesn't use frames but the concept still stands, if you use the negation operator which is '!', obviously without the quotes, on key pressed, it should reverse and return if the key wasn't

Re: just about had it with joystick implementation errors

2018-03-30 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector
Re: just about had it with joystick implementation errors at Munawar battlezone is not using frame per second and stuff like these Nore most of the bgt games do!at jack simple change the if(key_down to if(key_pressed and it should be fixed. BTW if you read the manual file you'll get i

Re: just about had it with joystick implementation errors

2018-03-30 Thread AudioGames . net Forum — Developers room : Munawar via Audiogames-reflector
Re: just about had it with joystick implementation errors There are many ways to prevent the rapid-fire problem. One way is to keep track of two things in every frame: what keys were pressed in that frame, and what keys weren't pressed in that frame.Specific keys would be mapped to ge

Re: just about had it with joystick implementation errors

2018-03-29 Thread AudioGames . net Forum — Developers room : jack via Audiogames-reflector
Re: just about had it with joystick implementation errors So we implemented joystick support in everything except the menus. However, Garrett wanted to revamp the enemy system, so he took out the original and threw in Scrolling Battles code to replace it. And we're getting o

Re: just about had it with joystick implementation errors

2018-03-29 Thread AudioGames . net Forum — Developers room : jack via Audiogames-reflector
Re: just about had it with joystick implementation errors **update:** After some hard deliberation we are not revamping the enemy system. What we were trying to do turned out to be a much larger endeavor than Garrett had thought, I"m the one who came to that conclusion anyway. So

Re: just about had it with joystick implementation errors

2018-03-29 Thread AudioGames . net Forum — Developers room : shotgunshell via Audiogames-reflector
Re: just about had it with joystick implementation errors I did too, but I'm a stubborn ass and I do shit anyway, I'm just about ready to rip my hair out. These braces, I'm telling you my computers gonna be wearing a brace by the time this is all over. URL: http://forum

Re: just about had it with joystick implementation errors

2018-03-29 Thread AudioGames . net Forum — Developers room : jack via Audiogames-reflector
Re: just about had it with joystick implementation errors So we implemented joystick support in everything except the menus. However, Garrett wanted to revamp the enemy system, so he took out the original and threw in Scrolling Battles code to replace it. And we're getting o

Re: just about had it with joystick implementation errors

2018-03-29 Thread AudioGames . net Forum — Developers room : jack via Audiogames-reflector
Re: just about had it with joystick implementation errors So we implemented joystick support in everything except the menus. However, Garrett wanted to revamp the enemy system, so he took out the original and threw in Scrolling Battles code to replace it. And we're getting o

Re: just about had it with joystick implementation errors

2018-03-29 Thread AudioGames . net Forum — Developers room : jack via Audiogames-reflector
Re: just about had it with joystick implementation errors Ahh yes, I was thinking something like that. That makes sense. URL: http://forum.audiogames.net/viewtopic.php?pid=357321#p357321 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https

Re: just about had it with joystick implementation errors

2018-03-29 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector
Re: just about had it with joystick implementation errors It's bgt. Jack, To avoid this error declare the variable as global. It should fix your problem URL: http://forum.audiogames.net/viewtopic.php?pid=357301#p357301 -- Audiogames-reflector mailing list Audiogames-refl

Re: just about had it with joystick implementation errors

2018-03-28 Thread AudioGames . net Forum — Developers room : Munawar via Audiogames-reflector
Re: just about had it with joystick implementation errors Several things to check when you get identifier not declared errors:Do you have to initialize the Joystick object? I'm not sure what language this is, but it many OOP languages you must allocate heap memory for an object b

just about had it with joystick implementation errors

2018-03-28 Thread AudioGames . net Forum — Developers room : jack via Audiogames-reflector
just about had it with joystick implementation errors Hi folks. Well, we're trying to implement joystick support into battlezone. And an entry-level implementation that we've done involves this.void main() {joystick stick;show_game_window("Battle Zone Pro, (build 1