Topics about games made for Microsoft Windows products.
1
vote
1answer
19 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
42 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
20 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.
public void ...
1
vote
1answer
41 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
27 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
63 views
How to compile shader files in UWP
I wish to use this method
byte[] vertexShaderByteCode = ShaderBytecode.CompileFromFile(".......Transf_VS.hlsl", "VS", "vs_5_0");
this.vertexShader = new D3D11.VertexShader(
...
0
votes
2answers
38 views
How to interop between DirectX11 in C++ with XAML&C# or should I turn to SharpXD
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
45 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
102 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'...
0
votes
1answer
38 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
112 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 the user32.dll. This (stackoverflow ...
0
votes
0answers
91 views
Unity 3D wont access location - Windows 10
I am using location services in a Unity 3D game. I am using this (slightly modified) script that I found in the Unity Documentation just for testing purposes. Here is the script:
using UnityEngine;
...
2
votes
1answer
99 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
110 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 ...
4
votes
1answer
83 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
121 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
54 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 ...
0
votes
0answers
34 views
How to silence the Windows Asterisk sound?
When pressing keys while my game is running, Windows makes the "Asterisk" or "Exclamation" sound that you hear while trying to use the keyboard on a window that doesn't have focus on an input control. ...
0
votes
0answers
24 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
99 views
Is window creation decoupled from game engine?
I'm new to game development, and I was wondering about a architecture question.
The window creation code in C++ is given by doing the following:
Fill out a WNDCLASS struct
Register the window class ...
0
votes
0answers
32 views
Config SFML in QTCreator with file.pro
I know that are a method with cmake , but i wouldlike config my project in Qtcreator usinig qmake and my doubt is what my file .pro must have for work it ?. I will run in windows , maybe later linux . ...
0
votes
0answers
31 views
How to get tearing-free present with D3D9 in windowed mode without DWM?
For a long time now I have assumed that it's impossible to get tearing-free presents with: Windows 7, no DWM (=Aero off), D3D9, windowed mode.
However, my Windows 7 PC at work just does it. My ...
0
votes
1answer
175 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
95 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.
0
votes
1answer
67 views
How to access the players XBOX account from your Windows 10 game app? [API?]
We want to release a game that was previously an Android game for Windows 10 (Store / Desktop). Could you tell me how we can access the players XBOX account, see his friends and compare their scores? ...
0
votes
0answers
269 views
How do I Upload an Image from Unity3D Standalone Game to Twitter?
I'm working on a title that uses some fancy camera based iteraction, and to compliment that, we allow you to take selfie pictures with your image composited along side some of the characters. Our ...
1
vote
1answer
138 views
How should I construct a Facebook Login Flow for a server-less Windows App in Unity?
I am game programmer with limited web experience that was tasked to figure out how to make our game interact with Facebook. We are building a Unity Windows standalone app (maybe MacIntosh later), and ...
1
vote
1answer
139 views
OpenGL Applications Bring computer to halt
Whenever I run any application that utilizes the OpenGL interface, my entire computer comes to a halt, but it doesn't do this when it utilizes the DirectX interface. I run both Linux (Ubuntu 15.10) ...
0
votes
1answer
57 views
MinGW Windows Cross-Compile Error
While I was developing my game on Linux (I'm using an ARM system), I decided that I want to cross-compile it to Windows. Yet, I get an error while I try to link Allegro (version 4.2) to the compiler.
...
-2
votes
2answers
311 views
C++ Multi-Platform (Windows, Linux, Android) OpenGL(ES) Solutions or Tutorials? [closed]
I'm sorry if this has been asked recently and I'm not Googling it right, but I've been digging all week for something.
I've got a game prototype I made in Unity, and I have some decent experience ...
0
votes
0answers
84 views
Hide (and show) Unity window using C#
I'm making a game (in Unity3d) that features a level editor. However, the editor is made in XAML (i use WPF on Windows Desktop).
In Windows Phone, the Editor is a separate application, and i use URI ...
0
votes
0answers
28 views
ShaderX7 example code - missing headers
I try to build shaderx7 example code (practical cascaded shadow maps) from the cd which was appended to the book. I use windows 7 and I installed directx sdk 2008 and 2010. I can't find anywhere ...
1
vote
2answers
93 views
What's the reasoning behind using “redistributable” packages?
On Windows, many if not all games require some DirectX package and some VC++ runtime. Others also need OpenAL, wmfaredist, nvidia physx, windows live and probably others.
I'm trying to figure out why ...
0
votes
0answers
100 views
Any call to framebuffer methods causes crash. (MinGW)
For a long time, I have been using LWJGL. This library is pure awesomeness, however I was looking into learning the lower level API that was used in C++. I am new to the idea of pointers and other C+...
0
votes
1answer
157 views
Gamepad default trigger identification in Windows
I'm currently writing an interface driver for my Moga Power Pro controller on Windows. I'd like to release it for others to use, but first I have some questions on expected default mappings for the ...
4
votes
1answer
228 views
Where do you put the game window in fullscreen mode?
My game, like most games, supports running in fullscreen exclusive mode. And I'd like to give my players the choice of which monitor the game will display on.
In order to prevent the player from ...
2
votes
1answer
67 views
How can I get direction or link of file in computer
I want to import an .obj file in my Engine or open some files : To do that I write a link or direction of that file in my computer. Like this
file.open("../Engine/data/model.obj");
But I dont want ...
1
vote
0answers
845 views
LNK2019 unresolved external symbol __imp_ glDrawArrays@12 referenced in function _main [closed]
I try this code from tutorial for learn Modern OpenGL in Visual Studio 2015:
http://www.opengl-tutorial.org/beginners-tutorials/tutorial-2-the-first-triangle/
With GLUT (from other tutorial), it ...
1
vote
0answers
52 views
Transparent Game Window (Windows 7 x64) [closed]
i want to develop mode to minecraft but if i start minecraft i've got this how can i repair this ?
1
vote
1answer
261 views
How can I ensure a Unity game continues to run in RAM, even if the disk it loaded from is removed?
I'd like to make a game with Unity, put the build with all the data on a USB key, plug it in another Windows computer, and run the game from the USB drive, then remove the USB drive, but keep the game ...
2
votes
1answer
112 views
In Unity, how can I register a custom file type that is always opened with my game?
I want my players to be able to create their own scenes as custom levels, save them as files (say custom1.gamelevel), and open them directly in my game program by double-clicking the level file, ...
2
votes
1answer
194 views
Java LWJGL Windows 10 native files
Hello I made a simple game and I want to share it to my friend but he cant run it. I'm assuming it's because he has windows 10 and the LWJGL 2 native files don't support that (I've asumed that based ...
3
votes
1answer
94 views
Separating rendering from HWND
I'm considering separating my game simulation from the message loop. It seems odd to me to have other systems tied directly to the window in which my game is running. Most examples I see are ...
15
votes
2answers
2k views
How to avoid ghosting when pressing multiple keys?
I am working on a 2d side-scrolling pc game that uses SFML game library. The problem that I am not able to solve is that in many keyboards combination of three or more keys (like w + d + k) is not ...
2
votes
2answers
728 views
How to compile with OpenGL ES on Windows?
I downloaded OpenGL ES 3.1 sdk here.
But when I tried to run (or compile and run) the executable in "samples" directory, I got the following message:
The program can't start because libGLESv2.dll ...
31
votes
4answers
5k views
Is there a practical reason for saving game data in %UserProfile%\Documents instead of %AppData%?
My documents folder is flooded with subfolders of various games, including those of some very recent AAA titles.
As a professional application developer with no experience in the gaming industry this ...
3
votes
1answer
743 views
Compile cocos2d-x Windows games without Visual Studio
I want to use cocos2d-x to make a Windows game. I used the cocos console:
cocos compile -p WIN32
And apparently it needs Visual Studio.
Is there an alternative to build the Windows game without ...
3
votes
1answer
694 views
How do I make games that interact with desktop windows?
I want to know how games like desktop pet games like Sheep work, so I can make my own:
In this game, the creatures are being rendered directly to the desktop or over top other windows. How do they ...
0
votes
1answer
478 views
Zooming In SDL 2.0
I'm currently working on a project in which I render pictures raw. That is I use simple IMG_LoadTexture(), SDL_RenderCopy(). I want the program to be able to zoom in/out and textures to be scaled to ...
1
vote
1answer
180 views
Implementing a modal dialog from scratch with C++
Right now I'm implementing my modal dialogs in windows with a separate message loop after popping up the dialog.
This straightforward an approach won't work with other systems that don't have message ...