Questions tagged [windows]

Topics about games made for Microsoft Windows products.

Filter by
Sorted by
Tagged with
2
votes
1answer
642 views

How to handle Japanese on Windows and Linux using SDL_ttf and C++?

In SDL_ttf, there are a few functions provided that handles non-ASCII string literals, such as: TTF_RenderUNICODE_Solid ...
1
vote
0answers
219 views

Directory.EnumerateFiles hangs with disk pegged to 100%

I am having an issue that occurs seemingly at random with the following block of code. ...
3
votes
0answers
145 views

timing rendering to monitor screen update

I have an application with a very light rendering loop, taking a predictable and small time to execute. Right now, I have two solutions. The first solution uses Vsync: after a screen update, my ...
2
votes
1answer
186 views

Unity Shadow shows on my Android device but NOT my Windows Mobile device

Unity version: 2017.1.1f1 Problem: I'm using Directional Light. Shadow is not showing in my Windows Mobile device (Lumia 640 XL), but works fine when I run the exact same UWP project as PC (Local ...
1
vote
2answers
438 views

Can I build cross platform executables with Unity?

If I create a C# console application in Monodevelop and build it I can run it by typing: ./executableName.exe or using Wine. (I am using Ubuntu Linux) I assume that this means that C# .exe files ...
1
vote
1answer
334 views

Any idea why my openGL camera is stuttering only on the X axis? and only when using nvidia drivers?

As part of my assignment, I've been building a scene graph framework in C++/OpenGL. My camera works absolutely fine going backwards and forwards, but when I strafe / move on the X axis, the camera ...
0
votes
2answers
123 views

Is there a way to do local multiplayer on a combination of Windows/Ubuntu computers?

So far I've tried Bluetooth but it doesn't appear to work on either windows or Ubuntu (for this use-case; it can connect to printers fine). I've also looked up USB-bridge-cables, but from what I’ve ...
1
vote
2answers
705 views

Is the Windows 10 Game Bar extensible?

