Re: Having a problem in bgt for a bullet class
CAE_jones, Thank you! I got your meaning and it's a very nice idea. We will do this soon. Thanks again.
URL: http://forum.audiogames.net/viewtopic.php?pid=296533#p296533
___
Re: Having a problem in bgt for a bullet class
That's some very advanced code. These people seem like beginners so I wouldn't get that advanced. Just my opinion though.CAE_Jones wrote:The link is throwing a 429 too much traffic error.When I said more than one step per frame, I meant
Re: Having a problem in bgt for a bullet class
The link is throwing a 429 too much traffic error.When I said more than one step per frame, I meant something like a loop or recursion. Obviously, you don't want to skip spaces, otherwise you get the bullets-going-through-walls problem that is
Re: Having a problem in bgt for a bullet class
Here's my class. And if i do what you said(If i get you correctly), bullets might miss the target or go over the walls.https://www.dropbox.com/s/ovi7iva2z6dx4 … t.bgt?dl=0
URL: http://forum.audiogames.net/viewtopic.php?pid=296433#p296433
Re: Having a problem in bgt for a bullet class
It's hard to tell without seeing how your game is set up all together.What I normally do is set up a master clock for the game, usually around 50fps (20ms per frame). Then to save myself the headache, immediately convert that into seconds at
Having a problem in bgt for a bullet class
Hi guise. I have a bullet class which creates an object, then that object moves with a for loop and when ever it hits an object, so it does something.But i see a problem in it. A bullet should be fast, very fast. But this one isn't. For example,