[project1dev] Re: current build really slow

  • From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Sun, 10 May 2009 22:28:42 -0700

Yeah since the game is overhead view, it's not optimized for the first
person camera, the first person camera is just for debugging and stuff and
has lower FPS.

The big bottleneck of the game right now is actually moving the player and
enemies around on the map (the collision detection).  I'm working on
something right now that should boost that up.

On Sun, May 10, 2009 at 9:47 PM, Matthew Freeland <mattthefiend@xxxxxxxxx>wrote:

> I've noticed some significant chug towards to the end of the map, mostly
> when I look back towards the map. I've had this problem pretty much the
> entire time when im looking at the entire map from above, or looking back
> from the unwalled areas near the bossroom when im facing the start point, is
> it still drawing all the walls and whatnot even though they are obscured by
> nearer objects?
>
>
> On Sun, May 10, 2009 at 6:52 PM, Kent Petersen <kentkmp@xxxxxxxxx> wrote:
>
>> I get between 50fps and 110fps on cavemap with vsynch off
>>
>>
>> On Sun, May 10, 2009 at 6:20 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:
>>
>>> and hey if you try it without vsync i'd be interested to hear what kind
>>> of FPS you are getting then (:
>>>
>>>
>>>
>>> On Sun, May 10, 2009 at 6:04 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx>wrote:
>>>
>>>> If you are seeing it stuck at 60fps (or whatever rate your monitor
>>>> refreshes at) the reason why it doesnt change when you zoom out is because
>>>> the game is actually being throttled down by waiting for vsync.  IE games
>>>> will often only go as high as your monitor refresh rate.
>>>>
>>>> vsync is a good thing and without it the graphics would look bad.  But,
>>>> if you want to see what FPS you are really getting, open up
>>>> scripts/config.lua and set VsyncOn to 0 and then run the game.
>>>>
>>>> It'll be a higher number, and that number will get lower as you zoom
>>>> out.
>>>>
>>>>
>>>>
>>>> On Sun, May 10, 2009 at 5:06 PM, Chris Riccobono <crysalim@xxxxxxxxx>wrote:
>>>>
>>>>> Alan, I noticed on my computer that my fps doesn't change if I'm
>>>>> zoomed completely out.  I don't quite understand why, since the model
>>>>> render count increases as you zoom out.. is the game actually
>>>>> rendering everything in the level at once?
>>>>>
>>>>> I only mention this in case it gives an idea for optimization, etc.
>>>>>
>>>>> On Sun, May 10, 2009 at 3:52 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx>
>>>>> wrote:
>>>>> > how bout when you turn off shadows?
>>>>> >
>>>>> > On Sun, May 10, 2009 at 3:02 PM, Kent Petersen <kentkmp@xxxxxxxxx>
>>>>> wrote:
>>>>> >>
>>>>> >> I get 15fps if the miners are on the screen in the current build.
>>>>> Without
>>>>> >> them I get around 40-50 fps
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>
>>>
>>
>

Other related posts: