Bshivam Advanced DirectX Framework[v1.3]
- bshivam2001
- Posts: 214
- Joined: July 27th, 2013, 6:57 am
- Location: India
Re: Chili Advanced DirectX Framework[UPDATE]
More Sound Functions added!
Check the v1.1 Project File
Check the v1.1 Project File
'If you can't make it good, at least make it look good'
Re: Chili Advanced DirectX Framework[UPDATE]
heh, don't need to save the pause position and set it again, just call pBuffer->Play and it'll keep playing from where it left off
anyways, seems you surpassed me in adding the rest of audio stuff xD
anyways, seems you surpassed me in adding the rest of audio stuff xD
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
- bshivam2001
- Posts: 214
- Joined: July 27th, 2013, 6:57 am
- Location: India
Re: Chili Advanced DirectX Framework[UPDATE]
hEhEhE, I thought that pBuffer->Stop() would reset its position to 0. Anyways, Thankz!LuisR14 wrote:heh, don't need to save the pause position and set it again, just call pBuffer->Play and it'll keep playing from where it left off
anyways, seems you surpassed me in adding the rest of audio stuff xD
'If you can't make it good, at least make it look good'
-
- Posts: 432
- Joined: September 26th, 2013, 4:57 pm
- Location: Kentucky
- Contact:
Re: Chili Advanced DirectX Framework[UPDATE]
Any luck on getting full screen using this method bshivam2001?
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.
- bshivam2001
- Posts: 214
- Joined: July 27th, 2013, 6:57 am
- Location: India
Re: Chili Advanced DirectX Framework[UPDATE]
Yes....but you need to change the backbuffer width and height to your windows resolution so that the screen doesn't appears stretched. Plus, you would need to change some other setting too.Pindrought wrote:Any luck on getting full screen using this method bshivam2001?
If you want, I will add it soon.
'If you can't make it good, at least make it look good'
Re: Chili Advanced DirectX Framework[UPDATE]
i had given code to toggle the windowed/fullscreen state of the window in a PM to thetoddfather (which i can post here if wanted )
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
- bshivam2001
- Posts: 214
- Joined: July 27th, 2013, 6:57 am
- Location: India
Re: Chili Advanced DirectX Framework[UPDATE]
Yeah...Surely would Help a lot of people struggling to switch to fullscreen!
'If you can't make it good, at least make it look good'
-
- Posts: 432
- Joined: September 26th, 2013, 4:57 pm
- Location: Kentucky
- Contact:
Re: Chili Advanced DirectX Framework[UPDATE]
That would be greatLuisR14 wrote:i had given code to toggle the windowed/fullscreen state of the window in a PM to thetoddfather (which i can post here if wanted )
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.
- bshivam2001
- Posts: 214
- Joined: July 27th, 2013, 6:57 am
- Location: India
Re: Chili Advanced DirectX Framework[UPDATE]
I figured out the code:Pindrought wrote:That would be greatLuisR14 wrote:i had given code to toggle the windowed/fullscreen state of the window in a PM to thetoddfather (which i can post here if wanted )
Change the following things in D3DGraphics::D3DGraphics Function D3DGraphics.cpp:
Code: Select all
d3dpp.Windowed = FALSE; //Set to false to make it fullscreen and not windowed
d3dpp.BackBufferFormat = D3DFMT_A8R8G8B8; //Make sure you change this, or you get assertion error
d3dpp.BackBufferWidth = 1366; //Your screen width
d3dpp.BackBufferHeight = 768; //Your screen width
'If you can't make it good, at least make it look good'
-
- Posts: 432
- Joined: September 26th, 2013, 4:57 pm
- Location: Kentucky
- Contact:
Re: Chili Advanced DirectX Framework[UPDATE]
Awesome thanks Bshivam. Only one problem i'm running into. If I minimize while in full screen, and restore the game window, it doesn't seem to work. I just get a black screen for my window after minimizing. Any idea what i'm doing wrong?bshivam2001 wrote:I figured out the code:Pindrought wrote:That would be greatLuisR14 wrote:i had given code to toggle the windowed/fullscreen state of the window in a PM to thetoddfather (which i can post here if wanted )
Change the following things in D3DGraphics::D3DGraphics Function D3DGraphics.cpp:Code: Select all
d3dpp.Windowed = FALSE; //Set to false to make it fullscreen and not windowed d3dpp.BackBufferFormat = D3DFMT_A8R8G8B8; //Make sure you change this, or you get assertion error d3dpp.BackBufferWidth = 1366; //Your screen width d3dpp.BackBufferHeight = 768; //Your screen width
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.