<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community - Game Development</title>
		<link>http://www.daniweb.com/forums/</link>
		<description><![CDATA[Our Game Development forum is the place for Q&A-style discussions related to algorithm design, physics and math theory that are directly related to game development, in addition to techniques implementing sound and graphics libraries. Please use one of the language-specific forums if your question is not exclusive to game development. You can use [tex] bbcode to create LaTeX graphics.]]></description>
		<language>en-US</language>
		<lastBuildDate>Sun, 08 Nov 2009 02:31:19 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - Game Development</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>How to write text to glut window with the keyboard in c++?</title>
			<link>http://www.daniweb.com/forums/thread236885.html</link>
			<pubDate>Sat, 07 Nov 2009 23:25:44 GMT</pubDate>
			<description><![CDATA[How can I draw text in a glut window with the keyboard; 
I have tried doing cin with   <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags"...]]></description>
			<content:encoded><![CDATA[<div>How can I draw text in a glut window with the keyboard;<br />
I have tried doing cin with  <pre style="margin:20px; line-height:13px">void TextBox::Keys(unsigned char key,int x,int y){<br />
&nbsp;  switch(key){<br />
&nbsp; &nbsp; &nbsp; case 13://enter key<br />
&nbsp; &nbsp; &nbsp; cin &gt;&gt; String;<br />
&nbsp; &nbsp; &nbsp;  DrawString = true;<br />
&nbsp; &nbsp; &nbsp; break;&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; case 27:<br />
&nbsp; &nbsp; &nbsp; &nbsp; exit(0);&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; break;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp;  }</pre><br />
and then in the draw function<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fontx = tx + 3;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fonty = ty + (th+8)/2;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  if(DrawString == true){<br />
&nbsp; &nbsp; &nbsp; &nbsp;  glColor3f(0.0,0.0,0.0);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp;  Font(GLUT_BITMAP_HELVETICA_12,(char*)String,fontx,fonty);<br />
}</pre><br />
the intention here was to get the string from cin and put it in the string variable and then draw it to the screen. I know how to get<br />
input with cin and put it in a variable with a console program, but i don't know how to do it with the glut keyboard. I also know how to draw text to the screen with glut. I have other questions but I will post them in seperate threads. Much thanks, Jody Bush</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>bushimports</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236885.html</guid>
		</item>
		<item>
			<title>Searching for coders</title>
			<link>http://www.daniweb.com/forums/thread236848.html</link>
			<pubDate>Sat, 07 Nov 2009 19:03:13 GMT</pubDate>
			<description>Hello every one. I would like to ask any one who is able to code c++  if any one would like to work on a new code for a new or old game Final Fantasy XI. 
 
Projectxi.org is doing some good work, but could really use some help from you guys, and it would be a honor to have some of your help. We...</description>
			<content:encoded><![CDATA[<div>Hello every one. I would like to ask any one who is able to code c++  if any one would like to work on a new code for a new or old game Final Fantasy XI.<br />
<br />
Projectxi.org is doing some good work, but could really use some help from you guys, and it would be a honor to have some of your help. We have a massaive lagg issuse and our conectioion is only letting us allow 9 players to play on one server. So I thought It would be a good idea to ask you for help.<br />
But if your willing to just check out the code and maybe post some ideas at projectxi.org for help This would be very awsome.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>mancent</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236848.html</guid>
		</item>
		<item>
			<title>Problem with DirectX3D initiation</title>
			<link>http://www.daniweb.com/forums/thread236387.html</link>
			<pubDate>Thu, 05 Nov 2009 21:29:30 GMT</pubDate>
			<description><![CDATA[I try to split up my DirectX stuff and GUI stuff into two classes. It has come to the part where it compiles, but this snippet return false:  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>I try to split up my DirectX stuff and GUI stuff into two classes. It has come to the part where it compiles, but this snippet return false: <pre style="margin:20px; line-height:13px">if(FAILED(pd3d-&gt;CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hwnd, D3DCREATE_SOFTWARE_VERTEXPROCESSING, &amp;d3dpp, &amp;pd3dDevice)))<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; MessageBox(NULL, &quot;CD failed!&quot;, &quot;Fatal error!&quot;, MB_OK);<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
}</pre>It is part of the class DxManager, I think it's the <span style="font-weight:bold">hwnd</span> that fails. hwnd is part of the Gui class<br />
<br />
Here is the Gui class <pre style="margin:20px; line-height:13px">class Gui<br />
{<br />
public:<br />
&nbsp; &nbsp; &nbsp; &nbsp; Gui();<br />
&nbsp; &nbsp; &nbsp; &nbsp; virtual ~Gui();<br />
&nbsp; &nbsp; &nbsp; &nbsp; bool InitWindow(HINSTANCE hInstance);&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);<br />
protected:<br />
&nbsp; &nbsp; &nbsp; &nbsp; HINSTANCE&nbsp; &nbsp; &nbsp; &nbsp; hInstance;<br />
&nbsp; &nbsp; &nbsp; &nbsp; HWND&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hwnd;<br />
private:<br />
&nbsp; &nbsp; &nbsp; &nbsp; int&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width, height;<br />
};</pre> and here is the DxManager class  <pre style="margin:20px; line-height:13px">class DxManager : public Gui<br />
{<br />
public:<br />
&nbsp; &nbsp; &nbsp; &nbsp; DxManager();<br />
&nbsp; &nbsp; &nbsp; &nbsp; virtual ~DxManager();<br />
&nbsp; &nbsp; &nbsp; &nbsp; bool InitDirect3D();<br />
&nbsp; &nbsp; &nbsp; &nbsp; void StartRender();<br />
&nbsp; &nbsp; &nbsp; &nbsp; void StopRender();<br />
&nbsp; &nbsp; &nbsp; &nbsp; void CleanUp();<br />
&nbsp; &nbsp; &nbsp; &nbsp; void BlitToSurface();<br />
private:<br />
&nbsp; &nbsp; &nbsp; &nbsp; bool fullscreen;<br />
};</pre>Anyone that can help me understand what is wrong?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>FrozenSnake</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236387.html</guid>
		</item>
		<item>
			<title>Disabling fullscreen using GLUT!</title>
			<link>http://www.daniweb.com/forums/thread236050.html</link>
			<pubDate>Wed, 04 Nov 2009 20:11:05 GMT</pubDate>
			<description><![CDATA[Sorry for doing this, but anyone with GLUT experience willing to look though a little code, since it's not working at all; I posted the thread here: 
http://www.daniweb.com/forums/thread235691.html]]></description>
			<content:encoded><![CDATA[<div>Sorry for doing this, but anyone with GLUT experience willing to look though a little code, since it's not working at all; I posted the thread here:<br />
<a rel="nofollow" class="t" href="http://www.daniweb.com/forums/thread235691.html" target="_blank">http://www.daniweb.com/forums/thread235691.html</a></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Skeen</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236050.html</guid>
		</item>
		<item>
			<title>News Story FIGHT: World of Warcraft vs China</title>
			<link>http://www.daniweb.com/news/story235672.html</link>
			<pubDate>Tue, 03 Nov 2009 14:04:15 GMT</pubDate>
			<description>It would seem that there is something of an ongoing battle in the world of online Chinese gaming, and World of Warcraft is right in the midst of it. 
 
As I reported (http://www.daniweb.com/news/story220683.html) back in July, the company behind World of Warcraft (Blizzard Entertainment) was having...</description>
			<content:encoded><![CDATA[<div>It would seem that there is something of an ongoing battle in the world of online Chinese gaming, and World of Warcraft is right in the midst of it.<br />
<br />
As I <a rel="nofollow" class="t" href="http://www.daniweb.com/news/story220683.html" target="_blank">reported</a> back in July, the company behind World of Warcraft (Blizzard Entertainment) was having problems in getting The Burning Crusade expansion pack up and running in China. Best not even mention Wrath of the Lich King then. It's all a little, well a lot, complicated and just a tad political, of course. Here's <a rel="nofollow" class="t" href="http://www.daniweb.com/news/story220683.html" target="_blank">what I said</a> a few months ago:<br />
<br />
&quot;A planned upgrade to the game which involved moving to a new operator in China, an online gaming outfit by the name of NetEase, has been anything but easy. Because it is a foreign game, and the move to a new local operator makes it a new foreign game for good measure, the Chinese government get to put it through a strict approval process.&quot;<br />
<br />
Now it would <a rel="nofollow" class="t" href="http://www.networkworld.com/news/2009/110309-chinese-government-agencies-battle-over.html?hpg1=bn" target="_blank">seem</a> that the publishing regulator in China has returned that application and halted the approval process as a result. NetEase, meanwhile, has already started operating World of Warcraft in China again despite not having approval. It fired up the local WoW servers back in September, one assumes as it was tired of waiting for that bureaucratic rubber stamp. Remember, WoW had already been approved and had been operating in China previously, all that changed was the local operator. Heck, NetEase apparently even got the nod to go ahead from the Cultural Ministry in China to rev up the WoW servers again.<br />
<br />
But that has not appeased the agency concerned with the approval process, the General Administration of Press and Publication (GAPP) and it has now demanded NetEase stop taking money, stop new players from signing up, and in effect just, well, stop. No doubt part of this intransigence stems from the declared intent of GAPP to clean up the online gaming sector and remove violence and pornography from the MMORPG genre (oh how China loves those <a rel="nofollow" class="t" href="http://www.daniweb.com/blogs/entry4434.html" target="_blank">weapons of mass censorship</a>) but it will be interesting to see how the war is won between commerce, a Government with one eye on foreign investment and an internal agency seemingly struggling to justify its own existence.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>happygeek</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235672.html</guid>
		</item>
		<item>
			<title>pygame and livewires, small problem</title>
			<link>http://www.daniweb.com/forums/thread235160.html</link>
			<pubDate>Sun, 01 Nov 2009 20:21:44 GMT</pubDate>
			<description><![CDATA[I am reading the book "Python Programming 2nd Ed. for the absolute beginner" and I am having some trouble with a very simple program. I was instructed to download and install pygame and the livewires package as I have done. This program is meant to display a grahical window, that's it. But I'M...]]></description>
			<content:encoded><![CDATA[<div>I am reading the book &quot;Python Programming 2nd Ed. for the absolute beginner&quot; and I am having some trouble with a very simple program. I was instructed to download and install pygame and the livewires package as I have done. This program is meant to display a grahical window, that's it. But I'M getting the following error with the following code.<br />
<br />
<span style="color:Red">AttributeError: 'module' object has no attribute 'init' on line 6</span><br />
<br />
 <pre style="margin:20px; line-height:13px"># New Graphics Window<br />
# Demonstrates creating a graphics window<br />
<br />
from livewires import games<br />
<br />
games.init(screen_width = 640, screen_height = 480, fps = 50)<br />
<br />
games.Screen.mainloop()</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Garrett85</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235160.html</guid>
		</item>
		<item>
			<title>How to get Maya to replace a directory with an environment variable?</title>
			<link>http://www.daniweb.com/forums/thread233980.html</link>
			<pubDate>Tue, 27 Oct 2009 23:20:55 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I'm trying to work out how to get Maya to save out my environment variable as opposed to the full directory. I have changed my maya.env file so it has no trouble reading the environment variable and then writing out the environment variable if it was already written out in the maya ascii...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm trying to work out how to get Maya to save out my environment variable as opposed to the full directory. I have changed my maya.env file so it has no trouble reading the environment variable and then writing out the environment variable if it was already written out in the maya ascii file. <br />
<br />
The thing is when I'm in Maya and I pull in another jpeg, or tif file it automatically writes the whole directory out and not the environment variable. <br />
<br />
How can I get Maya to aggressively replace my directory and write out the environment variable every time?<br />
<br />
Thanks,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Morika</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233980.html</guid>
		</item>
		<item>
			<title>Graphics on multicores</title>
			<link>http://www.daniweb.com/forums/thread233514.html</link>
			<pubDate>Mon, 26 Oct 2009 16:23:12 GMT</pubDate>
			<description>Hello, 
     I am currently doing a research at my university about the ways in which we can use multicore CPU to enhance graphics performance instead of putting all the load on the GPU, I am trying to work with both OpenGL and OpenMP and I am planning on using gDebugger to measure performance but...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
     I am currently doing a research at my university about the ways in which we can use multicore CPU to enhance graphics performance instead of putting all the load on the GPU, I am trying to work with both OpenGL and OpenMP and I am planning on using gDebugger to measure performance but I am stuck due the lack of information and papers about this subject so if anyone has any knowledge or any contribution or suggestion please do let me know.<br />
<br />
Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Mohamad89</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233514.html</guid>
		</item>
		<item>
			<title>binary x file versus text x file...please help me</title>
			<link>http://www.daniweb.com/forums/thread233466.html</link>
			<pubDate>Mon, 26 Oct 2009 13:26:58 GMT</pubDate>
			<description><![CDATA[hi, can you give me an advice ? 
i have text x file and i would like to convert it to binary x file, because of size. what do i have to install and how can i do it ? i have also an application "3d exploration", but there is no choice (text, binary) in saving. 
sorry for my english, i am not a...]]></description>
			<content:encoded><![CDATA[<div>hi, can you give me an advice ?<br />
i have text x file and i would like to convert it to binary x file, because of size. what do i have to install and how can i do it ? i have also an application &quot;3d exploration&quot;, but there is no choice (text, binary) in saving.<br />
sorry for my english, i am not a native speaker (czech republic)!<br />
thanks a lot, my e-mail is <a href="mailto:oxadloo@centrum.cz">oxadloo@centrum.cz</a></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>jmelicko</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233466.html</guid>
		</item>
		<item>
			<title>Torque game engine</title>
			<link>http://www.daniweb.com/forums/thread233264.html</link>
			<pubDate>Sun, 25 Oct 2009 23:37:49 GMT</pubDate>
			<description><![CDATA[I got the book Torque for teens but I can't follow along with the book because it instructs me to copy the folder \example into itself and rename it to \experiment. The books says it's located in whatever directory I installed torque into and then \Torque\SDK\example 
But I can't find it anywhere....]]></description>
			<content:encoded><![CDATA[<div>I got the book Torque for teens but I can't follow along with the book because it instructs me to copy the folder \example into itself and rename it to \experiment. The books says it's located in whatever directory I installed torque into and then \Torque\SDK\example<br />
But I can't find it anywhere. Can someone help me please? Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Garrett85</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233264.html</guid>
		</item>
		<item>
			<title>Development of FPX game engine- Episode 4</title>
			<link>http://www.daniweb.com/forums/thread233249.html</link>
			<pubDate>Sun, 25 Oct 2009 22:03:40 GMT</pubDate>
			<description><![CDATA[Hello. As some of you know I'm working on a game engine and I'm making a video diary about it. So this is the 4. episode of that diary. In general, I'm talking about all the new stuff that I did in my engine. To learn more, you can see video.(Below) Thanks. 
 
Development of FPX game engine-...]]></description>
			<content:encoded><![CDATA[<div>Hello. As some of you know I'm working on a game engine and I'm making a video diary about it. So this is the 4. episode of that diary. In general, I'm talking about all the new stuff that I did in my engine. To learn more, you can see video.(Below) Thanks.<br />
<br />
<a rel="nofollow" class="t" href="http://www.youtube.com/user/FrozenPixelStudio#p/u/0/4nx9y0oQKx4" target="_blank">Development of FPX game engine- Episode 4 (Click to see the video) </a><br />
<br />
<a rel="nofollow" class="t" href="http://www.fpx-studio.com" target="_blank">Link to my website: www.fpx-studio.com </a></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>fpx-studio</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233249.html</guid>
		</item>
		<item>
			<title>using graphics under c for game development?? please help me.</title>
			<link>http://www.daniweb.com/forums/thread233214.html</link>
			<pubDate>Sun, 25 Oct 2009 17:58:25 GMT</pubDate>
			<description><![CDATA[do you understand exact difference b/w XOR_PUT, OR_PUT ,AND_PUT & COPY_PUT. I prepared many games like snake xenia, bricks(with a entirely diff logic than that which is in the book graphics under c of yashwant karnetkar) ,etc. but facing a problem in game bricks]]></description>
			<content:encoded><![CDATA[<div>do you understand exact difference b/w XOR_PUT, OR_PUT ,AND_PUT &amp; COPY_PUT. I prepared many games like snake xenia, bricks(with a entirely diff logic than that which is in the book graphics under c of yashwant karnetkar) ,etc. but facing a problem in game bricks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>kirit275</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233214.html</guid>
		</item>
		<item>
			<title>Where To Start</title>
			<link>http://www.daniweb.com/forums/thread233036.html</link>
			<pubDate>Sun, 25 Oct 2009 01:15:36 GMT</pubDate>
			<description>I have never made a game before, but have been interested for a while, but i have no idea where to start. 
could someone recommend some software on where to start, and how to actually program a game. 
Thanks 
~Matt</description>
			<content:encoded><![CDATA[<div>I have never made a game before, but have been interested for a while, but i have no idea where to start.<br />
could someone recommend some software on where to start, and how to actually program a game.<br />
Thanks<br />
~Matt</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>mrclark</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233036.html</guid>
		</item>
		<item>
			<title>Nokizaru - Ninja Game</title>
			<link>http://www.daniweb.com/forums/thread232788.html</link>
			<pubDate>Sat, 24 Oct 2009 03:19:17 GMT</pubDate>
			<description>Hi there, 
 
http://www.harperations.com/nokizaruscreen.jpg 
 
Muse Games is holding a contest for a Unity Game concept. My entry is Nokizaru. You play a ninja that tries to earn gold by taking out high value, heavily guarded targets. But you must move within the shadows because other ninjas are...</description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
<a rel="nofollow" class="t" href="http://www.harperations.com/nokizaruscreen.jpg" target="_blank">http://www.harperations.com/nokizaruscreen.jpg</a><br />
<br />
Muse Games is holding a contest for a Unity Game concept. My entry is Nokizaru. You play a ninja that tries to earn gold by taking out high value, heavily guarded targets. But you must move within the shadows because other ninjas are doing the same thing. Co-op and Solo PvP will be implemented.  :o<br />
<br />
In the actual game:<br />
<br />
Concept art will be done by: BowenJ<br />
Programing and Animation by: Sophie Houlden<br />
<br />
The game concept needs your vote to get made, please vote for it at. <br />
<a rel="nofollow" class="t" href="http://musegames.com/community/immunitychallenge/" target="_blank">http://musegames.com/community/immunitychallenge/</a>  ;D<br />
<br />
<br />
<br />
And here is a Making of the Ninja video. <br />
<a rel="nofollow" class="t" href="http://www.harperations.com" target="_blank">www.harperations.com</a><br />
<br />
<a href="http://www.harperations.com/Kama.jpg" target="_blank">http://www.harperations.com/Kama.jpg</a><br />
<br />
Best,<br />
<br />
<br />
<br />
Kevin Harper.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>kevinpaulharper</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232788.html</guid>
		</item>
		<item>
			<title>trouble shooting a game</title>
			<link>http://www.daniweb.com/forums/thread232478.html</link>
			<pubDate>Fri, 23 Oct 2009 02:03:26 GMT</pubDate>
			<description>hi each time i try to play a game my computer shut down why is that happening</description>
			<content:encoded><![CDATA[<div>hi each time i try to play a game my computer shut down why is that happening</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>erlene</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232478.html</guid>
		</item>
		<item>
			<title>Hi, Network games</title>
			<link>http://www.daniweb.com/forums/thread232254.html</link>
			<pubDate>Thu, 22 Oct 2009 10:16:34 GMT</pubDate>
			<description><![CDATA[Hi , can you answer me  
How can design network game like Trvian http://www.travian.com/ 
it dosn't want download , and there want download . 
Plese help  
Thank you]]></description>
			<content:encoded><![CDATA[<div>Hi , can you answer me <br />
How can design network game like Trvian <a rel="nofollow" class="t" href="http://www.travian.com/" target="_blank">http://www.travian.com/</a><br />
it dosn't want download , and there want download .<br />
Plese help <br />
Thank you</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>abdullah_359</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232254.html</guid>
		</item>
		<item>
			<title>Looking for Flash Game Developer</title>
			<link>http://www.daniweb.com/forums/thread232197.html</link>
			<pubDate>Thu, 22 Oct 2009 06:59:33 GMT</pubDate>
			<description>Hello, 
I am looking for a flash game developer to develop a game for me. 
If any one over here is skilled in flash game development with flex, please send me a PM. 
 
Cheers 
Eyebee</description>
			<content:encoded><![CDATA[<div>Hello,<br />
I am looking for a flash game developer to develop a game for me.<br />
If any one over here is skilled in flash game development with flex, please send me a PM.<br />
<br />
Cheers<br />
Eyebee</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>ibingame</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232197.html</guid>
		</item>
		<item>
			<title>game trouble</title>
			<link>http://www.daniweb.com/forums/thread232002.html</link>
			<pubDate>Wed, 21 Oct 2009 14:59:55 GMT</pubDate>
			<description>hey guys i have a problem with a game of mine...farcry....the problem is that whenever i play the game the graphics gets messed up and the screen goes white though im still playing the game....ie, the game doesnt hang at all. 
i am currently using a dell computer: intel core2 duo cpu E6550@2.33Ghz...</description>
			<content:encoded><![CDATA[<div>hey guys i have a problem with a game of mine...farcry....the problem is that whenever i play the game the graphics gets messed up and the screen goes white though im still playing the game....ie, the game doesnt hang at all.<br />
i am currently using a dell computer: intel core2 duo cpu E6550@2.33Ghz ram:2037 MB and a 32-bit operating system.<br />
...and yes i am a newbie so please go easy on me.. :)<br />
<br />
please help guys!!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>neilsam</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232002.html</guid>
		</item>
		<item>
			<title>OpenGL rotations</title>
			<link>http://www.daniweb.com/forums/thread230824.html</link>
			<pubDate>Fri, 16 Oct 2009 22:10:14 GMT</pubDate>
			<description>I am making a rubix cube game in OpenGL and I have run into a problem with rotations.  When doing multiple rotations (x, y, z) the axis gets rotated as well (ie when doing an x-axis rotation of 90 or 270 deg the y-axis becomes the z-axis and z-axis becomes the y-axis). 
Is there any way to stop the...</description>
			<content:encoded><![CDATA[<div>I am making a rubix cube game in OpenGL and I have run into a problem with rotations.  When doing multiple rotations (x, y, z) the axis gets rotated as well (ie when doing an x-axis rotation of 90 or 270 deg the y-axis becomes the z-axis and z-axis becomes the y-axis).<br />
Is there any way to stop the axis from rotating but allowing the object to translate or is there a trick to get around this.<br />
<br />
Here is a small part of my code for the translations.<br />
<br />
 <pre style="margin:20px; line-height:13px">glPushMatrix();<br />
&nbsp; &nbsp; &nbsp; &nbsp; glRotatef(xrot, 1.0, 0.0, 0.0); //rotates the unit cube into place<br />
&nbsp; &nbsp; &nbsp; &nbsp; glRotatef(yrot, 0.0, 1.0, 0.0);<br />
&nbsp; &nbsp; &nbsp; &nbsp; glRotatef(zrot, 0.0, 0.0, 1.0);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; glTranslatef(xoff, yoff, zoff);&nbsp; //translates the unit cube into place<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; glRotatef(xrotset, 1.0, 0.0, 0.0); //rotates the unit cube in its place <br />
&nbsp; &nbsp; &nbsp; &nbsp; glRotatef(yrotset, 0.0, 1.0, 0.0);<br />
&nbsp; &nbsp; &nbsp; &nbsp; glRotatef(zrotset, 0.0, 0.0, 1.0);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; glBegin(GL_QUADS); //draws the cube<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for( int i = 0; i &lt; unitIndices.size(); i++ )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GLint *curIndices;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; curIndices = unitIndices[i].getVals();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; glColor3fv(unitColors[i].getVals());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; glNormal3fv(unitNorms[i].getVals());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; glVertex3fv(unitVerts[curIndices[0]].getVals());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; glVertex3fv(unitVerts[curIndices[1]].getVals());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; glVertex3fv(unitVerts[curIndices[2]].getVals());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; glVertex3fv(unitVerts[curIndices[3]].getVals());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; glEnd();<br />
glPopMatrix();</pre>This is just how I have the drawing for each unit cube 27 of these make up the &quot;rubix cube&quot;.  The problem lies in the xrot, yrot and zrot lines.<br />
<br />
Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>sfuo</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230824.html</guid>
		</item>
		<item>
			<title>Can I install hardcore computer games on a flash drive without intalling on my comput</title>
			<link>http://www.daniweb.com/forums/thread230638.html</link>
			<pubDate>Fri, 16 Oct 2009 07:56:33 GMT</pubDate>
			<description>Can I install hardcore computer games on a flash drive without installing on my computer? 
So can I install hardcore computer games on a flash drive without installing the games on my computer? I would like to play games such as Star Wars Knights of the Old Republic 2 The Sith Lords, Halo, Star...</description>
			<content:encoded><![CDATA[<div>Can I install hardcore computer games on a flash drive without installing on my computer?<br />
So can I install hardcore computer games on a flash drive without installing the games on my computer? I would like to play games such as Star Wars Knights of the Old Republic 2 The Sith Lords, Halo, Star Craft and some others? Can someone PLEASE help me?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>FZR005</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230638.html</guid>
		</item>
		<item>
			<title>Hi there!</title>
			<link>http://www.daniweb.com/forums/thread230280.html</link>
			<pubDate>Thu, 15 Oct 2009 04:13:01 GMT</pubDate>
			<description>Plz i need to design a bible game in visual basic 6.0.  
Can somebody advice me.</description>
			<content:encoded><![CDATA[<div>Plz i need to design a bible game in visual basic 6.0. <br />
Can somebody advice me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>ebumark</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230280.html</guid>
		</item>
		<item>
			<title>Camera witha a large field of view</title>
			<link>http://www.daniweb.com/forums/thread230124.html</link>
			<pubDate>Wed, 14 Oct 2009 13:38:46 GMT</pubDate>
			<description><![CDATA[Hello, 
 
In my program I have clipping planes setup for 60 degree field of view. I understand that near plane is in front of the camera and the far plane is further away from the camera. I would like to have a large field of view, let' say more than 200 degrees (the most I can go of course is 360,...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
In my program I have clipping planes setup for 60 degree field of view. I understand that near plane is in front of the camera and the far plane is further away from the camera. I would like to have a large field of view, let' say more than 200 degrees (the most I can go of course is 360, of course). But anything starting with 180, makes the far plane to be behind the Near plane. How should I set the transformation matrix for large FOVs? Anyone had experiences with that?<br />
<br />
Thanks.<br />
<br />
PS. My program is in dx8.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>sjcomp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230124.html</guid>
		</item>
		<item>
			<title>any game ..pls</title>
			<link>http://www.daniweb.com/forums/thread229999.html</link>
			<pubDate>Wed, 14 Oct 2009 03:19:37 GMT</pubDate>
			<description><![CDATA[can you give me any game with c++ source code..pls.. 
with run time O(n^2) or n<=n^2.. 
tnx..]]></description>
			<content:encoded><![CDATA[<div>can you give me any game with c++ source code..pls..<br />
with run time O(n^2) or n&lt;=n^2..<br />
tnx..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>jehzl</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229999.html</guid>
		</item>
		<item>
			<title>DirectX 10 slow? alternatives?</title>
			<link>http://www.daniweb.com/forums/thread229692.html</link>
			<pubDate>Tue, 13 Oct 2009 02:58:09 GMT</pubDate>
			<description>I know a little DirectX 9(I can draw a little, etc.), but i want to learn DirectX 10. I decided to take the tutorial that is provided in the DirectX SDK, so i did.  
 
Almost immediately i noticed that it was heavy. My CPU usage shot up and it took much longer to load than DirectX 9. The second...</description>
			<content:encoded><![CDATA[<div>I know a little DirectX 9(I can draw a little, etc.), but i want to learn DirectX 10. I decided to take the tutorial that is provided in the DirectX SDK, so i did. <br />
<br />
Almost immediately i noticed that it was heavy. My CPU usage shot up and it took much longer to load than DirectX 9. The second example (drawing a simple triangle) took over twenty seconds to complete! My PC ain't the 'newest' so to speak, so i can see why i seem to be encountering these problems.<br />
<br />
So what I'm asking is this: What can i do to make DirectX 10 work more smoothly on my rather weak PC? and what is the best alternative to DirectX? maybe OpenGL?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>athlon32</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229692.html</guid>
		</item>
		<item>
			<title>Compiler For Prx?</title>
			<link>http://www.daniweb.com/forums/thread228186.html</link>
			<pubDate>Wed, 07 Oct 2009 02:30:45 GMT</pubDate>
			<description><![CDATA[hello, i have been working on this "psp hacking devise"(kinda like nitepr) and i have did all my programing in c like your supposed to do and i would like to know how to compile it in to a prx!! i would really appreciate the help.]]></description>
			<content:encoded><![CDATA[<div>hello, i have been working on this &quot;psp hacking devise&quot;(kinda like nitepr) and i have did all my programing in c like your supposed to do and i would like to know how to compile it in to a prx!! i would really appreciate the help.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>ImMoRtAl-</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread228186.html</guid>
		</item>
		<item>
			<title>Everyone willing to have some work and fun, read this!!!</title>
			<link>http://www.daniweb.com/forums/thread227776.html</link>
			<pubDate>Mon, 05 Oct 2009 12:07:30 GMT</pubDate>
			<description><![CDATA[HI everyone! I'm Darkwing. Me and a crew of ppl, mostly teens :D, are willing to create an RPG named "Phoenix Dream". The thing is, i'm still learning, really, just starting to learn to program, so i'd need help from someone experienced enough to deal with 3D rendering and creation and programming....]]></description>
			<content:encoded><![CDATA[<div>HI everyone! I'm Darkwing. Me and a crew of ppl, mostly teens :D, are willing to create an RPG named &quot;Phoenix Dream&quot;. The thing is, i'm still learning, really, just starting to learn to program, so i'd need help from someone experienced enough to deal with 3D rendering and creation and programming. If anyone of you is willing to help me, PM me! I'll be glad for any help!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>darkwing229</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227776.html</guid>
		</item>
		<item>
			<title>how do I fix this</title>
			<link>http://www.daniweb.com/forums/thread227745.html</link>
			<pubDate>Mon, 05 Oct 2009 09:45:32 GMT</pubDate>
			<description><![CDATA[I only know basic things about my computer. and this problem just came up. I checked my dxdiag in my computer, because installing games(3D) gets errors:failed to download D3DDevice. and when I checked the device was missing and they were disabled. I don't know how i lost it. cause I use to play...]]></description>
			<content:encoded><![CDATA[<div>I only know basic things about my computer. and this problem just came up. I checked my dxdiag in my computer, because installing games(3D) gets errors:failed to download D3DDevice. and when I checked the device was missing and they were disabled. I don't know how i lost it. cause I use to play other 3D games online and I never had this problems, before. What should I do? How do I fix this? Do I need to spend cash to fix this?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>ayanatabe</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227745.html</guid>
		</item>
		<item>
			<title><![CDATA[3d rubik's cube]]></title>
			<link>http://www.daniweb.com/forums/thread227214.html</link>
			<pubDate>Fri, 02 Oct 2009 11:07:57 GMT</pubDate>
			<description><![CDATA[Can anybody tell me where to get a sample code for a 3d rubik's cube written in opengl?]]></description>
			<content:encoded><![CDATA[<div>Can anybody tell me where to get a sample code for a 3d rubik's cube written in opengl?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>hamzak</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227214.html</guid>
		</item>
		<item>
			<title>mapping 2d image to a shape</title>
			<link>http://www.daniweb.com/forums/thread226916.html</link>
			<pubDate>Thu, 01 Oct 2009 03:00:36 GMT</pubDate>
			<description><![CDATA[hello everyone. Right now i'm currently working on a 3d engine in python and pygame. it supports images that can (will) be mapped and transformed to look 3d. in pygame, you can load your basic image, do rotations and scales, etc. But the only thing it lacks (perhaps b/c it's more advanced) is...]]></description>
			<content:encoded><![CDATA[<div>hello everyone. Right now i'm currently working on a 3d engine in python and pygame. it supports images that can (will) be mapped and transformed to look 3d. in pygame, you can load your basic image, do rotations and scales, etc. But the only thing it lacks (perhaps b/c it's more advanced) is mapping images to a shape. In short, would anyone know how to go about taking image data and then mapping it to a shape (any formulas?)? any help/suggestions would be appreciated!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>fallopiano</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226916.html</guid>
		</item>
		<item>
			<title>mobile unlock suggestion</title>
			<link>http://www.daniweb.com/forums/thread226689.html</link>
			<pubDate>Wed, 30 Sep 2009 04:55:39 GMT</pubDate>
			<description>i bought nokia 6600 mobile on ebay,its loked phone i (t mobile) i got free unlock code from  ,thing is im in confused coz some one suggest me to go for software some one suggest me to unlock code i need concret suggestion which is good.</description>
			<content:encoded><![CDATA[<div>i bought nokia 6600 mobile on ebay,its loked phone i (t mobile) i got free unlock code from  ,thing is im in confused coz some one suggest me to go for software some one suggest me to unlock code i need concret suggestion which is good.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>michealnat</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226689.html</guid>
		</item>
		<item>
			<title>Graphics card help</title>
			<link>http://www.daniweb.com/forums/thread225877.html</link>
			<pubDate>Sat, 26 Sep 2009 04:12:36 GMT</pubDate>
			<description>could not find a Direct 3D device that has a Direct3D 9 level driver and supports  pixel shader 1.1 or greater 
 
hi i keep getting this error when I try to run an xna game i created.  My graphics card is Intel(R)  82865G Graphics Controller</description>
			<content:encoded><![CDATA[<div>could not find a Direct 3D device that has a Direct3D 9 level driver and supports  pixel shader 1.1 or greater<br />
<br />
hi i keep getting this error when I try to run an xna game i created.  My graphics card is Intel(R)  82865G Graphics Controller</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>penguin22</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225877.html</guid>
		</item>
		<item>
			<title>OpenGL video driver not found</title>
			<link>http://www.daniweb.com/forums/thread225695.html</link>
			<pubDate>Fri, 25 Sep 2009 12:31:36 GMT</pubDate>
			<description>I have GeForce 7300 GT graphics card installed on my PC.  A Game is saying OpenGL video driver not found. 
 
Can someone give the location of the driver ? 
Does GeForce 7300 GT Support OpenGL ? 
 
Thanks, 
Rakesh</description>
			<content:encoded><![CDATA[<div>I have GeForce 7300 GT graphics card installed on my PC.  A Game is saying OpenGL video driver not found.<br />
<br />
Can someone give the location of the driver ?<br />
Does GeForce 7300 GT Support OpenGL ?<br />
<br />
Thanks,<br />
Rakesh</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>rckothari</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225695.html</guid>
		</item>
		<item>
			<title>Including text file</title>
			<link>http://www.daniweb.com/forums/thread225381.html</link>
			<pubDate>Thu, 24 Sep 2009 09:18:06 GMT</pubDate>
			<description>Hi, 
I just wrote a simple (but how enjoyable;) game and I also have help file for this game in txt format. I wonder how can I compile this file into my *.exe file that I would do not need to have two files (one *.exe and second *.txt) only one *.exe; 
Thank you.</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I just wrote a simple (but how enjoyable;) game and I also have help file for this game in txt format. I wonder how can I compile this file into my *.exe file that I would do not need to have two files (one *.exe and second *.txt) only one *.exe;<br />
Thank you.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>atch</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225381.html</guid>
		</item>
		<item>
			<title>opengl spritesheet help</title>
			<link>http://www.daniweb.com/forums/thread225163.html</link>
			<pubDate>Wed, 23 Sep 2009 13:47:41 GMT</pubDate>
			<description>If possible could you please take a look at this image/tileset and see if its possible to draw a 2x2 tile map with each of the frames in that image correctly mapped onto the quads in the tile map. 
 
The idea is to go on and use this as a spritesheet or/and tileset, to basically cut out ANY PORTION...</description>
			<content:encoded><![CDATA[<div>If possible could you please take a look at this image/tileset and see if its possible to draw a 2x2 tile map with each of the frames in that image correctly mapped onto the quads in the tile map.<br />
<br />
The idea is to go on and use this as a spritesheet or/and tileset, to basically cut out ANY PORTION (or frame) of a single texture.<br />
<br />
The image : <a rel="nofollow" class="t" href="http://img441.imageshack.us/i/tileset512.jpg/" target="_blank">http://img441.imageshack.us/i/tileset512.jpg/</a><br />
<br />
This is all in 2D, the formula i use gets me the frames in the wrong order (draws from BL to TL, then BR to TR) so if anyone can help i'd appreciate it and note i'm NOT ane expert with opengl lol.<br />
<br />
So my 2x2 tile map should look EXACTLY as that image!<br />
<br />
Also! If by some magical way the texture coordinate system can be modified to start with 0,0 at the top left then i'd be fine as i only get the correct coordinates from the texture starting at 0,0 where thats the bottom (BL) when i want (TL).<br />
<br />
Thank You</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>junioryz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225163.html</guid>
		</item>
		<item>
			<title><![CDATA[3D Educational MMO's]]></title>
			<link>http://www.daniweb.com/forums/thread224495.html</link>
			<pubDate>Mon, 21 Sep 2009 03:48:34 GMT</pubDate>
			<description><![CDATA[Hello! 
 
I'm a management major doing some research on educational video games: Just wanted to ask if you have any good sources/references/insights/anything interesting about video games being used in education? especially in the collegiate level. 
 
Things I want to find out are: 
 
>The usual...]]></description>
			<content:encoded><![CDATA[<div>Hello!<br />
<br />
I'm a management major doing some research on educational video games: Just wanted to ask if you have any good sources/references/insights/anything interesting about video games being used in education? especially in the collegiate level.<br />
<br />
Things I want to find out are:<br />
<br />
&gt;The usual target segment for these games have been children, are there games that are educational that are targeted for a mature/college-level audience?<br />
<br />
&gt;How has the educational games market been doing? Do teachers really use it? Would you use it to teach college students?<br />
<br />
&gt;Are there any MMO(Massive Multiplayer Online) educational games?<br />
<br />
&gt;How about Online Classrooms similar to video games?<br />
<br />
&gt;anything interesting/ keep in mind about either or a combination of 3D/MMO/Educational Video Games<br />
<br />
Im looking for really good material :) The end project is i'll be doing a sort of 3D MMo educational videogame using the projectwonderland engine, im doing the background of the study.<br />
<br />
Thank you so much!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>nobody2ph</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread224495.html</guid>
		</item>
		<item>
			<title>I need a little advice...</title>
			<link>http://www.daniweb.com/forums/thread222733.html</link>
			<pubDate>Sun, 13 Sep 2009 17:25:04 GMT</pubDate>
			<description><![CDATA[So. I've decided to make a browser based MMORPG. But I need some advice on where I should start with the whole thing... 
I've got ideas, and knowledge on HTML, CSS and JavaScript. From what I've found PHP and MySQL is needed also, and I know very little on them, so what is it about these two I need...]]></description>
			<content:encoded><![CDATA[<div>So. I've decided to make a browser based MMORPG. But I need some advice on where I should start with the whole thing...<br />
I've got ideas, and knowledge on HTML, CSS and JavaScript. From what I've found PHP and MySQL is needed also, and I know very little on them, so what is it about these two I need to know? What are the important parts that'll make it come together?<br />
<br />
If it's any help, the game is a basic text based, it's mainly clicking links to make stuff happen, to buy items, fight, etc. I'd like the ability to buy and build property also. As I say, nothing big (idea wise). It will have a few graphics also.<br />
What I need to know, if it wasn't very clear before: What parts of PHP and MySQL are vital? Why do I need PHP and MySQL? And where should I start?<br />
<br />
Thanks for all help! :)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Kairu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222733.html</guid>
		</item>
		<item>
			<title>j2me mobile 3d game development</title>
			<link>http://www.daniweb.com/forums/thread222170.html</link>
			<pubDate>Fri, 11 Sep 2009 05:34:55 GMT</pubDate>
			<description>i have developed a mobile 3d game, it is working on simulator without any issue and reasonable memory usage(~ 75000 KB). But it is not run on mobile phone(SonyEricsson k750i) well. Graphics are loaded very slowly, please help me.</description>
			<content:encoded><![CDATA[<div>i have developed a mobile 3d game, it is working on simulator without any issue and reasonable memory usage(~ 75000 KB). But it is not run on mobile phone(SonyEricsson k750i) well. Graphics are loaded very slowly, please help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>smartsanja</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222170.html</guid>
		</item>
		<item>
			<title>Help with Flash action script</title>
			<link>http://www.daniweb.com/forums/thread222110.html</link>
			<pubDate>Thu, 10 Sep 2009 23:39:14 GMT</pubDate>
			<description><![CDATA[What I need is for 2 buttons to gotoAndStop at different scenes which are menus. 
 
I'm reading the Flash CS3 Bible but not getting anywhere 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>What I need is for 2 buttons to gotoAndStop at different scenes which are menus.<br />
<br />
I'm reading the Flash CS3 Bible but not getting anywhere<br />
<br />
 <pre style="margin:20px; line-height:13px">stop();<br />
Btn_Brae.onPress = function()<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; gotoAndStop(61);<br />
&nbsp; &nbsp; &nbsp; &nbsp; };</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Catherinedally</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222110.html</guid>
		</item>
		<item>
			<title>Understanding coordinate space in OpenGL</title>
			<link>http://www.daniweb.com/forums/thread222074.html</link>
			<pubDate>Thu, 10 Sep 2009 18:33:54 GMT</pubDate>
			<description><![CDATA[I'm having trouble understanding coordinate space using perspective in OpenGL. Basically I can't figure out how many units will represent the entire screen given a specific z-value or how spacing should be done, etc. In all the tutorials I've seen they plot these nice shapes placed evenly apart in...]]></description>
			<content:encoded><![CDATA[<div>I'm having trouble understanding coordinate space using perspective in OpenGL. Basically I can't figure out how many units will represent the entire screen given a specific z-value or how spacing should be done, etc. In all the tutorials I've seen they plot these nice shapes placed evenly apart in different areas of the screen x units back in the z-plane but I have no idea how to inherently understand how many units I have to work with at that z-value and how to space things, place them, etc. Is there a good primer on this or some formula using something like the fov angle, viewport size and camera position to figure these things out? Recently I was asked to plot two dots in perspective 1 inch apart on the screen and I'm having trouble figuring out how to achieve this (1280x800 10&quot; monitor display).</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>acidnynex</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222074.html</guid>
		</item>
		<item>
			<title>where do i start?</title>
			<link>http://www.daniweb.com/forums/thread220988.html</link>
			<pubDate>Sun, 06 Sep 2009 15:14:12 GMT</pubDate>
			<description><![CDATA[I have recently learnt the basics of c++ but I want to advance to making proper GUI's (and games) but I don't know what to use. 
I think the two most popular libraries are OpenGL and Direct3d but I'm not sure which one to use. 
could you guide me in the right direction:)]]></description>
			<content:encoded><![CDATA[<div>I have recently learnt the basics of c++ but I want to advance to making proper GUI's (and games) but I don't know what to use.<br />
I think the two most popular libraries are OpenGL and Direct3d but I'm not sure which one to use.<br />
could you guide me in the right direction:)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>MattyRobot</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread220988.html</guid>
		</item>
		<item>
			<title>GAME Mathematics tutorials</title>
			<link>http://www.daniweb.com/forums/thread215628.html</link>
			<pubDate>Wed, 02 Sep 2009 05:25:22 GMT</pubDate>
			<description>Hi,  
 
Im very curious how to compute exact probablility of a certain slot machine games? Even samples will do. 
 
 
Thanks...</description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
Im very curious how to compute exact probablility of a certain slot machine games? Even samples will do.<br />
<br />
<br />
Thanks...</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>vbCNEW</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread215628.html</guid>
		</item>
		<item>
			<title>Playing with Newton Game Dynamics 2.08</title>
			<link>http://www.daniweb.com/forums/thread215592.html</link>
			<pubDate>Wed, 02 Sep 2009 00:35:37 GMT</pubDate>
			<description>Hey. I have made a video of my game engine (http://www.fpx-studio.com/fpx_game_engine=en.html) working with Newton Game Dynamics (http://newtondynamics.com/forum/newton.php) and I think that some of you will like it ;-) so here is the link to it on youtube: http://www.youtube.com/watch?v=ZrWqyl17DdQ</description>
			<content:encoded><![CDATA[<div>Hey. I have made a video of <a rel="nofollow" class="t" href="http://www.fpx-studio.com/fpx_game_engine=en.html" target="_blank">my game engine</a> working with <a rel="nofollow" class="t" href="http://newtondynamics.com/forum/newton.php" target="_blank">Newton Game Dynamics</a> and I think that some of you will like it ;-) so here is the link to it on youtube: <a rel="nofollow" class="t" href="http://www.youtube.com/watch?v=ZrWqyl17DdQ" target="_blank">http://www.youtube.com/watch?v=ZrWqyl17DdQ</a></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>fpx-studio</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread215592.html</guid>
		</item>
		<item>
			<title>Moving objects in OplenGL using glu</title>
			<link>http://www.daniweb.com/forums/thread215415.html</link>
			<pubDate>Tue, 01 Sep 2009 08:40:53 GMT</pubDate>
			<description><![CDATA[Hi every body, 
 
I am coding in cl-glfw (a binding OpenGL for Common Lisp). I handle with moving objects on the screen using mouse. Because cl-glfw doesn't bind glut, it is difficult to interact to mouse, keyboard. 
 
Are the any people developed with cl-glfw? I need to discuss about moving object...]]></description>
			<content:encoded><![CDATA[<div>Hi every body,<br />
<br />
I am coding in cl-glfw (a binding OpenGL for Common Lisp). I handle with moving objects on the screen using mouse. Because cl-glfw doesn't bind glut, it is difficult to interact to mouse, keyboard.<br />
<br />
Are the any people developed with cl-glfw? I need to discuss about moving object using mouse. We just use gl and glu library without glut.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>rafaele-elvis</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread215415.html</guid>
		</item>
		<item>
			<title>A little help with scrolling tile based collision.</title>
			<link>http://www.daniweb.com/forums/thread215115.html</link>
			<pubDate>Mon, 31 Aug 2009 02:30:17 GMT</pubDate>
			<description><![CDATA[I am working on a 2-d scrolling map RPG ala final fantasy. Anyway the question I wanted to ask you is how do you go about tile based collision? Let's say I got my scroll map made up and I don't want my player to walk over tiles assigned to ten and twelve. How would I go about doing something like...]]></description>
			<content:encoded><![CDATA[<div>I am working on a 2-d scrolling map RPG ala final fantasy. Anyway the question I wanted to ask you is how do you go about tile based collision? Let's say I got my scroll map made up and I don't want my player to walk over tiles assigned to ten and twelve. How would I go about doing something like that?<br />
<br />
I asked my professor about this and he told me this:<br />
<br />
You could create a two dimensional array of RECTs that map to the tiles. Then you could check for collision between the player and the RECT by looping through the two dimensional array.<br />
<br />
<br />
I'm not understanding what he means by this. Could someone show me an example what he means by mapping the Rects to the tiles and looping through the dimensional array? I don't any experience with working with scrolling tile maps so any help would be appreciated. Oh yeah, and before anyone says anything I already asked him this question he hasn't gotten back to me yet.<br />
 <pre style="margin:20px; line-height:13px">//my tile array<br />
int TOWN[TOWN_MAPWIDTH*TOWN_MAPHEIGHT] = {<br />
&nbsp; &nbsp; &nbsp; &nbsp; 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2, <br />
&nbsp; &nbsp; 8,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,7, <br />
&nbsp; &nbsp; 8,157,3,3,3,3,3,3,3,3,3,156,157,157,9,9,9,9,9,3,3,3,3,156,7, <br />
&nbsp; &nbsp; &nbsp; &nbsp; 8,156,3,3,3,3,3,3,3,3,3,157,157,156,9,10,11,12,9,3,3,3,3,157,7, <br />
&nbsp; &nbsp; 8,157,3,3,3,3,3,3,3,3,3,156,157,157,9,26,27,28,9,3,3,3,3,156,7,<br />
&nbsp; &nbsp; 8,156,3,3,3,3,3,3,3,3,3,157,157,156,9,42,43,44,9,3,3,3,3,157,7, <br />
&nbsp; &nbsp; 8,157,3,3,3,3,3,3,3,3,3,156,157,157,9,9,9,9,9,3,3,3,3,156,7, <br />
&nbsp; &nbsp; 8,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,7, <br />
&nbsp; &nbsp; 8,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,7, <br />
&nbsp; &nbsp; 8,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,7, <br />
&nbsp; &nbsp; 8,157,3,3,3,3,3,3,3,3,3,156,157,156,3,3,3,3,3,3,3,3,3,156,7,<br />
&nbsp; &nbsp; 8,156,3,3,3,3,3,3,3,3,3,157,157,156,3,3,3,3,3,3,3,3,3,157,7,<br />
&nbsp; &nbsp; 8,157,3,3,3,3,3,3,3,3,3,156,157,157,3,3,3,3,3,3,3,3,3,156,7, <br />
&nbsp; &nbsp; 8,156,3,3,3,3,3,3,3,3,3,157,157,156,3,3,3,3,3,3,3,3,3,157,7, <br />
&nbsp; &nbsp; 8,157,3,3,3,3,3,3,3,3,3,156,157,157,3,3,3,3,3,3,3,3,3,156,7, <br />
&nbsp; &nbsp; 8,156,157,156,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,7,<br />
&nbsp; &nbsp; 8,157,156,157,157,156,157,157,156,157,157,156,157,157,156,157,156,156,157,156,156,157,157,156,7,<br />
&nbsp; &nbsp; 4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6 <br />
};<br />
<br />
<br />
<br />
//my collision function<br />
<br />
int Collision(SPRITE *sprite1, SPRITE *sprite2)<br />
{<br />
&nbsp; &nbsp; &nbsp;  RECT rect1;<br />
&nbsp; &nbsp; rect1.left&nbsp;  = sprite1-&gt;getX() + 1;<br />
&nbsp; &nbsp; rect1.top&nbsp; &nbsp; = sprite1-&gt;getY() + 1;<br />
&nbsp; &nbsp; rect1.right&nbsp; = sprite1-&gt;getX() + sprite1-&gt;getWidth()&nbsp; -1;<br />
&nbsp; &nbsp; rect1.bottom = sprite1-&gt;getY() + sprite1-&gt;getHeight() -1;<br />
<br />
&nbsp; &nbsp; RECT rect2;<br />
&nbsp; &nbsp; rect2.left&nbsp;  = sprite2-&gt;getX() + 1;<br />
&nbsp; &nbsp; rect2.top&nbsp; &nbsp; = sprite2-&gt;getY() + 1;<br />
&nbsp; &nbsp; rect2.right&nbsp; = sprite2-&gt;getX() + sprite2-&gt;getWidth()&nbsp; -1;<br />
&nbsp; &nbsp; rect2.bottom = sprite2-&gt;getY() + sprite2-&gt;getHeight() -1;<br />
<br />
&nbsp; &nbsp; RECT dest;<br />
&nbsp; &nbsp; return IntersectRect(&amp;dest, &amp;rect1, &amp;rect2);<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Pikachumanson</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread215115.html</guid>
		</item>
		<item>
			<title>RAMP GAME</title>
			<link>http://www.daniweb.com/forums/thread214863.html</link>
			<pubDate>Sat, 29 Aug 2009 11:21:14 GMT</pubDate>
			<description><![CDATA[-------------------------------------------------------------------------------- 
 
HELLO FRIENDS... 
I M MAKING A GAME WHICH IS CALLED "RAMP GAME". 
THIS GAME CONSIST OF  
1) A BALL, 2) A BASKET, 3) SOME LINES ( which can be place anywhere by the user with in the boundary walls). 
 
HERE IS TEH...]]></description>
			<content:encoded><![CDATA[<div>--------------------------------------------------------------------------------<br />
<br />
HELLO FRIENDS...<br />
I M MAKING A GAME WHICH IS CALLED &quot;RAMP GAME&quot;.<br />
THIS GAME CONSIST OF <br />
1) A BALL, 2) A BASKET, 3) SOME LINES ( which can be place anywhere by the user with in the boundary walls).<br />
<br />
HERE IS TEH LINK....<br />
SNIP<br />
u can see what it looks like....<br />
<br />
now what i m here for?....is i dont know how to bounce a ball w.r.t the collision angle..... i don't know how to move lines at run time.....<br />
i should no my problems here, so u can understand what i m trying to say...<br />
<br />
1) Setting the lines at run time.<br />
2) When ball collides with the lines then it should reflect w.r.t the angle of<br />
reflection.<br />
<br />
ONE MORE THING......there is a restriction that the game should be made on &quot;OPENGL&quot;.<br />
<br />
PLEASE HELP ME OUT WHO KNOWS OPENGL.......</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>ammadkhan</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214863.html</guid>
		</item>
		<item>
			<title>Direct3D9 Sprites + rotation</title>
			<link>http://www.daniweb.com/forums/thread214587.html</link>
			<pubDate>Fri, 28 Aug 2009 03:00:35 GMT</pubDate>
			<description><![CDATA[Hi. I initially started up a thread at the Game Dev. section of the forums but it seems rather dead so I thought I'd try my luck here. 
 
I am making a top-down 2D shooter in D3D. 
So what I want to do is have my character rotate towards my mouse icons. So that means there are 2 vectors involved,...]]></description>
			<content:encoded><![CDATA[<div>Hi. I initially started up a thread at the Game Dev. section of the forums but it seems rather dead so I thought I'd try my luck here.<br />
<br />
I am making a top-down 2D shooter in D3D.<br />
So what I want to do is have my character rotate towards my mouse icons. So that means there are 2 vectors involved, pos and mousepos. So I calculate the angle and then rotate the sprite towards the mousepos. It rotates towards the right direction but when the sprite rotates it isn't centered.<br />
<br />
The center at which it is being rotated around looks to be the actual position, and this goes hand in hand with where it initially is drawn which also is wrong.<br />
<br />
Lets say I paint it out at (10,10) (x,y) in pixels. Then I move it to (10,0). It is now outside of the picture but when I rotate it 180 degrees it is painted slightly below (10,0).<br />
<br />
I initially create my texture with the D3DXCreateTextureFromFileEx function with width and height at D3DX_DEFAULT_NONPOW2 so that isn't something causing the off-centre behaviour.<br />
<br />
So I'm thinking that it is a logical error with my drawing function and would appreciate any additional insight.<br />
<br />
I tried different ways of doing the Matrix such as D3DXTransformation2D function aswell as moving it before rotation/scaling and moving it back to finally move it where it belongs.<br />
<br />
This is how my drawing function looks like atm:<br />
 <pre style="margin:20px; line-height:13px">Matrix transform, scaling, rotation, translation;<br />
D3DXMatrixIdentity(&amp; transform);<br />
<br />
D3DXMatrixScaling(&amp; scaling, Surf-&gt;getScaleRateX(), Surf-&gt;getScaleRateY(), 1.0f); <br />
D3DXMatrixRotationZ(&amp; rotation, D3DXToRadian(Surf-&gt;getRotationAngle() ));<br />
<br />
Vector2D hotspot = Surf-&gt;getHotspot(),<br />
position = Surf-&gt;getPosition();<br />
&nbsp;<br />
float&nbsp; &nbsp; &nbsp; &nbsp; x_Adjust = position.x + hotspot.x,<br />
&nbsp; &nbsp; &nbsp; &nbsp; y_Adjust = position.y + hotspot.y;<br />
&nbsp;<br />
D3DXMatrixTranslation(&amp; translation, position.x, position.y, 0);<br />
&nbsp;<br />
transform = scaling * rotation * translation.<br />
&nbsp;<br />
hr = m_Sprite-&gt;SetTransform(&amp; transform);<br />
&nbsp;<br />
if(FAILED(hr) )<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; m_lastError = hr;<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
}<br />
&nbsp;<br />
hr = m_Sprite-&gt;Draw(&nbsp; &nbsp; &nbsp; &nbsp; Surf-&gt;getTexture(),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PartOfPicture,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; Surf-&gt;getHotspot(),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NULL,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; D3DCOLOR_ARGB(Alpha, R, G, B) );<br />
&nbsp;<br />
if(FAILED(hr) )<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; m_lastError = hr;<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
}<br />
<br />
return true;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>gotnoname</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214587.html</guid>
		</item>
		<item>
			<title>Pirate Themed 2D MMORPG: Game Tools!</title>
			<link>http://www.daniweb.com/forums/thread214508.html</link>
			<pubDate>Thu, 27 Aug 2009 21:13:30 GMT</pubDate>
			<description><![CDATA[A few friends and I have been working on an isometric MMORPG called Pirate Story Online. It's basically just a simple 2D MMO with a very heavy emphasis on humor and eye candy. 
 
We're currently developing the client in Python, the server in C, and we're using a MySQL database to store user...]]></description>
			<content:encoded><![CDATA[<div>A few friends and I have been working on an isometric MMORPG called Pirate Story Online. It's basically just a simple 2D MMO with a very heavy emphasis on humor and eye candy.<br />
<br />
We're currently developing the client in Python, the server in C, and we're using a MySQL database to store user information.<br />
<br />
What we're looking for is a pretty easy going programmer for programming our game tools (map maker, sprite editor, NPC editor, etc..). We do have a fairly simple mapping program (quite crude atm!) and some features that already work (such as a centralized tile database on our server that updates map editors automatically) but we really need some heavy duty development in that area.<br />
<br />
We prefer someone who enjoys working with Python, but either way, we really don't mind (C++, Visual Basic, heck even PHP is alright!). We just need someone who is capable of getting together a simple set of tools for windows.<br />
<br />
<br />
Here is our project homepage:<br />
<br />
<a rel="nofollow" class="t" href="http://piratestoryonline.com/" target="_blank">http://piratestoryonline.com/</a><br />
<br />
You can also add me on MSN:<br />
<br />
<a href="mailto:ryuman313_101@hotmail.com">ryuman313_101@hotmail.com</a><br />
<br />
<br />
-Thanks for looking guys, we really appreciate it :)</div>  <br /> <div style="padding:5px">    <fieldset class="fieldset"> <legend>Attached Images</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=11386&amp;d=1251407576" target="_blank">greenspace[1].png</a> (563.3 KB)</td> </tr> </table> </fieldset>   </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Zenpher</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214508.html</guid>
		</item>
		<item>
			<title>can you please help me in getting pyramid</title>
			<link>http://www.daniweb.com/forums/thread214325.html</link>
			<pubDate>Thu, 27 Aug 2009 07:36:43 GMT</pubDate>
			<description>please help me to get the code of this output: 
                          1 
                       2 3 2  
                    3 4 5 4 3 
                 4 5 6 7  6 5 4 
               5 6 7 8 9 8 7 6 5 
            6 7 8 9 0 1 0 9 8 7 6 
         7 8 9 0 1 2 3 2 1 0 9 8 7        
       8 9 0 1...</description>
			<content:encoded><![CDATA[<div>please help me to get the code of this output:<br />
                          1<br />
                       2 3 2 <br />
                    3 4 5 4 3<br />
                 4 5 6 7  6 5 4<br />
               5 6 7 8 9 8 7 6 5<br />
            6 7 8 9 0 1 0 9 8 7 6<br />
         7 8 9 0 1 2 3 2 1 0 9 8 7       <br />
       8 9 0 1 2 3 4 5 4 3 2 1 0 9 8<br />
    9 0 1 2 3 4 5 6 7 6 5 4 3 2 1 0 9<br />
 0 1 2 3 4 5 6 7 8 9 8 7 6 5 4 3 2 1 0<br />
<br />
NOTE: i must use nested loops.<br />
Do not write out 10 multi digit strings.....</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>kiryoku</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214325.html</guid>
		</item>
		<item>
			<title>Learning Quest3D</title>
			<link>http://www.daniweb.com/forums/thread214268.html</link>
			<pubDate>Thu, 27 Aug 2009 02:57:29 GMT</pubDate>
			<description>I need to learn Quest 3D. Anyone have suggestions once I have the program loaded. What is the best approach to getting a jump start? I have a programming background but not a gaming background. 
 
Thanks.</description>
			<content:encoded><![CDATA[<div>I need to learn Quest 3D. Anyone have suggestions once I have the program loaded. What is the best approach to getting a jump start? I have a programming background but not a gaming background.<br />
<br />
Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>susiestone</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214268.html</guid>
		</item>
		<item>
			<title>Strange issue with drawing simple 3D shapes</title>
			<link>http://www.daniweb.com/forums/thread213878.html</link>
			<pubDate>Tue, 25 Aug 2009 16:59:33 GMT</pubDate>
			<description><![CDATA[I've gone a little further with my code since the last time I posted here. Everything worked fine till the moment I started drawing in an actual 3rd dimension - the results are visible at least, but they're far from what they should look like. Instead of a pyramid and a cube I get two more or less...]]></description>
			<content:encoded><![CDATA[<div>I've gone a little further with my code since the last time I posted here. Everything worked fine till the moment I started drawing in an actual 3rd dimension - the results are visible at least, but they're far from what they should look like. Instead of a pyramid and a cube I get two more or less randomly combined surfaces. Tried rechecking and playing around with cords, without effects.<br />
<br />
 <pre style="margin:20px; line-height:13px">#include &lt;GL/gl.h&gt;<br />
#include &lt;GL/glu.h&gt;<br />
#include &lt;GL/glut.h&gt;<br />
<br />
bool game;<br />
<br />
struct plr {<br />
&nbsp; &nbsp; &nbsp;  float x;<br />
&nbsp; &nbsp; &nbsp;  float y;<br />
&nbsp; &nbsp; &nbsp;  int dir;<br />
&nbsp; &nbsp; &nbsp;  float spin;<br />
&nbsp; &nbsp; &nbsp;  float saturation;<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp;  //badguy's specific vars<br />
&nbsp; &nbsp; &nbsp;  float speed;<br />
};<br />
<br />
struct plr bobby;<br />
struct plr badguy;<br />
<br />
<br />
<br />
void reset(void)<br />
{<br />
&nbsp; &nbsp;  bobby.x = 100.0f;<br />
&nbsp; &nbsp;  bobby.y = 50.0f;<br />
&nbsp; &nbsp;  bobby.dir = 1;<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  badguy.x = 200.0f;<br />
&nbsp; &nbsp;  badguy.y = 100.0f;<br />
&nbsp; &nbsp;  badguy.speed = 0.5f;<br />
}<br />
&nbsp; &nbsp;  <br />
<br />
void init(void)<br />
{<br />
&nbsp; &nbsp;  reset();<br />
&nbsp; &nbsp;  glClearColor (0.0, 0.0, 0.0, 0.0);<br />
&nbsp; &nbsp;  glShadeModel (GL_FLAT);<br />
}<br />
<br />
void UpdateVariables(void)<br />
{<br />
&nbsp; &nbsp;  bobby.spin+=1.0f;<br />
&nbsp; &nbsp;  bobby.saturation-=0.01f;<br />
<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  if (bobby.saturation &lt; 0.3f) { bobby.saturation = 0.8f; } <br />
}<br />
<br />
void UpdateAI(void)<br />
{<br />
&nbsp; &nbsp;  if (bobby.x &gt; badguy.x) { badguy.x += badguy.speed; } else { badguy.x -= badguy.speed; }<br />
&nbsp; &nbsp;  if (bobby.y &gt; badguy.y) { badguy.y += badguy.speed; } else { badguy.y -= badguy.speed; }<br />
}<br />
<br />
void checkForUpdates(void)<br />
{<br />
&nbsp; &nbsp;  UpdateVariables();<br />
&nbsp; &nbsp;  UpdateAI();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (bobby.x &gt; 640) { bobby.x = 0; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (bobby.x &lt; 0) { bobby.x = 640; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (bobby.y &gt; 400) { bobby.y = 0; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (bobby.y &lt; 0) { bobby.y = 400; }<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  switch (bobby.dir){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 1:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bobby.y-=1.0f;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  glutPostRedisplay();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 2:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bobby.y+=1.0f;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  glutPostRedisplay();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 3:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bobby.x-=1.0f;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  glutPostRedisplay();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 4:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bobby.x+=1.0f;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  glutPostRedisplay();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; default:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
}<br />
<br />
void DrawWorld(void)<br />
{<br />
&nbsp; &nbsp;  checkForUpdates();<br />
<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glPushMatrix();<br />
&nbsp; &nbsp;  glTranslatef(bobby.x, bobby.y, 0.0f);<br />
&nbsp; &nbsp;  glRotatef(bobby.spin, 1.0f, 1.0f, 1.0f);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glColor3f(1.0f, 0.0f, 0.0f);<br />
&nbsp; &nbsp;  glBegin(GL_TRIANGLES);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, 0.0);<br />
<br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(30.0, 30.0, -10.0);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex3f(30.0, 30.0, -10.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  <br />
<br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(30.0, 30.0, -10.0);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp;  glEnd();<br />
&nbsp; &nbsp;  glPopMatrix();<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glPushMatrix();<br />
&nbsp; &nbsp;  glTranslatef(badguy.x, badguy.y, 0.0f);<br />
&nbsp; &nbsp;  glRotatef(bobby.spin, 1.0f, 1.0f, 1.0f);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glColor3f(0.0f, 0.0f, 1.0f);<br />
&nbsp; &nbsp;  glBegin(GL_QUADS);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 40.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, 0.0);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, -20.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, -20.0);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, -20.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, -20.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 40.0, -20.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, -20.0);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 40.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, -20.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 40.0, -20.0);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 40.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 20.0, -20.0);<br />
&nbsp; &nbsp;  glVertex3f(40.0, 40.0, -20.0);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, 0.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 20.0, -20.0);<br />
&nbsp; &nbsp;  glVertex3f(20.0, 40.0, -20.0);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glEnd();<br />
&nbsp; &nbsp;  glPopMatrix();<br />
}<br />
void display(void)<br />
{<br />
&nbsp; &nbsp;  glClear (GL_COLOR_BUFFER_BIT);&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  DrawWorld();<br />
&nbsp; &nbsp;  glutSwapBuffers();<br />
<br />
}<br />
<br />
<br />
void reshape (int w, int h)<br />
{<br />
&nbsp; &nbsp;  if (h==0)<br />
&nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; h=1;<br />
&nbsp; &nbsp;  }<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp;  glViewport(0,0,w,h);&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp;  glMatrixMode (GL_PROJECTION);<br />
&nbsp; &nbsp;  glLoadIdentity();<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glOrtho(0.0f,w,h,0.0f,-1.0f,1.0f);&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp;  glMatrixMode(GL_MODELVIEW);<br />
&nbsp; &nbsp;  glLoadIdentity();<br />
}<br />
<br />
<br />
void keyboard (unsigned char key, int x, int y)<br />
{<br />
<br />
&nbsp;<br />
&nbsp;  switch (key) {<br />
&nbsp; &nbsp; &nbsp; case 's':<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bobby.dir=2;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp; &nbsp; &nbsp; case 'w':<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bobby.dir=1;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp; &nbsp; &nbsp; case 'a': // lewo = -<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bobby.dir=3;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp; &nbsp; &nbsp; case 'd':<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bobby.dir=4;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp; &nbsp; &nbsp; default:<br />
&nbsp; &nbsp; &nbsp; &nbsp;  break;<br />
&nbsp;  }<br />
}<br />
<br />
int main(int argc, char** argv)<br />
{<br />
<br />
&nbsp; &nbsp; glutInit(&amp;argc, argv);<br />
&nbsp; &nbsp; glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGB);<br />
&nbsp; &nbsp; glutInitWindowSize (640, 400);<br />
&nbsp; &nbsp; glutInitWindowPosition (100, 100);<br />
&nbsp; &nbsp; glutCreateWindow (argv&#91;0&#93;);<br />
&nbsp; &nbsp; init();<br />
<br />
&nbsp; &nbsp; glutReshapeFunc(reshape);<br />
&nbsp; &nbsp; glutDisplayFunc(display);<br />
&nbsp; &nbsp; glutKeyboardFunc(keyboard);<br />
&nbsp; &nbsp; glutMainLoop();<br />
&nbsp; &nbsp; return 0;<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Yle</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread213878.html</guid>
		</item>
		<item>
			<title>Remove Glut maximize window button / option</title>
			<link>http://www.daniweb.com/forums/thread213589.html</link>
			<pubDate>Mon, 24 Aug 2009 12:54:14 GMT</pubDate>
			<description><![CDATA[I am using glut to create my window for my game. My question is how do I remove the button that maximizes a window. For my game I don't want the player to be able to resize or maximize the window. Is there a way to control this with glut? 
 
Thank you!]]></description>
			<content:encoded><![CDATA[<div>I am using glut to create my window for my game. My question is how do I remove the button that maximizes a window. For my game I don't want the player to be able to resize or maximize the window. Is there a way to control this with glut?<br />
<br />
Thank you!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>dark_lord</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread213589.html</guid>
		</item>
		<item>
			<title>OpenGL - displaying issue (reshape func)</title>
			<link>http://www.daniweb.com/forums/thread213311.html</link>
			<pubDate>Sat, 22 Aug 2009 23:22:25 GMT</pubDate>
			<description><![CDATA[Hello, 
my problem is of that kind beginners use to have. After following some glut tutorials I've decided it's time to do something small generally on my own. An obstacle appeared at the very beginning. 
 
At the moment I got stuck, all my code was supposed to do was drawing a primitive using an...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
my problem is of that kind beginners use to have. After following some glut tutorials I've decided it's time to do something small generally on my own. An obstacle appeared at the very beginning.<br />
<br />
At the moment I got stuck, all my code was supposed to do was drawing a primitive using an ortagonal transformation to display it. Apperently, I failed at coding the latter.<br />
<br />
 <pre style="margin:20px; line-height:13px">void reshape (int w, int h)<br />
{<br />
&nbsp; &nbsp;  if (h==0)<br />
&nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; h=1;<br />
&nbsp; &nbsp;  }<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glViewport(0,0,w,h);&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp;  glMatrixMode (GL_PROJECTION);<br />
&nbsp; &nbsp;  glLoadIdentity();<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glOrtho(0.0f,w,h,0.0f,-1.0f,1.0f);&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp;  glMatrixMode(GL_MODELVIEW);<br />
&nbsp; &nbsp;  glLoadIdentity();<br />
}</pre><br />
and the drawing func(&quot;bobby's&quot; variables x and y are holding float values, tried with various bare numbers too):<br />
<br />
 <pre style="margin:20px; line-height:13px">void DrawScene(void)<br />
{ <br />
&nbsp; &nbsp;  glPushMatrix();<br />
&nbsp; &nbsp;  glTranslatef(bobby.x, bobby.y, 0.0f);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glColor3f(1.0f, 0.0f, 0.0f);<br />
&nbsp; &nbsp;  glBegin(GL_TRIANGLES);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glVertex2d(-0.2, -0.2);<br />
&nbsp; &nbsp;  glVertex2d(0.2, 0.2);<br />
&nbsp; &nbsp;  glVertex2d(0.2, -0.2);<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp;  glEnd();<br />
&nbsp; &nbsp;  glPopMatrix();<br />
&nbsp; &nbsp;  glutSwapBuffers();<br />
}</pre><br />
Guess I could solve this with a little help of an example code, but I'd like to understand what I'm doing. Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>Yle</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread213311.html</guid>
		</item>
		<item>
			<title>falling of a bmp under gravity - glut</title>
			<link>http://www.daniweb.com/forums/thread212998.html</link>
			<pubDate>Fri, 21 Aug 2009 11:26:31 GMT</pubDate>
			<description>hello dear users.. 
 
i am working on a simple 2d game like DANGEROUS DAVE (if anybody played he will know better)... i was working fine although i am new to openGl and glut... now there is a problem that i want my character ( in fact a bmp image) when collide with a rectangle shape it falls back...</description>
			<content:encoded><![CDATA[<div>hello dear users..<br />
<br />
i am working on a simple 2d game like DANGEROUS DAVE (if anybody played he will know better)... i was working fine although i am new to openGl and glut... now there is a problem that i want my character ( in fact a bmp image) when collide with a rectangle shape it falls back to ground under gravity.. i didn't get any helpful resource yet.. could anybody help me please as i have to submit my assignment really soon..<br />
if anybody want more explanation or my code i am ready for that..<br />
thanks in advance...!<br />
waiting anxiously for your kind replies...!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>dark_lord</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212998.html</guid>
		</item>
		<item>
			<title>How to start with PHP?</title>
			<link>http://www.daniweb.com/forums/thread212820.html</link>
			<pubDate>Thu, 20 Aug 2009 17:07:30 GMT</pubDate>
			<description><![CDATA[I'm new to this technology. I'd be glad if somebody help me in starting this and guiding me where to start? and how to start? to learn this new technology.]]></description>
			<content:encoded><![CDATA[<div>I'm new to this technology. I'd be glad if somebody help me in starting this and guiding me where to start? and how to start? to learn this new technology.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>crazy4fun</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212820.html</guid>
		</item>
		<item>
			<title>opengl glew problems</title>
			<link>http://www.daniweb.com/forums/thread212190.html</link>
			<pubDate>Tue, 18 Aug 2009 02:42:02 GMT</pubDate>
			<description><![CDATA[Ok Im new to shaders and I am using glew... okay here is my code 
 
#include <iostream> 
#include <gl/glew.h> 
#include <gl/glut.h> 
 
float angle = 0.0f; 
 
//global shader handle 
GLhandleARB  g_shader;]]></description>
			<content:encoded><![CDATA[<div>Ok Im new to shaders and I am using glew... okay here is my code<br />
<span style="color:Green"><br />
#include &lt;iostream&gt;<br />
#include &lt;gl/glew.h&gt;<br />
#include &lt;gl/glut.h&gt;<br />
<br />
float angle = 0.0f;<br />
<br />
//global shader handle<br />
GLhandleARB  g_shader;<br />
<br />
char * LoadShader(char *file)<br />
{<br />
	FILE *f;<br />
	fopen_s(&amp;f,file, &quot;r&quot;);<br />
<br />
	if( f == NULL)<br />
		return NULL;<br />
<br />
	fseek(f, 0, SEEK_END);<br />
	int size = ftell(f);<br />
	fseek(f,0, SEEK_SET);<br />
	if( size == 0 )<br />
		return NULL;<br />
	char *l_file = new char[size + 1];<br />
	fread(l_file, 1, size, f);<br />
<br />
	while( size-- &gt; 0)<br />
	{<br />
		if(l_file[size] == (char)10)<br />
		{<br />
			l_file[size] = '\0';<br />
			break;<br />
		}<br />
	}<br />
	return l_file;<br />
}<br />
<br />
void renderScene(void) <br />
{<br />
	<br />
	glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);<br />
	glLoadIdentity();<br />
	glTranslatef( 0.0f, 0.0f, -5.0f);<br />
	glUseProgramObjectARB( g_shader );<br />
	<br />
	float vertices[] = { -1, 0, 0,  1, 0, 0,  0, 1, 0 };<br />
	float colors [] =  { 1, 0, 0,  1, 0, 0,  0, 1, 0 };<br />
<br />
	glEnableClientState(GL_VERTEX_ARRAY);<br />
	glVertexPointer(3, GL_FLOAT, 0, vertices);<br />
<br />
	glEnableClientState(GL_COLOR_ARRAY);<br />
	glColorPointer( 3, GL_FLOAT, 0, colors);<br />
<br />
	glDrawArrays(GL_TRIANGLES, 0, 3);<br />
<br />
	glDisableClientState(GL_VERTEX_ARRAY);<br />
	glDisableClientState(GL_COLOR_ARRAY);<br />
	glUseProgramObjectARB(0);<br />
	glutSwapBuffers();<br />
	glutPostRedisplay();<br />
	angle++;<br />
}<br />
void changeSize(int w, int h) {<br />
<br />
	// Prevent a divide by zero, when window is too short<br />
	// (you cant make a window of zero width).<br />
	if(h == 0)<br />
		h = 1;<br />
<br />
	float ratio = 1.0* w / h;<br />
<br />
	// Reset the coordinate system before modifying<br />
	glMatrixMode(GL_PROJECTION);<br />
	glLoadIdentity();<br />
	<br />
	// Set the viewport to be the entire window<br />
	glViewport(0, 0, w, h);<br />
<br />
	// Set the correct perspective.<br />
	gluPerspective(45,ratio,1,1000);<br />
	glMatrixMode(GL_MODELVIEW);<br />
	glLoadIdentity();<br />
	gluLookAt(0.0,0.0,5.0, <br />
		      0.0,0.0,-1.0,<br />
			  0.0f,1.0f,0.0f);<br />
<br />
<br />
}<br />
bool setShaders( char *vertShaderFile, char *pixelShaderFile)<br />
{<br />
	GLenum err = glewInit();<br />
	if (GLEW_OK != err)<br />
	{<br />
	  /* Problem: glewInit failed, something is seriously wrong. */<br />
	  fprintf(stderr, &quot;Error: %s\n&quot;, glewGetErrorString(err));<br />
	}<br />
	fprintf(stdout, &quot;Status: Using GLEW %s\n&quot;, glewGetString(GLEW_VERSION));<br />
        <br />
       /*runtime error occurs here*/<br />
	g_shader = glCreateProgramObjectARB();<br />
	GLhandleARB f = NULL; <br />
	f = glCreateShaderObjectARB(GL_FRAGMENT_SHADER_ARB);	<br />
	GLhandleARB v = NULL; <br />
	v = glCreateShaderObjectARB(GL_VERTEX_SHADER_ARB);<br />
	<br />
	//loading and compiling vertex shader<br />
	char *vs = LoadShader( vertShaderFile );<br />
	char *fs = LoadShader( pixelShaderFile );<br />
	<br />
	if( fs == NULL )<br />
	{<br />
		std::cout&lt;&lt;&quot;Fragment Shader invalid file&quot;&lt;&lt;std::endl;<br />
		return false;<br />
	}<br />
	if( vs == NULL )<br />
	{<br />
		std::cout&lt;&lt;&quot;Vertex Shader invalid file&quot;&lt;&lt;std::endl;<br />
		return false;<br />
	}<br />
	<br />
	<br />
	<br />
<br />
	const char *vv = vs;<br />
	const char *ff = fs;<br />
<br />
	glShaderSourceARB(v, 1, &amp;vv, NULL);<br />
	glShaderSourceARB(f, 1, &amp;ff, NULL);<br />
<br />
	delete [] vs;<br />
	delete [] fs;<br />
<br />
	glCompileShader( v );<br />
	glCompileShader( f );<br />
<br />
	<br />
	glAttachObjectARB(g_shader, v);<br />
	glAttachObjectARB(g_shader, f);<br />
<br />
	glLinkProgramARB( g_shader );<br />
	int link = 0;<br />
	char error[1024];<br />
	glGetObjectParameterivARB(g_shader, GL_OBJECT_LINK_STATUS_ARB, &amp;link);<br />
	if( !link )<br />
	{<br />
		glGetInfoLogARB(g_shader, sizeof(error), NULL, error);<br />
		printf(&quot;Error: Shader Linkage error: \n%s\n&quot;, error);<br />
		return false;<br />
	}<br />
	return true;<br />
}<br />
bool init()<br />
{<br />
	glClearColor( 0.0f, 0.0f, 0.0f, 1.0f);<br />
	glShadeModel(GL_SMOOTH);<br />
	glEnable(GL_DEPTH_TEST);<br />
<br />
	return true;<br />
}<br />
<br />
void main(int argc, char **argv) <br />
{<br />
	glutInit(&amp;argc, argv);<br />
	<br />
	glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);<br />
	glutInitWindowPosition(100,100);<br />
	glutInitWindowSize(320,320);<br />
	glutCreateWindow(&quot;maze&quot;);<br />
	glutDisplayFunc(renderScene);<br />
<br />
	glutIdleFunc(renderScene);<br />
	glutReshapeFunc(changeSize);<br />
	glEnable(GL_DEPTH_TEST);<br />
	init();<br />
	<br />
	if( !setShaders(&quot;../maze/vert.glsl&quot;,&quot;../maze/frag.glsl&quot;))<br />
		return;<br />
	glutMainLoop();<br />
}<br />
//end code</span><br />
<br />
<br />
Okay so please do not ask about the shader code cause it is set up properly. I am getting a runtime error saying:<br />
<br />
Unhandled exception at 0x00000000 in prog.exe: 0xC0000005: Access violation reading location 0x00000000.<br />
this happens whenever I am trying to call the glew function glCreateProgramObjectARB... Not sure what is going on and any help would be great</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>ceesdaname</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212190.html</guid>
		</item>
		<item>
			<title>Direct3D9 Sprite issues with rotation.</title>
			<link>http://www.daniweb.com/forums/thread211787.html</link>
			<pubDate>Sun, 16 Aug 2009 03:06:49 GMT</pubDate>
			<description><![CDATA[Hi I am making a top-down 2D shooter in D3D. 
 
So what I want to do is have my character rotate towards my mouse icons. So that means there are 2 vectors involved, pos and mousepos. 
 
Now calculating the angle wasn't a problem but the problem comes when I try to rotate around my sprite towards...]]></description>
			<content:encoded><![CDATA[<div>Hi I am making a top-down 2D shooter in D3D.<br />
<br />
So what I want to do is have my character rotate towards my mouse icons. So that means there are 2 vectors involved, pos and mousepos.<br />
<br />
Now calculating the angle wasn't a problem but the problem comes when I try to rotate around my sprite towards the angle.<br />
<br />
It rotates towards the right direction but when the sprite rotates it isn't stuck at it's position.<br />
<br />
The center at which it is being rotated around looks to be the actual position, and this goes hand in hand with where it initially is drawn which also is wrong.<br />
<br />
Lets say I paint it out at (10,10) (x,y) in pixels. Then I move it to (10,0). It is now outside of the picture but when I rotate it 180 degrees it is painted slightly below (10,0).<br />
<br />
So I'm thinking that it is a logical error with my drawing function and would appreciate any additional insight.<br />
<br />
This is how my drawing function looks like atm:<br />
 <pre style="margin:20px; line-height:13px">float&nbsp; &nbsp; &nbsp; &nbsp; fix_x = 0.5f;<br />
float&nbsp; fix_y = fix_x;<br />
<br />
Matrix transform, scaling, rotation, translation;<br />
D3DXMatrixIdentity(&amp; transform);<br />
<br />
// fix for rotation<br />
D3DXMatrixTranslation(&amp; translation, -fix_x, -fix_y, 0);<br />
transform&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = translation;<br />
<br />
D3DXMatrixScaling(&amp; scaling, Surf-&gt;getScaleRateX(), Surf-&gt;getScaleRateY(), 1.0f);<br />
<br />
D3DXMatrixRotationZ(&amp; rotation, D3DXToRadian(Surf-&gt;getRotationAngle() ));<br />
<br />
transform&nbsp; &nbsp; &nbsp; &nbsp; = transform * scaling * rotation;<br />
<br />
// move back after rotation<br />
D3DXMatrixTranslation(&amp; translation, +fix_x, +fix_y, 0);<br />
transform&nbsp; &nbsp; &nbsp; &nbsp; = transform * translation;<br />
<br />
// Translation<br />
Vector2D&nbsp; &nbsp; &nbsp; &nbsp; hotspot = Surf-&gt;getHotspot(),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; position = Surf-&gt;getPosition();<br />
<br />
float&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x_Adjust = position.x,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; y_Adjust = position.y;<br />
<br />
D3DXMatrixTranslation(&amp; translation, x_Adjust, y_Adjust, 0);<br />
<br />
transform&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = transform * translation;<br />
<br />
hr = m_Sprite-&gt;SetTransform(&amp; transform);<br />
<br />
if(FAILED(hr)&nbsp; )<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; m_lastError = hr;<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
}<br />
<br />
hr = m_Sprite-&gt;Draw(&nbsp; &nbsp; &nbsp; &nbsp; Surf-&gt;getTexture(),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PartOfPicture,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; Surf-&gt;getHotspot(),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NULL,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; D3DCOLOR_ARGB(Alpha, R, G, B)&nbsp; );<br />
<br />
if(FAILED(hr)&nbsp; )<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; m_lastError = hr;<br />
&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
}<br />
<br />
return true;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>gotnoname</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211787.html</guid>
		</item>
		<item>
			<title>to install resource pack in vc++</title>
			<link>http://www.daniweb.com/forums/thread211712.html</link>
			<pubDate>Sat, 15 Aug 2009 16:25:01 GMT</pubDate>
			<description><![CDATA[HI  
 
i am working  with  visualc++08 ,but alas  i recently found that my compiler does not have  resource pack which enables buttons ,menus etc.  on    
including  "resource.h"   i get several compiler errors . 
 
someone  please tell me  where could i get the resource.h   or a resource pack for...]]></description>
			<content:encoded><![CDATA[<div>HI <br />
<br />
i am working  with  visualc++08 ,but alas  i recently found that my compiler does not have  resource pack which enables buttons ,menus etc.  on   <br />
including  &quot;resource.h&quot;   i get several compiler errors .<br />
<br />
someone  please tell me  where could i get the resource.h   or a resource pack for the  compiler .<br />
<br />
also  no idea  how to  include the directories in visualc++  . plz  elaborate  on this.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>hemant_chawla89</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211712.html</guid>
		</item>
		<item>
			<title>i really need help!!</title>
			<link>http://www.daniweb.com/forums/thread211536.html</link>
			<pubDate>Fri, 14 Aug 2009 17:16:55 GMT</pubDate>
			<description>hi, 
  
i hav started game development... could someone plz help me out which one to choose.... Is it XNA or C++. There are hell lot of info out there which is damn confusing.. i need to develop a clean 3D FPS game... which platform should i consider... Of course, only for WINDOWS</description>
			<content:encoded><![CDATA[<div>hi,<br />
 <br />
i hav started game development... could someone plz help me out which one to choose.... Is it XNA or C++. There are hell lot of info out there which is damn confusing.. i need to develop a clean 3D FPS game... which platform should i consider... Of course, only for WINDOWS</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>kishan4every1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211536.html</guid>
		</item>
		<item>
			<title>Multiple DirectX .x files from Dark GDK</title>
			<link>http://www.daniweb.com/forums/thread211526.html</link>
			<pubDate>Fri, 14 Aug 2009 16:19:21 GMT</pubDate>
			<description><![CDATA[I'm creating my first FPS game, 
in MS  Visual C++ 2008 Express Edition with Dark GDK. 
 
I've created a level and so on, and now I'm updating my enemies. 
 
My ninja enemies have different .x files for different states, example: one for idle and one for attack. 
 
I can't manage the switching...]]></description>
			<content:encoded><![CDATA[<div>I'm creating my first FPS game,<br />
in MS  Visual C++ 2008 Express Edition with Dark GDK.<br />
<br />
I've created a level and so on, and now I'm updating my enemies.<br />
<br />
My ninja enemies have different .x files for different states, example: one for idle and one for attack.<br />
<br />
I can't manage the switching between the different states! :( <br />
<br />
Here is my code:<br />
<br />
 <pre style="margin:20px; line-height:13px">void updateNinja ( void )<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; int iLoop = 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float distCameraNinja;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; for ( iLoop = 0; iLoop &lt; ninjaCount; iLoop++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( ninja[ iLoop ].life &gt; 0 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch ( ninja[ iLoop ].mode )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 1 :&nbsp; &nbsp; &nbsp; &nbsp; // idle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loop idle &amp; check dist<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( ninja[ iLoop ].type == 1 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoopObject&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj , 0 , 0 );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbDeleteObject&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoadObject&nbsp; &nbsp; &nbsp; &nbsp; ( &quot;media\\H-Ninja-Idle.x&quot; , ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoopObject&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].type = 1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; distCameraNinja&nbsp; &nbsp; &nbsp; &nbsp; = getDistance ( ninja[ iLoop ].curPosX , 0 , ninja[ iLoop ].curPosZ , dbCameraPositionX ( 0 ) , 0 , dbCameraPositionZ ( 0 ) );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( distCameraNinja &lt; 100 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].mode = 2;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } break;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 2 :&nbsp; &nbsp; &nbsp; &nbsp; // run&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loop run &amp; play sound &amp; check dist<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( ninja[ iLoop ].type == 2 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoopObject&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbDeleteObject&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoadObject&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( &quot;media\\Ninja\\H-Ninja-Move.x&quot; , ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbPositionObject&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj , ninja[ iLoop ].curPosX , 0 , ninja[ iLoop ].curPosZ );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbScaleObject&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj , 3000 , 3000 , 3000 );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbSetObjectSpeed&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj , 20 );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoopObject&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].type = 2;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; distCameraNinja&nbsp; &nbsp; &nbsp; &nbsp; = getDistance ( ninja[ iLoop ].curPosX , 0 , ninja[ iLoop ].curPosZ , dbCameraPositionX ( 0 ) , 0 , dbCameraPositionZ ( 0 ) );<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( distCameraNinja&gt; 500 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].mode = 1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if ( distCameraNinja &gt; 100 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].mode = 2;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if ( distCameraNinja &lt; 100 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].mode = 3;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } break;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 3 :&nbsp; &nbsp; &nbsp; &nbsp; // attack&nbsp; &nbsp; &nbsp; &nbsp; loop attack &amp; play sound &amp; check dist<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( ninja[ iLoop ].type == 3 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoopObject&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbDeleteObject&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoadObject&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( &quot;media\\Ninja\\H-Ninja-Attack1.x&quot; , ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbPositionObject&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj , ninja[ iLoop ].curPosX , 0 , ninja[ iLoop ].curPosZ );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbScaleObject&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj , 3000 , 3000 , 3000 );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbSetObjectSpeed&nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj , 20 );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbLoopObject&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( ninja[ iLoop ].obj );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].type = 3;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; distCameraNinja&nbsp; &nbsp; &nbsp; &nbsp; = getDistance ( ninja[ iLoop ].curPosX , 0 , ninja[ iLoop ].curPosZ , dbCameraPositionX ( 0 ) , 0 , dbCameraPositionZ ( 0 ) );<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( distCameraNinja&gt; 500 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].mode = 1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if ( distCameraNinja &gt; 100 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].mode = 2;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if ( distCameraNinja &lt; 100 )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ninja[ iLoop ].mode = 3;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } break;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; char&nbsp; &nbsp; &nbsp; &nbsp; czText[256];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wsprintf ( czText , &quot;%d distCameraNinja &quot; , (int) distCameraNinja );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dbText ( 0 , ( iLoop + monsterCount ) * 15 , czText );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
}<br />
<br />
///////////////////////////////////////////////////////////////////////////////////<br />
///////////////////////////////////////////////////////////////////////////////////<br />
<br />
float getDistance ( float x1 , float y1 , float z1 , float x2 , float y2 , float z2 )<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; float dist;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float dx;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float dy;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float dz;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; dx = x2 - x1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; dy = y2 - y1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; dz = z2 - z1;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; dist = sqrt ( ( dx * dx ) + ( dy * dy ) + ( dz * dz ) );<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; return dist;<br />
}<br />
<br />
///////////////////////////////////////////////////////////////////////////////////<br />
///////////////////////////////////////////////////////////////////////////////////</pre><br />
<br />
<br />
Can anybody help me?<br />
<br />
Are there a better way of switching than deleting the current object and load a new object with the same object number?<br />
<br />
Please help</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>C++ Obliviator</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211526.html</guid>
		</item>
		<item>
			<title>Web based game Java???</title>
			<link>http://www.daniweb.com/forums/thread211307.html</link>
			<pubDate>Thu, 13 Aug 2009 18:31:46 GMT</pubDate>
			<description><![CDATA[I am developing an app and was wondering if any software might exist to help. 
 
Specifically, I want a simple app that will allow me to take a video or pics of a neighborhood. If possible, I would like software to convert the neighborhood to a 3d cartoon-ish (not absolutely required) format. <---...]]></description>
			<content:encoded><![CDATA[<div>I am developing an app and was wondering if any software might exist to help.<br />
<br />
Specifically, I want a simple app that will allow me to take a video or pics of a neighborhood. If possible, I would like software to convert the neighborhood to a 3d cartoon-ish (not absolutely required) format. &lt;--- only used to set up in advance and not for the user. A convert once.<br />
<br />
Next I want the user to select a character that can run around the neighborhood and walk up to any door. At the point they arrive at the door, I have another piece of software that will take over.<br />
<br />
Simply,  a neighborhood where a character can walk or run. <br />
<br />
Is there any software that will help create this? It needs to run within a web browser for a desktop, PDA (including Ipohone and blackberry and palm pre).<br />
<br />
Thanks in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>PeteRico</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211307.html</guid>
		</item>
		<item>
			<title>Confused!!!</title>
			<link>http://www.daniweb.com/forums/thread211223.html</link>
			<pubDate>Thu, 13 Aug 2009 10:49:22 GMT</pubDate>
			<description>Hi all, 
 
Well i am new to game development. i am a CS guy, i am quite good at c/c++.  but i wanna develop game on Microsoft .net (C#)Platform.  
I read through a XNA review. Reviews say that, u cannot develop 3D game on XNA. i am totally confused about game development.  
 
when u hav C#, xna,...</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
Well i am new to game development. i am a CS guy, i am quite good at c/c++.  but i wanna develop game on Microsoft .net (C#)Platform. <br />
I read through a XNA review. Reviews say that, u cannot develop 3D game on XNA. i am totally confused about game development. <br />
<br />
when u hav C#, xna, Direct X and other good IDE/APIs. why do u need to go for a game engine. Now, could someone please guide me through this. And how do u develop one!!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>kishan4every1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211223.html</guid>
		</item>
		<item>
			<title>What is the best game Developer software?</title>
			<link>http://www.daniweb.com/forums/thread210910.html</link>
			<pubDate>Wed, 12 Aug 2009 07:42:08 GMT</pubDate>
			<description>Hi 
 
 
Can anyone tell me please What is the best game Developer software. 
 
 
Thanks.</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
<br />
Can anyone tell me please What is the best game Developer software.<br />
<br />
<br />
Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>syedabdulsamad</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread210910.html</guid>
		</item>
		<item>
			<title>D3DXFrameCalculateBoundingSphere  with progressive meshes</title>
			<link>http://www.daniweb.com/forums/thread210716.html</link>
			<pubDate>Tue, 11 Aug 2009 14:15:38 GMT</pubDate>
			<description>I am working with Direct3X 9. In order to improve performance during runtime, I have been working to create progressive meshes using D3DXGeneratePMesh(). 
 
So far so good, the mesh was created and there were no errors throughout the application. HOWEVER, the model was not displaying on the screen....</description>
			<content:encoded><![CDATA[<div>I am working with Direct3X 9. In order to improve performance during runtime, I have been working to create progressive meshes using D3DXGeneratePMesh().<br />
<br />
So far so good, the mesh was created and there were no errors throughout the application. HOWEVER, the model was not displaying on the screen. After a long debug process, I found the error to be in the D3DXFrameCalculateBoundingSphere function. If I remove the convertion into a progressive mesh, it works fine, but after converting, the function returns a 0 center and 0 radius but returns S_OK.<br />
<br />
This to me assumes that it does not find any meshes whilst traversing the frame structure. Does anybody know why this would be?. Any meshes converted to PMesh has the meshData.Type set to D3DXMESHTYPE_PMESH so there should be no confusions.<br />
<br />
If there is need to see source code, let me know which bits you need. Thanks,<br />
<br />
Dipun</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>dipunm</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread210716.html</guid>
		</item>
		<item>
			<title>How I can get the Best Games Developer Software?</title>
			<link>http://www.daniweb.com/forums/thread210603.html</link>
			<pubDate>Tue, 11 Aug 2009 04:21:32 GMT</pubDate>
			<description>Hi 
 
 
Can anyone help me please What is the Best Games Developer software. 
 
Thanks.</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
<br />
Can anyone help me please What is the Best Games Developer software.<br />
<br />
Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>CMSHelper</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread210603.html</guid>
		</item>
	</channel>
</rss>