Does the Windows 10 Game Bar have an an API that I, as a developer, can hook into and as such make a product that starts alongside all games that support the game bar (say, a parental control ...
0
votes
1answer
1k views

Save game feature in SDL 2?

I am making a 2D action-adventure platformer video game using the C++ computer programming language and the Simple DirectMedia Layer 2.0 (SDL 2.0.5) development library. So far I have created over ...
0
votes
1answer
5k views

C++ and TinyXML2 Error: **this** was nullptr

I'm trying to make a video game using Microsoft Visual Studio Community 2017 and Simple DirectMedia Layer 2 (SDL 2.0.5, and SDL image loading file version 2.0.3). A map editor called 'Tiled!' was ...
0
votes
1answer
267 views

How do I draw two lines of text in GMS and keep one static?

I am making an intro sequence for my game, but I'm having some difficulty drawing two lines of text. The first line is "DEVELOPED BY:" referenced from a separate language file as "IntroSequence", "...
1
vote
0answers
56 views

How do I remove 'playerachievementcache.dat' from my GMS project?

I am working with a GameMaker: Studio project that outputs a file called "playerachievementcache.dat". It isn't used for anything, and I can't seem to remove it from my project. Is it possible that ...
1
vote
0answers
33 views

How can I use a custom payload name for my GameMaker game?

I have finished compiling my GameMaker Studio .win file. I then copied the Runner.exe binary to the game's directory to run it. ...
1
vote
0answers
450 views

How do I setup Android SDK for GMS?

I am trying to set the path for the android SDK in GameMaker: Studio, but I am having an unexpected ammount of difficulty with this. Initialy, I installed Android Studio and tried setting it's ...
2
votes
1answer
298 views

How do I manually define save paths in GMS?

I want to know if it is possible to set the path for my game's save data in GameMaker: Studio outside of the two default options I am given in the program. The options I get are: ...
2
votes
0answers
48 views

Output save file name conflict [closed]

I am making a game in GameMaker: Studio, but I've run into a problem. Originally, the game would create three possible save files: save1 save2 save3 The issue is ...
2
votes
1answer
33 views

In Game Window Frame Size Consistency

I'm currently building a game that utilizes many of its own 'windows' to display various information and dialogue to the user. Since there are multiple sizes and proportions these windows must be ...
1
vote
2answers
258 views

DX11 render 800x600 scene without a window

Normally I would create a hidden overlay window and render my DX scene into that, but I think it is possible to render without a window at all as well, is this true? The goal for me is to render on ...
0
votes
1answer
251 views

Unity 5.6 - Compilation Error with UWP using Facebook SDK for Windows

I built my unity game for UWP and I added winsdkfb to authenticate user with facebook ID. When I build my project in visual studio 2017, it throws an error which is: Severity Code Description ...
2
votes
0answers
43 views

How to create a reliable Installation Package for Windows in seconds? [closed]

I am looking a reliable way to create an Installation Package for a Unity 3D Video Game. I have just tried NSIS (Nullsoft Scriptable Install System) But the default user interface (of the final ...
1
vote
2answers
193 views

Are closing window and destroying DirectX11.1 independent?

I have a project with DirectX support. In this program uses two threads. One is a dedicated message loop and the second is executing DirectX API's. The question is about ending such program. The ...
3
votes
1answer
904 views

Running Unreal Build Tool with CreateProcess vs command line

I'm working on a tool that generates some files for Unreal Projects. The only thing is if I try to get it to compile the project through CreateProcess the command doesn't run the same as the command ...
1
vote
1answer
1k views

How OpenGL works with Windows GDI in order to produce output image on computer screen?

I am curious how GDI integrates with OpengGL in order to create image for computer screen. I know that GDI provide Device Context which describes window properties and as far as I know it also offer ...
0
votes
0answers
485 views

Why Do Textures Appear Black In OpenGL 4.5 In Windows?

I usually code in Linux, and when I ran my OpenGL program the textures displayed correctly. However, when I ran it on Windows the textures appeared black until I used old OpenGL for the textures. Is ...
0
votes
1answer
804 views

Direct3D11 Depth buffer problem

Encountered a strange error when using Direct3D11, feature level 10.0. If the depth buffer texture is created with the format DXGI_FORMAT_R24G8_TYPELESS, bind flag D3D11_BIND_DEPTH_STENCIL | ...
0
votes
1answer
416 views

Will any program written with XLib work on any desktop environment (Gnome, KDE, etc.)?

I'm making an application that uses Win32 API on Windows but I want to support linux distros too. Some people say linux doesn't have a native GUI API like Win32 API of Windows. But I found XLib and ...
5
votes
1answer
444 views

How can i port my OpenGL game to linux? [closed]

I made a game with OpenGL 4.3(core profile) and C++. I used GLFW3 for window and context management. I am also using bunch of third party library which are also available for linux. What things do i ...
0
votes
1answer
214 views

Kinect for Xbox One (+ adapter) and Windows 10

Can I use Kinect Xbox One (with adapter like Kinect for Windows V2 device), SDK 2.0, to build applications on Windows 10? I've read the requirements for Kinect and it lists only Win 8.0 and Win 8.1. ...
1
vote
1answer
2k views

SDL_Image setup problems on windows / mingw 64 / eclipse

I've been a software developer for a while, but I haven't done C++ in a long time and I thought I'd try it out with some game developement. I'm following the tutorial on youtube for Remaking ...
1
vote
2answers
986 views

Reliably synchronising SDL animation with VSYNC in windowed mode

I have an SDL/OpenGL program which creates a rendering context with PRESENTVSYNC enabled, then enters an animation loop which calls ...
2
votes
2answers
344 views

Avoid unreachable rooms in duengons

Good evening. Im currently trying to create a Dungeon Generator . First I place randomly some rooms. Right after that I dig in a randomized maze. But sometimes it happens that some rooms or even ...
1
vote
1answer
108 views

Using a Windows forms Textbox control in an XNA game

What I want to do is this: Use a standard Textbox control in an XNA game. This will be the only control used, and the game is designed in xna alone. I (for some reason) cannot get the game to "see" ...
1
vote
2answers
2k views

How to save a text file to relative Path

I'm creating an app that should be accessable from every platform (android, IOS, windows). At this moment I'm saving a file that is set to a specific path. c:\test\test.exe. Now I know that Android ...
0
votes
1answer
144 views

Data overwritten in MapSubresource() method

I am trying to dynamically update the vertex buffer in a UWP project using SharpDX, once every time I call the following method, where context is the device context member. ...
1
vote
1answer
167 views

I don't think my shaders are working, looking for help

Using sharpdx(directx 11) developing on UWP. This is a link to a previous question of not being able to compile the shader files(written in hlsl) How to compile shader files in UWP Later I have found ...
0
votes
1answer
426 views

pygame on windows doesn't load sounds

I had written a program using PyGame that should play sounds. I created sounds in Audacity, saved it as WAV (Microsost) signed 16 bit PCM. They are played well on Linux, but aren't loaded in Windows. ...
0
votes
3answers
699 views

How to compile shader files in UWP

I wish to use this method ...
0
votes
2answers
107 views

How to interop between DirectX11 in C++ with XAML&C# or should I turn to SharpXD [closed]

I'm writing a UWP program and I want to write the general UI in C#. But there would be some graphic demonstrations using DirectX on some SwapChainPanels in the app. I have found less than enough ...
0
votes
1answer
826 views

OpenGL multiple viewports with 3d-2d viewing

I am trying to draw two viewports, the one on top having a 3D stuff into it, and the other at bottom with a 2D stuff fed into it. However, whatever 2D stuff i draw in the bottom viewport is not ...
2
votes
1answer
956 views

C++ libtcod example doesn't work

I'm starting to learn C++ (I have a very basic programming background) and I have in mind to create an old-school ASCII-looking roguelike. I know it may be easier in Python, but it has to be in C++. I'...
1
vote
1answer
91 views

Converting an XNA game from WINDOWS to XBOX

I have an XNA game for WINDOWS which I want to work on XBOX also. I've designed the game so that when I want to connect it to an XBOX, all I have to do is supply a different input class, And I would ...
1
vote
1answer
1k views

Custom Unity mouse input with WM_INPUT - receiving weird values

About I am trying to get the raw mouse input of the system into a C# application. I am using WM_INPUT (MSDN link) to get access to the data. To do so I am using ...
2
votes
1answer
453 views

Publishing an XNA project on Windows Store

I have made an application in XNA that I want to sell on Windows Store. When it comes to uploading in the Windows Store dashboard it says files need to be in the format xap, .appx, .appxbundle or ....
0
votes
1answer
363 views

How to make a windows installer for Monogame/F# game?

Alright, I have several questions that I haven't been able to find answers to yet. It looks like WiX and Inno Setup are pretty standard solutions for making the installer. WiX looks pretty ...
6
votes
2answers
747 views

How to display unicode text in monogame?

I'm looking for ways to draw any characters that may be entered in any language, on any keyboard, so that I don't have any trouble with limited language support in a monogame project. So far I've ...
1
vote
0answers
388 views

How should I structure a Shared Library for different platforms for my MonoGame project?

I am quite new to the MonoGame/XNA framework and i have some structuring questions right now. One of the reasons I use MonoGame is because there is still that feeling to create a game from scratch ...
1
vote
0answers
260 views

How to create a second Window in OpenGL/GLFW

I would like to have 2 windows. 1 for display purposes and one for settings / buttons (for example to change the color of the background in my main display). How would I go about having a second ...
2
votes
1answer
103 views

Can I Create A Windows Package to Submit to the Window Store using the Mac Version of Unity 5.3?

Note: New to App Development. I'm using a Mac for building my three 3D puzzle apps with Unity 5.3.2. I want to create Windows versions to sell in the Windows Store. I attempted to transfer the ...
0
votes
1answer
862 views

Black Screen when using High-Performance NVIDIA Processor

I have an issue where my program renders a black screen on other computers. I narrowed it down to when a different graphics card is being used. When I run the program using Integrated Graphics (...
1
vote
1answer
485 views

How to make a triangle move and rotate using GDI in C++

I want to make a triangle move from one place to another then rotate it 270 degrees using Polygon() function does anyone knows how to?? Just a simple one.