ok im using tgf2 aand im makin my new game a zombie shooter now on 2 my problem, why does some of the main actions stop working like my gun after u have reloaded a few times u cant shoot any more bullets it just stops workin the code is solid so der is so reason for it 2 just stop workin after a while...im thinkin maybe coz i havent updated my program with the latest updates yet i dunnno..i dont update coz everytym i did before it removed a very important feature on the sprite and animation editor tool...so i dunno
EDIT= sooo i wonder if u dont update it maybe it fks it up in some way i dunno
Edited by johnpow66
Behold my emoticon army and there really white teeth glory!
Well without seeing any code it is very difficult to say what is happening. Is there any chance you can post your mfa so that we can look into it for you??
My first guess is your object limit. What is it set to?
Try increasing it and see if it works. If it does look at how objects are destroyed/created.
If Solgryn's advice does not help, might I ask if you are using the built-in Shoot/Launch an Object action? In my previous experiences (before I stopped using that and started creating objects instead) it would cease to shoot or animate properly if I had it shoot too much i.e. I pressed the Fire key too rapidly. My advice to fix that would be to create the bullet using the Create object and move it that way, with the bouncing ball movement or your own custom code.
ok i have done that like for a example upon pressing z key create bullet at 0,0 postion form character and set direction to watever direction player is facing somthing like that, and i have a reload feature so when u have shot about 60 bullets u must reload it, yet it still sometimes stops working after a while... and lembi 2001 i could send u the mfa in pm if u wanna have a look but its kinda messsy u will be getting
Behold my emoticon army and there really white teeth glory!