Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
4 Commented Posts
0 Endorsements
Ranked #1K
~20.3K People Reached
Favorite Tags

55 Posted Topics

Member Avatar for Tigran

Hello guys, I've been playing with Direct2D lately, and found out (from a presentation) that converting geometries into meshes makes rendering a lot faster So, how do I do this? I tried this: [CODE] hr = RenderEngine.D2DFactory->CreateRectangleGeometry(D2D1::RectF(0,0,10,10), &pGem); hr = RenderEngine.RenderTarget->CreateMesh(&pMesh); hr = pMesh->Open(&pSink); hr = pGem->Tessellate(D2D1::Matrix3x2F::Identity(), pSink); hr = …

Member Avatar for dlayne718
0
1K
Member Avatar for wrestle23

umm, what do you mean with "coding"? any other language than what you mentioned?

Member Avatar for JamesCherrill
0
748
Member Avatar for xfreebornx

There is no loop in your main function, so if someone wants to see the changes, he can't. You could sort the names by making a a loop with i as the index of the array, then just look at array[i] and array [i+1] and see which one should come …

Member Avatar for A.Ali
0
284
Member Avatar for dapcigar

this is certainly homework, Why do you actually choose to have this at school if you don't want to take the time write your algorythms? i'll give you a start: [QUOTE] #include <fstream> #include <iostream> using namespace std; int main(){ // all you have to do is this part return …

Member Avatar for Adak
0
335
Member Avatar for GameGuy

I've done the following: I learnt C++ from tutorials on the internet and a book C++ by Steven Holzner. Then I bought the book Programming Windows -Fifth edition by Charles Petzold (although I didn't finish it, i came half, but found out that it was enough for game programming) Then …

Member Avatar for 0x69
0
211
Member Avatar for bfrings

You shouldn't start on a browser based game as your first project. First learn to deal with big projects, because when the file sizes start to grow, you'll find yourself lost in the code and stop with the project. It happend with me.. I wrote my code, it worked, but …

Member Avatar for bfrings
0
742
Member Avatar for 3cats

Just reading trough this, but why is if(1 == aValue || 2 == aValue) better legal than the other (just legal) one?

Member Avatar for Salem
0
3K
Member Avatar for Joonhwa Yang

If it doesn't compile, providing the errors would really help because i don't feel like testing the code myself.

Member Avatar for Fbody
0
288
Member Avatar for Hidden_mistakes

Why don't you do it with vectors? it's alot less work. Just define a vector with a specified length (your speed) and use a rotation matrix to rotate it the amout of degrees. Then add each component of the vector to your position. Just google on the terms vector and …

Member Avatar for Tigran
0
122
Member Avatar for c++programmer

Well, you can make simple games (not using the RSX chip) using the linux operating system on (most) ps3s Then I think it's just standard linux game development. But if you're new to all this, start developing for just one platform, the PC + you can find more stuff about …

Member Avatar for notoriousdyd
0
98
Member Avatar for Tigran

Hello, I've been trying to get into game programming. So I learnt a simple 2d api, Direct2D because it has great documentation on msdn and started planning/programming my first game: a tetris clone. All went well, and I also added sound and such, but now I want to add a …

Member Avatar for Tigran
0
404
Member Avatar for antball06

I might be very wrong, but from your post, i can understand that your c++ skill isn't that much. Why don't you try to make the program console based? It's much easier and can do what you want just as good (which is calculating numbers using different parameters) Using cin …

Member Avatar for LevyDee
0
184
Member Avatar for mzn

It's easy, INPUT size of square side OUTPUT size times * OUTPUT * then output size-2 times space then output * do this size-2 times then finish it with OUTPUT size times * Try to translate this into c++ Hope this helps

Member Avatar for WaltP
-1
84
Member Avatar for ABDUL SAMAD3

Here you go, it's actually quite easy [CODE] #include <iostream> #include <typeinfo> // Needed for the typeid using namespace std; int main() { int variable = 100; cout<<"The variable type is: "<<typeid(variable).name()<<endl; // pause or something return 0; } [/CODE] Output: The variable type is: int If you want to …

Member Avatar for Tigran
0
75
Member Avatar for D4n1sD

