MarkusR Posted January 10, 2015 Share Posted January 10, 2015 hi josh, please take a look in the. Follow function. there must be something wrong. this function runs as thread in background until stop is used. 5 zombies waste 40 frames if follow is used. this in my 10x10meter test area. today i had time to edit the copy of the monster ai script and disable parts with functions keys to see what happens. (means skipping the world and physics update loop) ps:i using the beta because its better than the normal version and me is magnetic for issues me using the engine since offer at steam. Quote PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265 2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ... 3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8 Music : Samplitude Music Studio , Music Creator 7 IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ... Link to comment Share on other sites More sharing options...
beo6 Posted January 11, 2015 Share Posted January 11, 2015 Do you call Follow more than once when the enemies should start following? //Edit. Is the performance also this bad when you run the release mode? the debug mode is just for debugging and as such much slower. Quote Link to comment Share on other sites More sharing options...
MarkusR Posted January 11, 2015 Author Share Posted January 11, 2015 called once but if the foollow will call again it should forgot the last follow. yes, its in release mode. current in beta. this follow have some automatically in engine. Quote PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265 2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ... 3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8 Music : Samplitude Music Studio , Music Creator 7 IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ... Link to comment Share on other sites More sharing options...
MarkusR Posted January 20, 2015 Author Share Posted January 20, 2015 bump Quote PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265 2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ... 3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8 Music : Samplitude Music Studio , Music Creator 7 IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ... Link to comment Share on other sites More sharing options...
YouGroove Posted January 20, 2015 Share Posted January 20, 2015 In some top view tps game test , with Follow i had strange results like character sudden acceleration going away from player then returning back or non desired rotations when the player is always moving. I use Goto instead. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
gamecreator Posted January 20, 2015 Share Posted January 20, 2015 non desired rotations when the player is always moving. I had something like this too. I would have an enemy follow a player then stop when out of range (which was as intended). As long as the player didn't move, the enemy didn't rotate. But when the player moved, the enemy rotated randomly for some reason. I never reported it because it wasn't a big deal for me but wanted to confirm the "glitch." Quote Link to comment Share on other sites More sharing options...
Admin Posted February 1, 2015 Share Posted February 1, 2015 I suspect this is being called repeatedly causing the nav system to constantly recalculate paths. I am adding a check so that extra calls to this will have no effect if the entity is already being followed. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 2, 2015 Share Posted February 2, 2015 Any change to this behavior? It's available now on the beta branch. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
MarkusR Posted February 2, 2015 Author Share Posted February 2, 2015 it was called once and not in a loop, i used debug outputs at screen with a counter. i will try again and see if something changed. Quote PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265 2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ... 3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8 Music : Samplitude Music Studio , Music Creator 7 IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ... Link to comment Share on other sites More sharing options...
Josh Posted February 2, 2015 Share Posted February 2, 2015 It might be slow because the path is being continually re-plotted as the entities move. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
MarkusR Posted February 2, 2015 Author Share Posted February 2, 2015 in theory good but in practice the engine make a short circuit. <- my synonym for loops there is a optimize.map if u hit the key 1,2,3,4,5 it start the zomie with one follow call and the frame rate drop very much. the framerate without zombies seems also abnormal low. with sync false is it ~70 frames. https://drive.google.com/open?id=0B942ivL2fTGcQ0E1Zkc2ZDdhX1U&authuser=0 Quote PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265 2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ... 3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8 Music : Samplitude Music Studio , Music Creator 7 IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ... Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.