Jump to content

MrQuin

Contributor
  • Posts

    365
  • Joined

  • Days Won

    23
  • Feedback

    0%

Posts posted by MrQuin

  1. Guys the main problem is here :

    	if (!PERF_CHECKER_RENDER_GAME)
    	{
    		float fAspect=m_kWndMgr.GetAspect();
    		float fFarClip=m_pyBackground.GetFarClip();
    
    		m_pyGraphic.SetPerspective(30.0f, fAspect, 100.0, fFarClip);
    		m_kRenderTargetManager.RenderBackgrounds();
    
    		CCullingManager::Instance().Process();

    it has something to do with :

    Quote

    m_pyGraphic.SetPerspective(30.0f, fAspect, 100.0, fFarClip);

     

  2. Just now, ManiacRobert said:

    works fine 1920x1080

    you know what i mean it works only with some resolutions and this is a problem

    I think this has something to do with it ?!
     

    PyObject* renderTargetSetBackground(PyObject* poSelf, PyObject* poArgs)
    {
    	BYTE index = 0;
    	if (!PyTuple_GetByte(poArgs, 0, &index))
    		return Py_BadArgument();
    
    	char * szPathName;
    	if (!PyTuple_GetString(poArgs, 1, &szPathName))
    		return Py_BadArgument();
    
    	CRenderTargetManager::Instance().GetRenderTarget(index)->CreateBackground(
    		szPathName, CPythonApplication::Instance().GetWidth(),
    		CPythonApplication::Instance().GetHeight());
    	return Py_BuildNone();
    }


     

    • Love 1
  3. On 3/10/2019 at 7:30 PM, Redeemed said:

    Hey guys, i have this problem with the Render Target system:

    renderproblem.thumb.png.758e9ea1034e78e40dcd735ce84e79fc.png

    Things 've tried:

    -Checked the scale functions several times

    -Checked the layer part in the RegisterRenderTarget

    This base is kinda clean the only thing what's in it is just the Acce and new emotion.

    Thanks in advance for the answers!

    I have your same problem when putting the game on resolution more than 800*600 with fullscreen , but works with specific configs , So weird ( Any solution ? )

    Since the last time i changed the configs from config.exe and the above error occuring

  4. Hello devs

    So guys all of you know the gist system 

    in the game.py the image lines are like this

            self.GiftBox.SetUpVisual("d:/ymir work/ui/gift_on.tga")
            self.GiftBox.SetOverVisual("d:/ymir work/ui/gift_out.tga")
            self.GiftBox.SetDownVisual("d:/ymir work/ui/gift_down.tga")
    I have sub files(like 16 files) for a moving little box

    I want to know what should i use in this case and thanks

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.