I suggest using Direct2D (If you have a vista or windows 7 computer) The documentation on MSDN is very well written and can get you started in an hour or two. If you just want to learn how to create 2d games, it shouldn't really matter if the code is …

Member Avatar for CodyOebel
0
127
Member Avatar for twalls16

[CODE=CPP]#include "stdafx.h" #include <iostream> using namespace std; int main() { int total = 0; double average = 0.0; int grade[100]= {56,97,73,59,68,79,86,67,79,66, 95,64,98,56,79,83,75,89,73,91, 52,72,63,81,62,85,37,78,100,89, 56,89,75,76,99,66,84,98,68,59, 98,77,96,88,67,88,95,79,56,79, 56,97,43,59,68,79,85,67,79,66, 95,64,98,65,79,83,75,89,73,91, 52,72,63,49,62,85,37,78,100,89, 84,89,75,76,99,66,84,98,68,59, 98,77,96,88,67,88,95,79,56,79}; char pause; for(int j=0; j<100; j++) { total=total + grade[j]; } average=total/100; cout<<"Your average is "<<average<<endl; cin>>pause; return 0; }[/CODE] …

Member Avatar for twalls16
0
346
Member Avatar for aianne

Output question. Output possible answers. Ask for input (A character) Check if answer is correct. Move to next question. Hope this helps

Member Avatar for Tigran
0
102
Member Avatar for rajarajan2017

If you want to use the engine which was used to create World of Warcraft, then forget about it. If you're talking about some other engine called the "wow engine" then try looking at the documentation. I don't think it's a well known engine, so your best bet is to …

Member Avatar for jwenting
-2
113
Member Avatar for Imaginative 1

I once started creating a PHP-based game. I just had a few ideas, basic lore, and started making the database and scripting. You know, first the account system, to log in and and such, then started creating more specific game stuff, but it's not only the time that it takes …

Member Avatar for IntraDevJosh
0
312
Member Avatar for hajiakhundov

why don't you make your own function using <ctime>? Just let it loop for a second every time.

Member Avatar for hajiakhundov
0
136
Member Avatar for virtualmisc

