🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Latest VisualStudio Activity
A small walk inside my procedurally generated terrain. Rendered in OpenGL.
The terrain was created using multiple layers of perlin noise and applying hydraulic erosion on it.
Grass and flowers are rendered using billboards and instancing.
How to make a new C++ actor and use it in blueprint!
Some Dos-and-Don'ts of creating Unreal C++ classes that can be used in the editor and blueprint.
Basic Unreal Header Tool Introduction and how to properly mark up your classes to be used with the Engine.
Unfortunately this video was recorded …
How to set up some commonly used AAA tools for C++ programmers who make games in Unreal!
(Scroll down for video)
Once you get into the industry, you will find that there are some common work flows and tools used among AAA developers at various studios. I go over some of these tools and how to set the…
Fixed Link in fist post.
New Release:
VERSION 1.1 @8.11.2022
Changes:
- Autodetect of all GLSL shader stages
- Support for HLSL added for files with *.<stage>.hlsl file extension on Vulkan 140. Requires a few manual settings since it only partially compares the extension. Did not figure out how …
You shouldn't have to set an FPS limit from an end-user or anything like that. I suggested Sleep(1) to see what it does temporarily, because that should drastically stall everything related to your program and the GPU not receiving work to do. There usually isn't any reason to render faster than 12…
@undefined Further reading has taught me that I copy the .h files into my project directory in most cases.
Thanks so much for the assistance!
Thank you very much. It now works like a charm !
Hi, I have an old game source from 2004, the game runs DirectX9, and I want to improve the graphics.
I downloaded NVIDIA FX Composer 2.5, and I created a “Phong_bump_relect.fx”.
I want to add the effect to my terrain, is there any way ?
I tried like this, on the terrain render function:
if (D3DXCreate…
@undefined can you give me the full code pls
fleabay said:
who_say_pawno said:
tell them about an error in the compilerI'm going to assume that you have at least 2019 16.3 or preferably the latest update. I would be surprised if your simple test script triggered a compiler error.
I have the latest version of the compiler
Visual Studio can be configured using any folder structure regardless how it looks like by adding all the files to the .vcproj file and in addition add a .vcproj.filter file. Here you can configure all your files to look nicely and even be addressed in “virtual folders”. We use this in our build to…
Hi.
I would like to share with you more details about the game and updated list of developers we are looking for!
We are looking for:
- Animator
- 2D Artist (UI, promo material development)
- Character Rigger
- Voiceover Actors (both male and female)
How to contact us:
- Email: info@pterosoftstudio.com
- Join us on Dis…
We will see how to place OpenTK.GLControl on WPF window to make GUI application with 2D/3D graphics using modern OpenGL 3.
How to create the project from scratch
Note 1: RMB - Right Mouse Button click
Note 2: Good Color calculator for normalized values: http://doc.instantreality.org/tools/color_calcu…
Access violation executing location 0x0000000000000000 is a null pointer access.
Without seeing any code it's hard to go forward. Can't you debug step into initializeContextFromD3D11Device?
Either Direct3D or Direct2D would be considered the “official” replacements depending on your goals. Unfortunately the GPU world has changed radically since DirectDraw was developed, so it no longer makes sense to keep updating it as a first-class API. However the old version definitely still works…
The code to get the string is like Lang.selectedvalue. So Game.StartInfo.Arguments = Lang.selectedvalue;
The Visual Studio Tools for Unity team has open sourced the Unity Analyzers, a collection of Unity specific code diagnostics and code fixes.
The Unity Analyzers are shipped as part of the Tools for Unity and are enabled on Visual Studio and Visual Studio for Mac. The analyzers run inside Visua…
Shaarigan said:
The 1% minority from my years of experience have several causes in ….
Those are exciting (horror) stories worth telling grandsons in bedtimes.
I almost feel the thrill as if I encountered those experience myself. Thanks for sharing.
You are storing and restoring the level ID in build order. Use the Unity Engine Manual to find out how to convince SceneManager to load a scene by ID
It's my first time blogging.
I started creating games/prototypes at the age of 17 and stuck with it since then.
I have lots of other projects that i din't share, so be on a look ? out for those.
Here i am using OpenGL API, GLM library for graphics and math calculations and visual stu…
I have occasionally had this problem with Unity 2019.2 and VSC. I have no idea what causes it but I found a workaround with rebooting, opening VSC with a Unity CS file, then starting Unity and opening the project from there.
I wish I knew what caused it but at least it works, so I'll wait…
I can't reproduce that specific problem. And I don't know which changes you've made to your code now.
But as long as I open two browsers and have two players, the code is working on my end.
(However, if I just have one player some problems occur, but that might be something you're thinking abou…
Awhile back MarcusAseth posted this picture
In it he asked about the blue box and arrow. I too was stumped by it, and no one came back to answer. Original Post:
Turns out the blue arrow is when you have the source code in the parent directory to the projec…
Just a quick update on this. I managed to solve the problem by providing the global delete overrides for the new "size" variants introduced in C++14...once I did that the problem disappeared.
However, despite the response I got from the compiler team, I'm not convinced this wasn't an error …
Hey
This is great!
Thank you for taking the time to reply.
I have only made a small test, but this is really in line with what i want to do.
You are violating the one definition rule; with the resulting Undefined Behaviour anything can happen. You shouldn't rely on that always being the same.
What if you need to draw text with simple graphics? For example, you have a task in your college to draw plots with some text using C++. You can still use deprecated/legacy OpenGL 1.1 and FreeGLUT.
This example shows how to draw a text using FreeGLUT and deprecated/legacy OpenGL 1.5. And thi…
- VS2015: Sin_FreeGlutOpenGL11Cpp.zip (Everything has been set up already. Just download, select your version of VS in "General/Platform Toolset" in the project settings and run)
- Release: Read more
Before I will start I want to advise you to read this book: The Art of Unit Testing: with examples in C#. Yes, as you can see this book contains examples in C# but it is not important. This book contain very useful and important information how to write unit tests.
I made an example of proje…
My example shows a simple way to draw a few textures using OpenGL 3.1 without writing you own engine like in previous instruction: BYO2DGE. 5.1 TextureShaders. C#
Project for Visual Studio: Read more
I study this book: Build your own 2D Game Engine. I rewrite the 2D game engine from the book from JavaScript to C#.
I rewrote this example from the official book repository: 5.1.TextureShaders to C#: ColoredAndTexturedObjects_OpenTKO…
If you need the example how to set up GTest without GMock you can see this example: Set Up GTest for TDD. C++, VS
In this example: PersonService_GMockCpp.zip we will see how to use Go…
This my example how to use GUI WinForms and OpenTK.GLControl
- Source for Visual Studio (including DLLs): EditedTriangle_WinFormsOpenGL31CSharp.zip
- EXE: EditedTrianlge_W…
Updated: 2/15/2019
- added "if...else" Double Selection Statement
Visual Studio Enterprise 2015 has build in tool for creating UML Activity Diagrams. We can use this tool for creating flowcharts for describing algorithms.
Creating UML Activity Diagram:
- Select: "File" -> "New" -&…
Step-by-step instruction of Snake 2D using C#, WinForms, GDI+
Let's make a very simple classic snake game. For example, if we have a snake head with 10x10 pixels then we will move our snake by a step with 10 pixels using timer.
This is the result of our work:
Note. I take ideas from this tutoria…
Well, since adopting the KV database into my server architecture I've begun to rethink many of my earlier assumptions, one of them being that I would continue developing my servers on Windows until I was past alpha stage... Since I've already brought a Linux solution into the core of the archit…
Oops,today i'm so sad.
Because our computer classroom was requisitioned because of the "THUSSAT" examination.
And i have to move my projects to our e-book lyceum , and there's no Visual Studios installed.
Perhaps i have to pause my project for one day.
Unfavorable...
Ho…
So , today i came up with a new idea of "Make a GUI Lib with DirectX 9.0" .
I've prepared DirectX 9 SDK (June 2010) and Visual Studio 2010.
The reason of using DX9 is that i want my lib compatible with Windows XP(because my stubborn computer classroom admin thought that WinXP might accel…
This article discusses how to debug native Android applications using Microsoft Visual Studio Code, which can be useful for game developers implementing background services, prototyping, or other native processes on the Android platform.
Of course, Android Studio and Visual Studio 2017/2015 a…
Since Ludum Dare 35 I'm regularly participating in every one of them and this one wasn't exception. My release thoughts are positive - this time I've again worked with one friend (with whom we've worked also in the past on Ludum Dare), and I enjoyed it a lot. As this is not a post mortem yet, I …
Surely, VB.net and C# (in Visual Studio express and other editions) Bitmaps were creatable from its GDI+ methods.(ex. Dim b as bitmap = new bitmap(image))
But not supported programming-based procedural generated bitmaps, only bitmaps from bitmap-files or its (related) objects or classes supp…