🎉 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!
I want to explain my progress of game development in the form of step-by-step instructions for beginners.
In next time I will show how to draw graphs of functions using modern OpenGL 3.1 with text.
Sin_WinFormsOpenGL11CSharp.zip
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 in My Instructions for beginners
This example just create a window and clear a canvas with color. Tools: VS2015, GLFW, OpenGL, C++. All libraries are included in the project. You can just download and run it. But you need to set your Visual Studio version in the project settings, Platform Toolset, see the screenshot below:
…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…
In this Blog Entry I will translate examples from the tutorial Math for Game Developers from C++ to C# and TypeScript. I will add unit tests to the examples.
I use:
- NUnit and NSubstitute for C#
- Jasmine for TypeScript
C# and TypeScript are very similar. TS has: properties and g…
If you what to use a few TypeScript files the Browser you need to bundle them in on file. What is simple and cheap way to make it? Use Browserify + UglifyJS tools.
BabylonJS is a game engine for creating 3D browser games. BJS was written in TypeScript. I this instruction I will show you ho…
This example show how to update projection matrix: Blackjack_WinFormsOpenGL31CSharp_UpdateProjMatrix.zip
private void glControl_Resize(object sender, EventArgs e) { UpdateProjMatrix(); } pri…
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 in My Instructions for beginners
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…
Specifications:
- "Add(a, b)" method must to sum positive numbers. Specification name: Add_SumPositiveNumbers_ReturnsSum
- "Sub(a, b)" method must to subtract positive numbers. Specification name: Sub_SubtractPositiveNumbers_ReturnsSub
Source Code: https://github.com/8Observer8/calcul…
In this instruction we will study how to write executable specifications for a very simple Calculator project using Jasmine testing framework.
Source code on GitHub: https://github.com/8Observer8/calculator-browserify-ts
If you do not have "browserify" then install it globally using this…
There is a few TypeScript files in our example. We want to place these scripts on Sandbox.
This is the result on the Sandbox: click. Open the debug console in your browser to see the result: "Ctrl+Shift+J" in Chrome.
You will see in the debug console this messages:
Quote
Rectangle was created
Recta…
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…
Heroku is a free hosting. Let's deploy the application from this instruction: Emit and Broadcast JSON
You need to register on https://heroku.com/ and complete this official instruction: Getting Started on Heroku with Node.…
This my example how to use GUI WinForms and OpenTK.GLControl
- Source for Visual Studio (including DLLs): EditedTriangle_WinFormsOpenGL31CSharp.zip
- EXE: EditedTrianlge_W…
I will try to explain a process in step-by-step how to prepare server but it will be good if you will watch this video tutorial in parallel: Setup & Sending Files. Node.js Tutorial Guide
At first test let's create a very simple server script locally that will write in the console terminal&n…
I will show differences between "emit" and "broadcast" on server side.
In short:
- "emit" sends JSON data to a connected client
- "broadcast" sends JSON data to every client except the connected client
At first time create a connection between the server and the client using this instruction: Read more in My Instructions for beginners
Step-by-step instruction of Snake 2D using JavaScript/ES5, Canvas API
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: Sandbox
Note. I take ideas f…
Step-by-step instruction of Snake 2D using C#, WinForms, GDI+
We will place OpenTK.GLControl on the Form to draw graphics with modern shader OpenGL 3.1.
This is a gif animation of the final result of our work:
Note. I take ideas from this tutorial: Python Snake Game
Please, d…
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…