I'm working on this platform shooter type game with intelegent bots. I've made a post about this on the boards not long ago. So my problem is that the bot's fastloop (which moves the bot) hiccups every now and then. I'm not sure why.
I've placed two counters and made them always increment by 1. The top counter has its increment command in an always command, and the bottom counter has its increment in the bot's behaviour's first line of code (which is a fastloop). You'll notice that after a while the bot's position will suddenly freez and then goes. This is reflected in that the counter which is coded with the fastloop drops below the value of the other counter which is coded in an always command. Btw, the fastloop in the counter is in is executed by an always command for 1 loop.
Well, I've run it a few times and watched the bot jump around for a couple minutes each time, and honestly I don't notice any hiccup at all. It runs smoothly the whole time. Granted, I'm looking at it in MMF2, so that might be why.
Someone wrote an article about the lines of code skipping and I wroe one about fastloop skipping. I didn't get much credit for mine even though his was compleatly diffrent
I figured it out. For somereason whenver player1's nudge_left or nudge_right loops (which are executed for wall collision detection) were executed, all player2's loops would start to hiccup. Strange.