• Advertisement

Endurion

Member
  • Content count

    3796
  • Joined

  • Last visited

Community Reputation

5445 Excellent

2 Followers

About Endurion

  • Rank
    Contributor

Personal Information

  1. STL Code Snippet

    The line assigns a new, empty stack<string> to fwd_stack. Whatever was in fwd_stack before is gone. To be exact, it calls the parameterless constructor of stack<string> which returns an empty stack of strings.
  2. Multiplayer Pac-man Challenge

    Argh, forgot to publish it. Thanks
  3. Multiplayer Pac-man Challenge

    Argh, forgot to publish it. Thanks
  4. Thanks for the help! I found my issues: a) There's a flag in ResizeBuffers, which overrides the previously set flags used in CreateSwapChain. I added DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH there as well (as I did in CreateSwapChain). In conclusion: Make sure both flag values match! b) I'm listening to WM_ACTIVATEAPP now, and when I'm losing focus while in fullscreen I'll switch to windowed mode.
  5. Multiplayer Pac-man Challenge

    Added a project page here: Can't wait to see other entries!
  6. Multiplayer Pac-man Challenge

    Added a project page here: Can't wait to see other entries!
  7. Get 'em Good

    Get 'em Good is a remake of a C64 game called Get 'em DX. It's a mixture of Pacman, a shooter and strategic extra usage. Clear every screen of all dots. Be sure to fight back enemies, as they drop nice extras. Pickup 9 of a kind to activate a particular powerup. Once all dots are collected grab the key and unlock the exit! Careful though, the enemies will get faster and tougher as the stages advance. So you have to be on your toes and be sure to grab enough powerups to keep up with them. Randomized stages allow for high replayability as no two games are alike! Play alone or team up. Both players play with one score and one pool of lives. The one who activates an powerup is the only one to receive it though
  8. I'm running Windows 10, latest official build. I've tried not to touch WndProc in the DX11 renderer, but I'll probably do that as a last resort.
  9. I've recently found ugly problems with the d3d11 renderer in my game engine. I'm using IDXGISwapChain with real fullscreen and I have serious problems getting Alt-Tabbing to work. Switching between windowed and full screen mode works completely fine. That was easy to do with DX8/DX9, where didn't have to do anything but check for a lost device. Alt-tabbing from fullscreen restored the display mode and everything worked fine. Now with the IDXGISwapChain I can't alt-tab out of a game running in fullscreen properly anymore. Upon Alt-tabbing the display goes bonkers (e.g. a part of the screen is displayed half offscreen, but also another part in the top left corner (looks like the resolution has changed, and some old graphics are still there in GPU memory). I do not see the desktop at all. Upon clicking anywhere the game is switched to windowed mode, but with the window stripped of all borders (and therefore the client size being not the size I'm expecting). I do not modify the window styles myself (as I did in DX8/DX9), so I suspect IDXGISwapChain. Unfortunately the extra debug output of D3D11 doesn't show any errors. I've called MakeWindowAssociation with the flag to not affecting anything (not listenen to Alt-Enter or switch modes). Does anybody have any ideas what I might be doing wrong? Or maybe have a working sample that does windowed and fullscreen toggling with Alt-tabbing working? Would reacting on WM_ACTIVATEAPP to switch to windowed mode myself be a good solution?
  10. Multiplayer Pac-man Challenge

    Just to be sure to have an entry up in time, here's my game, Get 'em Good! It's a clone of my C64 game, with almost completely original graphics and music, the latter not done by me. Play alone or in coop mode (one score and one extra pickup counter for both). Eat all dots, fight monsters, get the key and unlock the exit. Monster grow stronger and faster when advancing stages. Your only chance to survive is to kill enemies and gather pickups to get stronger yourself. To activate an extra gather 9 pieces of the same item. The player that collects the 9th extra gets the power up Most power ups stack, so keep collecting! The stages are randomly created, so every game is different. The download is here: Download Here Have fun and let me know if you experience problems! Edit: updated the archive with the game source (not the common lib code though) PS: Refrain from alt-tabbing in fullscreen. It's hilariously broken. If you reach that state you may want to delete the xtreme.cfg file in %APPDATA%/Roaming/GR Games/GetEmGood. Sorry! Aftermath: That full screen problem is really annoying. Everything that worked fine and was easy to do in DX8 and 9 is now obsolete and the behaviour of IDXGISwapChain is utterly broken. Whatever you do, never Alt-tab in full screen. It stuffs up the window.
  11. Multiplayer Pac-man Challenge

    Just to be sure to have an entry up in time, here's my game, Get 'em Good! It's a clone of my C64 game, with almost completely original graphics and music, the latter not done by me. Play alone or in coop mode (one score and one extra pickup counter for both). Eat all dots, fight monsters, get the key and unlock the exit. Monster grow stronger and faster when advancing stages. Your only chance to survive is to kill enemies and gather pickups to get stronger yourself. To activate an extra gather 9 pieces of the same item. The player that collects the 9th extra gets the power up Most power ups stack, so keep collecting! The stages are randomly created, so every game is different. The download is here: Download Here Have fun and let me know if you experience problems! Edit: updated the archive with the game source (not the common lib code though) PS: Refrain from alt-tabbing in fullscreen. It's hilariously broken. If you reach that state you may want to delete the xtreme.cfg file in %APPDATA%/Roaming/GR Games/GetEmGood. Sorry! Aftermath: That full screen problem is really annoying. Everything that worked fine and was easy to do in DX8 and 9 is now obsolete and the behaviour of IDXGISwapChain is utterly broken. Whatever you do, never Alt-tab in full screen. It stuffs up the window.
  12. Multiplayer Pac-man Challenge

    I'm nearly done on the game. Just my DX11 renderer is acting up when alt-tabbing from Fullscreen. This IDXGISwapChain thing is butt ugly finicky.
  13. Multiplayer Pac-man Challenge

    I'm nearly done on the game. Just my DX11 renderer is acting up when alt-tabbing from Fullscreen. This IDXGISwapChain thing is butt ugly finicky.
  14. Multiplayer Pac-man Challenge

    Better than thought actually. I've decided to scrap the pure Pacman approach and basically port an existing game from C64 to PC (Get 'em DX)
  15. Multiplayer Pac-man Challenge

    Better than thought actually. I've decided to scrap the pure Pacman approach and basically port an existing game from C64 to PC (Get 'em DX)
  • Advertisement