I've been using PHP designer for a year or two and i'm happy with it. If you make a mistake (syntax error) it directly notifies you (you dont need to press debug or something to get notified) It also suggests variable names (that you've used before etc.) and other basic …

Member Avatar for redhouse
-1
205
Member Avatar for Tigran

Hello, I'm making a browser based game in php and so far it's going really good. However I have a doubt about a script i've written. This script does alot of calculations using the data from the mysql database i'm using. So it reads and writes quite alot. And the …

Member Avatar for network18
-1
96
Member Avatar for Majestics

A program starts at main() or another function with _stdcall in front of it. This is just a class, so you'll prolly still need to create the class/run the constructor to start it.

Member Avatar for GDICommander
0
192
Member Avatar for the reaper

By looking at the topics covered at amazon, [CODE]Topics covered: Introduction to C++ Console I/O with stream classes Basic string handling Loop and flow-control statements Arrays Using functions and methods Using Standard Template Library (STL) containers (vectors, linked lists, and maps) Iterators Sorting and generic functions Basic class design Pointers …

Member Avatar for jencas
0
192
Member Avatar for hket89

Maybe semantic errors? that the code works but doesn't do what you want? no idea if sematic is english, (i translated it loosely from dutch)

Member Avatar for LordoftheFly
0
191
Member Avatar for metalclunch

You could put all your non-inline functions in another source file instead of a header file. That would make sure they aren't defined multiple times when your project grows.

Member Avatar for Tigran
0
162
Member Avatar for chathu12
Member Avatar for krayzeeben

You could do this using autoit, but you can also do it using C++ and WinApi (windows.h) So, you start a source file, make the main func etc. Be sure to include windows.h (and maybe also iostream for easy io) Get the HWND of the browser window using [B]FindWindowEx()[/B] (function …

Member Avatar for Tigran
0
1K
Member Avatar for Tigran

Hello, I've got this project where i need to use a webcam. I'll need to get every frame made by a webcam (uncompressed) and send it to my program. My program should extract some information out of the frame and then get the next frame and do the same with …

Member Avatar for Tigran
0
160
Member Avatar for ashishchoure
Member Avatar for gcardonav

You won't be able to draw something in a coordinate system using only c++ (console programs). The only way I know of drawing things is using WinAPI, but it's not as easy to learn in an hour or two.

Member Avatar for Nick Evan
0
147
Member Avatar for Tigran

Hello guys, I was making a website, all looked great, untill I started IE7. there, it really looked like crap. Now I'd like to just make another css file for IE6 and/or IE7 but not for IE 8, because it does look wel at that browser. How can I detect …

Member Avatar for Tigran
0
135
Member Avatar for Tigran

Hello, A few days ago I visited a lecture of a teacher in an university that was about parallel processing. He explained why it's good etc, and how you can make programs that use multiple cpus in C. He used MPI and the code looked nice, wasn't too hard and …

Member Avatar for tux4life
0
94
Member Avatar for phouse512
Member Avatar for phouse512
0
105
Member Avatar for amrith92
Member Avatar for amrith92
0
186
Member Avatar for Malwarehunter94

Yeah, i'd also suggest using the gamemaker official PDF tutorials, if you go trough all of them, then you could call yourself and advanced gamemaker "game maker" And btw, CoolGamer 48, gamemaker wasn't bought by yoyo games, what happens was this: the creator used gamamaker under the license of the …

Member Avatar for ripsocrates
0
146
Member Avatar for Quarck
Member Avatar for Tigran
0
188
Member Avatar for cam875

perhaps the drivers of graphics cards also used to know the right memory locations etc for directx and opengl... at the end, GDI also has been made by man kind, so i think parts of some rlly low-level things are asm.

Member Avatar for Tigran
0
101
Member Avatar for Code Shark
Member Avatar for Wiki_Tiki

maybe if you staticly link ALL you use libraries? maybe? :P I once did, and had no probs with deploying, now i use the real visual c++ :D

Member Avatar for Tigran
0
142
Member Avatar for Tigran

Hi guys I don't request any code help, just want to know how they make windows with themes like this: [url]http://www.codeproject.com/KB/library/PrettyWinApiClass/DevStudioSmall.jpg[/url] or like office 2007 Do they do it with winapi, directx, .net or is it possible for all of em' And ehm, another question: does winapi have a future? …

Member Avatar for Tigran
0
147
Member Avatar for Manutebecker

in my oppinion you're learning fast enough :P Continue that way and you'll be a guru in no-time :P and ehm, why openGL instead of DirectX?

Member Avatar for Tigran
0
137
Member Avatar for Tigran

Hello, Lateley, I was searching for a good WinAPI book (for c++ ofcourse) After a while searching, i found this book: Programming Windows, 5th Edition by Charles Petzold The book looks good and is nice and thick (1500 pages or something) But where I worry about it the age of …

Member Avatar for Frederick2
0
125
Member Avatar for cycras

If it's free, then could you give me links to tutorials etc for the Unreal T3 engine? If i know how hard/easy it is, then i'd better be able to make up my mind... Anyways, what network engine are you using? (or is it built in in the unreal T3)

Member Avatar for morrock
0
134
Member Avatar for Aamit

i'd advice you to use fstream for filehandling, it's easier to use and uses the same trusted << and >> ways of the iostream

Member Avatar for Alex_
0
1K
Member Avatar for newprogrammer

Dude, that's spam aswell what you are saying, here, i'll help you: If you want to create a game quite fast, then i suggest learning the Irrlicht engine, it's quite easy to understand and you start off really quick. Though, if you want to do something more serious, you'd get …

Member Avatar for camthalion95
0
156
Member Avatar for Black Magic

I've modified the script a bit [CODE] #include <iostream> using namespace std; int main() { srand(time(NULL)); unsigned int lotteryBall; for(int i = 0; i <=7; ++i) { lotteryBall = rand() % 48 + 1; cout << lotteryBall << " "; if(i == 7) lotteryBall = rand() % 48 + 1; …

Member Avatar for VernonDozier
0
180
Member Avatar for Sniperx

So you want the program to print out the name of every player and you need to enter the goals at every player?

Member Avatar for Ancient Dragon
-1
180
Member Avatar for radnik
Member Avatar for Tigran
0
95
Member Avatar for a3sheikh

The End.