Thread: Fps help
View Single Post
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 05-21-2010, 10:07 PM

Quote:
Originally Posted by Watsamax1 View Post
I may get it. But i just noticed if i reload i get infinite ammo and i dont have t reload
What should happen is that you can only shoot the amount of times that there are bullets in the gun, but once the bullets in the clip run out you can reload, putting more bullets in the clip. Are you saying that you never need to reload, and you just keep shooting without it ever stopping? If so then make sure that either the shooting event being called in the events bar, or the entire shooting method itself if within a large if/else statement with what I said in the post before.

If its still not working right, take a print screen and upload the image of the code to the forums (you can black out the animation if you don't want to to see that part) and I can see what you did. If you do this though, make sure everything is showing including the world variables, the method for shooting, and the events bar where you called in the shooting method.

Or you can just ask and I will make a quick example and upload it on this thread. I think that many people will like to see an example anyways because they might be interested in a reloading example for their own worlds.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote