Following up on uploading my DirectX Engine on my previous blog, I decided to also include my OpenGL Framwork as well. So for those who are always asking me about it I hope you're happy! For the others, I hope it will bring a great help. I am planning to use this framework to make games with you guys so here you go!
C++ Tutorials
I will be doing tutorials on things that may be lacking on the internet. If any of you want to learn something new and dont know how to go about it let me know and I will create a video tutorial on it. Otherwise check my tutorials out in here or in my youtube channel.
Wednesday, March 30, 2016
Thursday, November 19, 2015
DirectX11 Engine Source
Hey everyone!
I wanted to give you a quick blog about this. I know a lot of you guys always asked about my source code for the DirectX11 Tutorial. I debated it at first putting it out there but now I have decided to give you what you guys want. I apologize for taking so long to decide this but without further ado here you go. If there is any issues or any feedback on it please let me know through here, Facebook Page or on Youtube. Thanks!
Have Fun Enjoy! :)
Source Code
I wanted to give you a quick blog about this. I know a lot of you guys always asked about my source code for the DirectX11 Tutorial. I debated it at first putting it out there but now I have decided to give you what you guys want. I apologize for taking so long to decide this but without further ado here you go. If there is any issues or any feedback on it please let me know through here, Facebook Page or on Youtube. Thanks!
Have Fun Enjoy! :)
Source Code
Saturday, March 31, 2012
C++ Timer Class
Hey guys. This my blog on how to create a timer in C++. You can use this in order to get delta time if you like.
include the windows.h file:
#include <windows.h>
you would need to create two variables like so:
float freq_;
unsigned __int64 baseTime_;
You will initialize them in a contructor or initialize function:
unsigned __int64 pf;
QueryPerformanceFrequency( (LARGE_INTEGER *)&pf );
freq_ = 1.0f / (float)pf;
QueryPerformanceCounter( (LARGE_INTEGER *)&baseTime_ );
Basically the QueryPerformanceFrequency will get the high resolution counter's accuracy and
QueryPerformanceCounter is basically the elapsed time since when the program started running
Create a function to get your seconds:
float seconds()
{
unsigned __int64 val;
QueryPerformanceCounter( (LARGE_INTEGER *)&val );
float dt = (float)(val - baseTime_) * freq_ / 60.0f;
baseTime_ = val;
return dt;
}
from this you can also get your milliseconds.
Enjoy :)
Saturday, November 12, 2011
C++ OBJ Parser
Is anyone interested in me doing a tutorial on how to parse and get the information from an OBJ file? I will make a video tutorial on it and I will go through it piece by piece and what you need. It will be a pretty good OBJ parser. If you are interested then comment here or go to my youtube channel at iGunSlingeRv2 and send me a message. Ive done C++ Pathfinding and Camera tutorials before if any of you are interested. Hope you guys are because im excited but then again I dont want to do it if anyone isnt looking at it so you guys will make it happen. Comment here of message me on youtube. Thanks =)
Friday, October 21, 2011
C++ A* (Astar) PathFinding Tutorial
Hey guys. I have made a tutorial on A* Pathfinding. I made a video on how to go about it. Its the simplest pathfinding but you can always make it smarter and better. I always noticed there isnt video tutorials showing how to do it from scratch and if there is then its lacking. My username on YouTube is iGunSlingeRv2 but Ill be putting the videos here. If you are interested check them out. Enjoy!
This is the first Tutorial and here I will be creating a struct that will contain our information of SearchCells that will be used for our pathfinding. I will mentioning the heuristic, accumulated distance and the manhattan distance. We will also be creating our PathFinding class. In here will be the information that will be included on our header file.
This is the third tutorial and here ill explain what to do when the path is opened. So basically if the cell is blocked or not.
This is the last tutorial and ill be talking about what to do if the path is opened which will continue our path. We will be checking our left, right, up, down, diagonal nodes. I will also explaining how to get the first position of the cell for the enemy or Ai to follow.
In this video I will show you the Pathfinding in ACTION!
Alright guys well hope you enjoy it. If you have any question comment here or just send me a message on Youtube with the username i mentioned on top. Check out my other tutorials there as well. :)
Subscribe to:
Posts (Atom)