<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkQMRH04cCp7ImA9WhRaE0Q.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685</id><updated>2012-02-16T16:49:45.338+03:30</updated><category term="mobile" /><category term="news" /><category term="Iphone" /><category term="Xcode" /><category term="killer" /><category term="3d" /><category term="develop" /><category term="light" /><category term="blender" /><category term="gamecanvas" /><category term="info" /><category term="m3g" /><category term="Apple" /><category term="interface" /><category term="download" /><category term="python" /><category term="animation" /><category term="notice" /><category term="tips" /><category term="function" /><category term="cldc" /><category term="open" /><category term="3ds" /><category term="image" /><category term="2008" /><category term="touch" /><category term="poser" /><category term="java" /><category term="works" /><category term="camera" /><category term="cdc" /><category term="programming" /><category term="object" /><category term="music" /><category term="version" /><category term="advanced" /><category term="game" /><category term="blog" /><category term="move" /><category term="netbeans" /><category term="rotate" /><category term="source" /><category term="max" /><category term="movie" /><category term="text" /><category term="syncronized" /><category term="mp3" /><category term="middlet" /><category term="midp" /><title>3d animation and game</title><subtitle type="html">works about 3d animation and game</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://dahcomputer.blogspot.com/" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/3dAnimationAndGame" /><feedburner:info uri="3danimationandgame" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;C0YDR3YzcCp7ImA9WhdXGEs.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-6799749186276669453</id><published>2011-09-01T11:42:00.001+04:30</published><updated>2011-09-01T11:42:56.888+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-01T11:42:56.888+04:30</app:edited><title>Xcode 4.1 and lion</title><content type="html">&lt;p&gt;Xcode 4.1 and lion&lt;/p&gt;  &lt;p&gt;In my new series of post I decided to write something about xcode 4.1 &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-uMQ5xrjyv9I/Tl8v9xmNPyI/AAAAAAAAAnY/RCLNKm298ZM/s1600-h/clip_image002%25255B3%25255D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://lh4.ggpht.com/-HkyEZTDVsFE/Tl8wDYtnSQI/AAAAAAAAAnc/rcOm8w22znY/clip_image002_thumb.jpg?imgmax=800" width="244" height="139" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;and lion os that i use in next post.&lt;/p&gt;  &lt;p&gt;Xcode 4.1 can use in snow leopard also but you should download deferent version&lt;/p&gt;  &lt;p&gt;For snow leopard .From Xcode 4 you see great change especially in interface of program.&lt;/p&gt;  &lt;p&gt;You can add library to program in 4 device orientations (portrait upside-down landscape left and right) without add any more code.&lt;/p&gt;  &lt;p&gt;With new interface you can use deferent editor without leave of xcode .New editor help you to have easier programming. You can switch between editors with click on view and editor in toolbar.I don’t want explain more about xcode and lion because you can find them in apple site.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-g5uwwblsofs/Tl8wPJdCZNI/AAAAAAAAAng/G_xQZhmo76Q/s1600-h/clip_image004%25255B3%25255D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://lh5.ggpht.com/-4byw5mKRTE0/Tl8wTocX0KI/AAAAAAAAAnk/bqc2a0V2nAs/clip_image004_thumb.jpg?imgmax=800" width="244" height="139" /&gt;&lt;/a&gt;I write this post because if you have problem in xcode and lion discuss it in comment of this posts. In next post you’ll see articles about location based game.&lt;/p&gt;  &lt;p&gt;Bye for now and wait for your comments.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-qWTHplZaY5I/Tl8wWwvoGtI/AAAAAAAAAno/fFNqngx1hQU/s1600-h/clip_image006%25255B3%25255D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://lh4.ggpht.com/-vYS-zu7mVMA/Tl8wdRwfxlI/AAAAAAAAAns/e0KUlSMikw4/clip_image006_thumb.jpg?imgmax=800" width="244" height="139" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-6799749186276669453?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rLo-drzGuK-GOGc3VoAuDQ2Jfps/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rLo-drzGuK-GOGc3VoAuDQ2Jfps/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rLo-drzGuK-GOGc3VoAuDQ2Jfps/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rLo-drzGuK-GOGc3VoAuDQ2Jfps/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/EZEgGgzr8ac" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/6799749186276669453/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=6799749186276669453" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/6799749186276669453?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/6799749186276669453?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/EZEgGgzr8ac/xcode-41-and-lion.html" title="Xcode 4.1 and lion" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/-HkyEZTDVsFE/Tl8wDYtnSQI/AAAAAAAAAnc/rcOm8w22znY/s72-c/clip_image002_thumb.jpg?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2011/09/xcode-41-and-lion.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYAQHg7cCp7ImA9WhdRFU8.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-4619561295007035381</id><published>2011-08-05T11:22:00.000+04:30</published><updated>2011-08-05T11:22:21.608+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-05T11:22:21.608+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="version" /><category scheme="http://www.blogger.com/atom/ns#" term="blog" /><category scheme="http://www.blogger.com/atom/ns#" term="info" /><category scheme="http://www.blogger.com/atom/ns#" term="news" /><title>about my blog new version and game and application</title><content type="html">hi dear friends&lt;br /&gt;
&lt;br /&gt;
sorry for my late in posting but i working in games coding and like to come to you with&lt;br /&gt;
&lt;br /&gt;
new codes and app and games.&lt;br /&gt;
&lt;br /&gt;
it is my pleasure to see your ideas and project for android and iphon and pc &lt;br /&gt;
&lt;br /&gt;
and help you about it&lt;br /&gt;
&lt;br /&gt;
wait for your comment&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-UoSS0PF_S2g/TjuS5I0vClI/AAAAAAAAAnQ/aPJEBs0iZhk/s1600/elvingoh-app-store-icon.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-UoSS0PF_S2g/TjuS5I0vClI/AAAAAAAAAnQ/aPJEBs0iZhk/s1600/elvingoh-app-store-icon.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-4619561295007035381?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LHoM8ADXhvuXsd4zuqL86usMrjo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LHoM8ADXhvuXsd4zuqL86usMrjo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LHoM8ADXhvuXsd4zuqL86usMrjo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LHoM8ADXhvuXsd4zuqL86usMrjo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/HLxZRBjgokA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/4619561295007035381/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=4619561295007035381" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/4619561295007035381?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/4619561295007035381?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/HLxZRBjgokA/about-my-blog-new-version-and-game-and.html" title="about my blog new version and game and application" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-UoSS0PF_S2g/TjuS5I0vClI/AAAAAAAAAnQ/aPJEBs0iZhk/s72-c/elvingoh-app-store-icon.jpg" height="72" width="72" /><thr:total>7</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2011/08/about-my-blog-new-version-and-game-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4CQHY4cCp7ImA9Wx5QE0w.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-4372470223947923998</id><published>2010-09-01T09:21:00.002+04:30</published><updated>2010-09-01T09:26:01.838+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-01T09:26:01.838+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>my new game will be published</title><content type="html">thanks for your comments ,&lt;br /&gt;
&lt;br /&gt;
as soon as I'll&amp;nbsp; publish my java 3d&amp;nbsp; game&lt;br /&gt;
&lt;br /&gt;
and some discussion about games and developing&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; send your comment about that what you want from mobile game&lt;br /&gt;
&lt;br /&gt;
and which games you like and&amp;nbsp; are you played games in mobile or no.&lt;br /&gt;
&lt;br /&gt;
wait&amp;nbsp; for your comments&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-4372470223947923998?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cZhgwkq4QqvhVHTCYsz4vepqfBA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cZhgwkq4QqvhVHTCYsz4vepqfBA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cZhgwkq4QqvhVHTCYsz4vepqfBA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cZhgwkq4QqvhVHTCYsz4vepqfBA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/xnjcZioFeFw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/4372470223947923998/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=4372470223947923998" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/4372470223947923998?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/4372470223947923998?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/xnjcZioFeFw/my-new-game-will-be-published.html" title="my new game will be published" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2010/09/my-new-game-will-be-published.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8BSH0-eSp7ImA9Wx5RFEg.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-1723203627270285439</id><published>2010-08-22T11:04:00.000+04:30</published><updated>2010-08-22T11:04:19.351+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-22T11:04:19.351+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="touch" /><category scheme="http://www.blogger.com/atom/ns#" term="Iphone" /><category scheme="http://www.blogger.com/atom/ns#" term="Xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="Apple" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>codes for touch in iphone</title><content type="html">Every user should control game easily. Game controlling can be doing with&amp;nbsp;  keypress &lt;br /&gt;
or touch or device(in iphone and some device).Which one you like?In iphone or  even &lt;br /&gt;
java you should use events for every user command .In&amp;nbsp; this article we&amp;nbsp;  focused on &lt;br /&gt;
touch events and codes.&lt;br /&gt;
&lt;br /&gt;
a touch can be occurred in interface that i discussed in previous article.  For any touch &lt;br /&gt;
and interface you should define function and connection from interface to  function.&lt;br /&gt;
if you want use button button have many touch event like touch cancel,touch  &lt;br /&gt;
down,touch up inside and etc.With right click in button in mainwindow you’ll  see &lt;br /&gt;
events, select one of them and connected it to window select function you  create for&amp;nbsp; &lt;br /&gt;
button.like this image&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://public.blu.livefilestore.com/y1p1t9a-KJXrkO4hH7NF0hHpinpXy73KMHI6c-cjvNbu-aS5FmuzO1tt8rbx_9c9BwXz6dM9QGTZfxbbX5q-cJNcQ/connectioninterface.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://public.blu.livefilestore.com/y1p1t9a-KJXrkO4hH7NF0hHpinpXy73KMHI6c-cjvNbu-aS5FmuzO1tt8rbx_9c9BwXz6dM9QGTZfxbbX5q-cJNcQ/connectioninterface.png" width="368" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
For other part of windows you shoul add more code .A code like it can be  use&lt;br /&gt;
&lt;span style="color: blue;"&gt;- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent  *)event {&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br /&gt;
with this code you can define point for your touch .&lt;br /&gt;
&lt;span style="color: blue;"&gt;CGPoint&amp;nbsp; lastPoint;&lt;/span&gt;&lt;br /&gt;
and in part of program that you can use it for detect your finger.&lt;br /&gt;
&lt;span style="color: blue;"&gt;CGPoint gamePoint = [touch  locationInView:self.view];&lt;/span&gt;&lt;br /&gt;
you can get coordinates of point.&lt;br /&gt;
&lt;span style="color: blue;"&gt;x=gamePoint.x;y=gamePoint.y&lt;/span&gt;&lt;br /&gt;
in next post we discussed detailed about game making and also i’ll add more  source code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-1723203627270285439?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xK2V0ePtAVbA89tX9iKDku-pPus/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xK2V0ePtAVbA89tX9iKDku-pPus/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xK2V0ePtAVbA89tX9iKDku-pPus/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xK2V0ePtAVbA89tX9iKDku-pPus/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/38JTsfkkGKY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/1723203627270285439/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=1723203627270285439" title="8 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/1723203627270285439?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/1723203627270285439?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/38JTsfkkGKY/codes-for-touch-in-iphone.html" title="codes for touch in iphone" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>8</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2010/08/codes-for-touch-in-iphone.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQGSH05eSp7ImA9Wx5SFkw.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-282648763907003008</id><published>2010-08-12T15:22:00.001+04:30</published><updated>2010-08-12T15:22:09.321+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-12T15:22:09.321+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="function" /><category scheme="http://www.blogger.com/atom/ns#" term="develop" /><category scheme="http://www.blogger.com/atom/ns#" term="Iphone" /><category scheme="http://www.blogger.com/atom/ns#" term="Xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="interface" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Apple" /><title>using interface in opengles(part2: functions)</title><content type="html">&lt;p&gt;In this parti’ll describe how you can run your interface on base of&amp;nbsp; game objects move.&lt;/p&gt; &lt;p&gt;Every code for running your game main windows,should be added in EAGLVIew class.&lt;/p&gt; &lt;p&gt;in opengles is better that you add more windows to games for performing menus and &lt;/p&gt; &lt;p&gt;games and etc but in this project it isn’t necessary .In project that we build before you &lt;/p&gt; &lt;p&gt;know that&amp;nbsp; ES1Rendere and ES2Renderer class have code for render engine in &lt;/p&gt; &lt;p&gt;opengles1 and opengles2 .All new Iphone device support opengles2.&lt;/p&gt; &lt;p&gt;Now we want control speed of colored box (see in previous project).we&amp;nbsp; add two lable &lt;/p&gt; &lt;p&gt;and&amp;nbsp; button to windows like this image&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_WyycEzihFOU/TGPSONXBxWI/AAAAAAAAAWM/8u_0C6a25As/s1600-h/setspeedwin3.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="setspeedwin" border="0" alt="setspeedwin" src="http://lh6.ggpht.com/_WyycEzihFOU/TGPSPgpENTI/AAAAAAAAAWQ/M38K3UcdDYk/setspeedwin_thumb.png?imgmax=800" width="157" height="244"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Now we define two function increasespeed and decreasespeed and a lable with name label in EAGLView class.in EAGLView.h inside interface we add &lt;font color="#0000ff"&gt;UILabel *label ; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;then add &lt;/p&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;- (IBAction)increasespeed:(id)sender;&lt;br&gt;- (IBAction)decreasespeed:(id)sender;&lt;/font&gt;  &lt;p&gt;after&amp;nbsp; interface definition Then linked two button + and – to them..Now we add some code in function .for example for decreasespeed function we add this code(is same for increasespeed )  &lt;p&gt;&lt;font color="#0000ff"&gt;&amp;nbsp;&amp;nbsp; - (IBAction)decreasespeed:(id)sender { &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;label.text=@"increase";&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; speed+=0.15f;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [renderer setspeed:(speed)];&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [renderer render];// is necessary for seeing change&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;setspeed is function that should defined in ES1Renderer and ES2Renderer and &lt;/p&gt; &lt;p&gt;ESRenderer.in ES1Renderer and ES2Renderer after interface defination add &lt;/p&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;-(void)setspeed:(int)Speed;&lt;/font&gt; . do it for ESRenderer after @protocol defination.&lt;/p&gt; &lt;p&gt;Now in ES2Renderer.m and ES1Renderer.m add following code&lt;/p&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;-(void)setspeed:(int)Speed&lt;br&gt;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; speed=Speed;&lt;br&gt;}&lt;/font&gt;  &lt;p&gt;it is all you need. now see your app!&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_WyycEzihFOU/TGPSSmUe-oI/AAAAAAAAAWU/Dex4BWdbiYI/s1600-h/setspeedapp3.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="setspeedapp" border="0" alt="setspeedapp" src="http://lh5.ggpht.com/_WyycEzihFOU/TGPSV-362rI/AAAAAAAAAWY/lNuJ909vID4/setspeedapp_thumb1.png?imgmax=800" width="160" height="291"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-282648763907003008?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Oql-qLH6_ApXIUHKUY0olrdO7uE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Oql-qLH6_ApXIUHKUY0olrdO7uE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Oql-qLH6_ApXIUHKUY0olrdO7uE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Oql-qLH6_ApXIUHKUY0olrdO7uE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/MCS_CgAV_YY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/282648763907003008/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=282648763907003008" title="10 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/282648763907003008?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/282648763907003008?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/MCS_CgAV_YY/using-interface-in-openglespart2.html" title="using interface in opengles(part2: functions)" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/_WyycEzihFOU/TGPSPgpENTI/AAAAAAAAAWQ/M38K3UcdDYk/s72-c/setspeedwin_thumb.png?imgmax=800" height="72" width="72" /><thr:total>10</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2010/08/using-interface-in-openglespart2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cBRHo-fip7ImA9Wx5SEUs.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-5557458711320107240</id><published>2010-08-07T11:40:00.001+04:30</published><updated>2010-08-07T11:40:55.456+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-07T11:40:55.456+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="image" /><category scheme="http://www.blogger.com/atom/ns#" term="develop" /><category scheme="http://www.blogger.com/atom/ns#" term="text" /><category scheme="http://www.blogger.com/atom/ns#" term="Xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="interface" /><category scheme="http://www.blogger.com/atom/ns#" term="Apple" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>using interface in opengles (part 1)</title><content type="html">&lt;p&gt;in this tutorial&amp;nbsp; i’ll describe opengles template that using in game developing and add interface to it.You can use text and image and etc without any coding in iphone games.Just for more change in text and images in during&amp;nbsp; game you need coding. first we create new project in Xcode and select opengles template like this image&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_WyycEzihFOU/TF0FSt5s3GI/AAAAAAAAAUA/IXp-uVnglGk/s1600-h/opengl4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="opengl" border="0" alt="opengl" src="http://lh4.ggpht.com/_WyycEzihFOU/TF0FXTtFECI/AAAAAAAAAUE/yOTLvmZ5XxQ/opengl_thumb2.png?imgmax=800" width="526" height="282"&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;then select name for project .i select “test” for my project you can select another. &lt;/p&gt; &lt;p&gt;Xcode opened window like this image for you that you see test project and folders of it.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_WyycEzihFOU/TF0FdY3V_II/AAAAAAAAAUI/ERV1x4MlPfU/testproject5.png?imgmax=800"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="testproject" border="0" alt="testproject" src="http://lh4.ggpht.com/_WyycEzihFOU/TF0GuaJdmeI/AAAAAAAAAUM/kWQuDcaBhM8/testproject_thumb3.png?imgmax=800" width="518" height="299"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;As you see test have 6 folder (classes,shaders,other sources,resources,frameworks and products).In resource you can see MainWindow.xib (is main topic of post).Select window .You can add some text and images and other library .see this image&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_WyycEzihFOU/TF0GzaJy5dI/AAAAAAAAAUQ/7okAG9hr0-w/s1600-h/window4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="window" border="0" alt="window" src="http://lh5.ggpht.com/_WyycEzihFOU/TF0G2DYvmxI/AAAAAAAAAUU/qodug8J4w1k/window_thumb2.png?imgmax=800" width="214" height="276"&gt;&lt;/a&gt; &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;In opengles codes forced some change in main window after run it.With any code you &lt;/p&gt; &lt;p&gt;can change interfaces also .after run your program you can see this window like it.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_WyycEzihFOU/TF0G5-qDqJI/AAAAAAAAAUY/Nr9ThWwd9VA/s1600-h/labelopengl3.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="labelopengl" border="0" alt="labelopengl" src="http://lh6.ggpht.com/_WyycEzihFOU/TF0G-AHcQdI/AAAAAAAAAUc/hBaHS1GGfnE/labelopengl_thumb1.png?imgmax=800" width="178" height="317"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;i add label(my game 1)to opengles sample project that you see.you can chage font and size of text and others that you want.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-5557458711320107240?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZtgwndMLtR5Jd3yUjISmdXkptXQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZtgwndMLtR5Jd3yUjISmdXkptXQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZtgwndMLtR5Jd3yUjISmdXkptXQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZtgwndMLtR5Jd3yUjISmdXkptXQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/75CnYoARFwg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/5557458711320107240/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=5557458711320107240" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/5557458711320107240?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/5557458711320107240?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/75CnYoARFwg/using-interface-in-opengles-part-1.html" title="using interface in opengles (part 1)" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/_WyycEzihFOU/TF0FXTtFECI/AAAAAAAAAUE/yOTLvmZ5XxQ/s72-c/opengl_thumb2.png?imgmax=800" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2010/08/using-interface-in-opengles-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIMQHo5eCp7ImA9Wx5TGEQ.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-8974927785063911250</id><published>2010-08-03T09:57:00.003+04:30</published><updated>2010-08-04T09:23:01.420+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-04T09:23:01.420+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Iphone" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="Xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="interface" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Apple" /><title>Introduction to iphone programming</title><content type="html">Xcode is&amp;nbsp; best tool for Iphone and Ipad and Mac programming.You can used so &lt;br /&gt;
many interfaces&amp;nbsp; easily in programming and connect them to source as you &lt;br /&gt;
want also with simulator for test your apps.see &lt;a href="http://developer.apple.com/technologies/xcode.html%20"&gt;here&lt;/a&gt; for more info.In this picture &lt;br /&gt;
you see xcode 3.2.3 ide with iphone sdk 4.0&lt;br /&gt;
&lt;a href="http://lh6.ggpht.com/_WyycEzihFOU/TFeodC1GoAI/AAAAAAAAATo/lShWKCflOpk/s1600-h/xcode3.2.34.png"&gt;&lt;img alt="xcode3.2.3" border="0" height="242" src="http://lh5.ggpht.com/_WyycEzihFOU/TFeohREY7VI/AAAAAAAAATs/AYRGBfftKis/xcode3.2.3_thumb2.png?imgmax=800" style="border-width: 0px; display: inline;" title="xcode3.2.3" width="459" /&gt;&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
Every project in Xcode at last have one windows(or view) .In windows we can &lt;br /&gt;
add some library like button,label,slide and…For this purpose we should &lt;br /&gt;
expand resource folder in left sidebar and open MainWindow.xib or &lt;br /&gt;
MainView.xib .Interface builder tool opened and show a blank window.It is &lt;br /&gt;
same windows that you see in iphone app. next drag your library from right &lt;br /&gt;
side to your windows . If you can’t see library should select tool menu and &lt;br /&gt;
then library.&lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/_WyycEzihFOU/TFeonFIEqfI/AAAAAAAAATw/Xqz42OuWb6E/s1600-h/interfacebuilder5.png"&gt;&lt;img alt="interfacebuilder" border="0" height="222" src="http://lh6.ggpht.com/_WyycEzihFOU/TFeosGri6OI/AAAAAAAAAT0/T1hY6vzFOMI/interfacebuilder_thumb3.png?imgmax=800" style="border-width: 0px; display: inline;" title="interfacebuilder" width="444" /&gt;&lt;/a&gt; &lt;br /&gt;
Now build and run your apps .In next post I'll describe opengles tempelete that &lt;br /&gt;
is best choose for create 3d games for Iphone .and show how using interface &lt;br /&gt;
builders and codes in Xcode.&amp;nbsp; &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/_WyycEzihFOU/TFeot9rB-GI/AAAAAAAAAT4/VlFvKRoadRI/s1600-h/yourapp12.png"&gt;&lt;img alt="yourapp1" border="0" height="244" src="http://lh4.ggpht.com/_WyycEzihFOU/TFeov-FFvcI/AAAAAAAAAT8/sCGDAV_JAhE/yourapp1_thumb.png?imgmax=800" style="border-width: 0px; display: inline;" title="yourapp1" width="123" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-8974927785063911250?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GnrRdS-EOM7OF_Y8o3uh1Gx4etM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GnrRdS-EOM7OF_Y8o3uh1Gx4etM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GnrRdS-EOM7OF_Y8o3uh1Gx4etM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GnrRdS-EOM7OF_Y8o3uh1Gx4etM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/QDbIK-Sjro8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/8974927785063911250/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=8974927785063911250" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8974927785063911250?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8974927785063911250?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/QDbIK-Sjro8/introudction-to-iphone-programming.html" title="Introduction to iphone programming" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_WyycEzihFOU/TFeohREY7VI/AAAAAAAAATs/AYRGBfftKis/s72-c/xcode3.2.3_thumb2.png?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2010/08/introudction-to-iphone-programming.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEGRno_fyp7ImA9Wx5TF08.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-7971838225060167749</id><published>2010-08-02T10:10:00.001+04:30</published><updated>2010-08-02T10:10:27.447+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-02T10:10:27.447+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Iphone" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><title>come back with new article</title><content type="html">&lt;p&gt;sorry for my delay in updating . But i come back with new articles.this article &lt;/p&gt; &lt;p&gt;are about 3d game programming for Iphone.wait for more&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_WyycEzihFOU/TFZaQ_kTnEI/AAAAAAAAATg/K8_BbyV0V-g/s1600-h/iphone%5B11%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="iphone" border="0" alt="iphone" src="http://lh3.ggpht.com/_WyycEzihFOU/TFZaShfGtdI/AAAAAAAAATk/pgxiSWGmu3U/iphone_thumb%5B9%5D.jpg?imgmax=800" width="209" height="244"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;a href="http://www.kottke.org/plus/misc/images/iphone-parallels.jpg"&gt;image link&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-7971838225060167749?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-Yp1HO6FwtqAiuqI7t23suLD2uA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-Yp1HO6FwtqAiuqI7t23suLD2uA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-Yp1HO6FwtqAiuqI7t23suLD2uA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-Yp1HO6FwtqAiuqI7t23suLD2uA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/RrECJbz5Bs0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/7971838225060167749/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=7971838225060167749" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/7971838225060167749?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/7971838225060167749?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/RrECJbz5Bs0/come-back-with-new-article.html" title="come back with new article" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_WyycEzihFOU/TFZaShfGtdI/AAAAAAAAATk/pgxiSWGmu3U/s72-c/iphone_thumb%5B9%5D.jpg?imgmax=800" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2010/08/come-back-with-new-article.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYEQnw7eCp7ImA9WxJREEk.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-1725563417312340713</id><published>2009-05-11T16:19:00.003+04:30</published><updated>2009-05-11T16:45:03.200+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-11T16:45:03.200+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="open" /><category scheme="http://www.blogger.com/atom/ns#" term="python" /><category scheme="http://www.blogger.com/atom/ns#" term="source" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><category scheme="http://www.blogger.com/atom/ns#" term="blender" /><title>blender and python and game</title><content type="html">&lt;a href="http://www.blender.org"&gt;blender&lt;/a&gt;is a free 3d open source code.in blender you can run a python code and access to object and rotate and scaled and transform&lt;br /&gt;them .you can first make figure in poser and then import it on blender or 3ds max.for import any poser figure it is better to select unimesh demo in python script box and make a sample demo  from figure and then import it to 3ds max or blender.then you can create a code like this&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# Windows version &lt;br /&gt;import Blender&lt;br /&gt;import sys&lt;br /&gt;&lt;br /&gt;obj=Blender.Object.Get()&lt;br /&gt;print str(obj)&lt;br /&gt;sys.stdout.flush()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;and run it on blender.you can custumize code with loop and others and make a game with it&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-1725563417312340713?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uXzhhxDOV4NNTNg_FLGjl59dNkU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uXzhhxDOV4NNTNg_FLGjl59dNkU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uXzhhxDOV4NNTNg_FLGjl59dNkU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uXzhhxDOV4NNTNg_FLGjl59dNkU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/pPrkEMHeICQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/1725563417312340713/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=1725563417312340713" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/1725563417312340713?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/1725563417312340713?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/pPrkEMHeICQ/blender-and-python-and-game.html" title="blender and python and game" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2009/05/blender-and-python-and-game.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8MRXw-fSp7ImA9WxJSEE4.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-7946113790780603629</id><published>2009-04-29T10:53:00.005+04:30</published><updated>2009-04-29T23:18:04.255+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-29T23:18:04.255+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="poser" /><category scheme="http://www.blogger.com/atom/ns#" term="animation" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="python" /><category scheme="http://www.blogger.com/atom/ns#" term="movie" /><category scheme="http://www.blogger.com/atom/ns#" term="blender" /><title>python and animation</title><content type="html">python is great scripting language for animation specially use in blender and poser.&lt;br /&gt;with a python script you can control tools of this software  and moving of object in this.when you want to make game with java you can run a script sample in blender or poser for test of your game in real 3d scene and then make a java code for it.you can download python ide  from &lt;a href="http://www.python.org"&gt;here &lt;/a&gt;&lt;br /&gt;this is a picture of python shell ide&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WyycEzihFOU/Sff0gAhHgVI/AAAAAAAAAHk/8eFk2HOfBuY/s1600-h/pythonshell.png"&gt;&lt;img style="cursor: pointer; width: 386px; height: 400px;" src="http://1.bp.blogspot.com/_WyycEzihFOU/Sff0gAhHgVI/AAAAAAAAAHk/8eFk2HOfBuY/s400/pythonshell.png" alt="" id="BLOGGER_PHOTO_ID_5329997514748166482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;and this is a part of code for rendering frame of 1 until 10 and save their images&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;PoserFile.append("E:\\dawood\\movie\\movie1.pz3")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;TargetDirectory.append("E:\\dawood\\movie\\run\\")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;FramePrefix.append("Run")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;StartFrame.append(0)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;EndFrame.append(10) &lt;/span&gt;&lt;br /&gt;this codes help you also making animation easier and faster and control  animation scenes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-7946113790780603629?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/x1CcIoS3mB21KkKU_8WPrxYSr68/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x1CcIoS3mB21KkKU_8WPrxYSr68/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/x1CcIoS3mB21KkKU_8WPrxYSr68/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x1CcIoS3mB21KkKU_8WPrxYSr68/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/w6yIA5b3r4c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/7946113790780603629/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=7946113790780603629" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/7946113790780603629?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/7946113790780603629?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/w6yIA5b3r4c/python-and-animation.html" title="python and animation" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_WyycEzihFOU/Sff0gAhHgVI/AAAAAAAAAHk/8eFk2HOfBuY/s72-c/pythonshell.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2009/04/python-and-animation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAMSX8yeSp7ImA9WxJTF0s.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-8703812461508578195</id><published>2009-04-26T21:04:00.001+04:30</published><updated>2009-04-26T21:56:28.191+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-26T21:56:28.191+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="poser" /><category scheme="http://www.blogger.com/atom/ns#" term="animation" /><category scheme="http://www.blogger.com/atom/ns#" term="max" /><title>3 steps for making animation</title><content type="html">poser and 3ds max are two good software for making animation and game .Poser is a 3d figuring&lt;br /&gt;software and 3ds max is known  3d design software .in 3ds max you can design your 3d object like&lt;br /&gt;and export it as 3ds file and import it in poser .In poser after import of 3ds max file you can create&lt;br /&gt;figure and move it between frame of 1 and your desired frame.for better learning see here. for using in mobile game you should have a low poly figure and export again object to 3ds file and in 3ds max export all of movie in m3g file or obj file.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;it is explained in 3 steps  here&lt;/span&gt;&lt;br /&gt;1-make object in 3ds max&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WyycEzihFOU/SfQDlmH8baI/AAAAAAAAAHE/y85LTbwHQCo/s1600-h/blog3dmax.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 301px;" src="http://1.bp.blogspot.com/_WyycEzihFOU/SfQDlmH8baI/AAAAAAAAAHE/y85LTbwHQCo/s400/blog3dmax.png" alt="" id="BLOGGER_PHOTO_ID_5328888203510050210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;2-import it on poser&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WyycEzihFOU/SfQE4GhFzhI/AAAAAAAAAHU/FaER5U0ohTw/s1600-h/blogposerimage.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 289px;" src="http://4.bp.blogspot.com/_WyycEzihFOU/SfQE4GhFzhI/AAAAAAAAAHU/FaER5U0ohTw/s400/blogposerimage.png" alt="" id="BLOGGER_PHOTO_ID_5328889620954730002" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;3-render for making animation in poser&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WyycEzihFOU/SfQFuOf0_oI/AAAAAAAAAHc/yKZRwiVAq9o/s1600-h/blogsamplerender.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 288px;" src="http://3.bp.blogspot.com/_WyycEzihFOU/SfQFuOf0_oI/AAAAAAAAAHc/yKZRwiVAq9o/s400/blogsamplerender.png" alt="" id="BLOGGER_PHOTO_ID_5328890550809853570" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-8703812461508578195?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/z0HEDObqYaDmhNWwXz7jfVlUbi8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z0HEDObqYaDmhNWwXz7jfVlUbi8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/z0HEDObqYaDmhNWwXz7jfVlUbi8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z0HEDObqYaDmhNWwXz7jfVlUbi8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/Ix5XqFFtca0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/8703812461508578195/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=8703812461508578195" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8703812461508578195?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8703812461508578195?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/Ix5XqFFtca0/3-steps-for-making-animation.html" title="3 steps for making animation" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_WyycEzihFOU/SfQDlmH8baI/AAAAAAAAAHE/y85LTbwHQCo/s72-c/blog3dmax.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2009/04/3-steps-for-making-animation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IASHY4fyp7ImA9WxJTFEo.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-2045828833142370859</id><published>2009-04-23T11:50:00.003+04:30</published><updated>2009-04-23T11:55:49.837+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-23T11:55:49.837+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="news" /><category scheme="http://www.blogger.com/atom/ns#" term="animation" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>3d animation and game</title><content type="html">from today i want change my blog topic from java game programming to 3d animation and game.&lt;br /&gt;because a best way to make games is that make good  animation and run it with code in java or other programming language .from today i start my work in this subject .&lt;br /&gt;be wait...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-2045828833142370859?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lupcfIqEhFKcguXgNFPuDFaabp8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lupcfIqEhFKcguXgNFPuDFaabp8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lupcfIqEhFKcguXgNFPuDFaabp8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lupcfIqEhFKcguXgNFPuDFaabp8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/1aAXDqsw7c8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/2045828833142370859/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=2045828833142370859" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/2045828833142370859?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/2045828833142370859?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/1aAXDqsw7c8/3d-animation-and-game.html" title="3d animation and game" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2009/04/3d-animation-and-game.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8EQXc5fSp7ImA9WxJSEEQ.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-4018289647535552114</id><published>2009-02-25T15:28:00.004+03:30</published><updated>2009-04-30T17:53:20.925+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-30T17:53:20.925+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><category scheme="http://www.blogger.com/atom/ns#" term="download" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="works" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>ultimate fight 3d java game</title><content type="html">in this version you can fight as iran,us,german,france,spain,......in place iran us, france,china ....&lt;br /&gt;watch it here&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/53cCD3VQkM8&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/53cCD3VQkM8&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;and download it from&lt;br /&gt;http://www.esnips.com/web/ultimatefight&lt;br /&gt;&lt;br /&gt;&lt;table style="border: 1px solid rgb(53, 53, 53); padding: 0px; background-color: rgb(239, 239, 239); color: rgb(51, 51, 51); font-family: Arial,Helvetica,sans-serif; font-size: 11px;" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding: 5px;" align="center"&gt;&lt;a href="http://www.esnips.com/doc/b440e794-77c3-496b-bfa8-a04e555b7b93/gamepicture1/?widget=medium"&gt;&lt;img alt="gamepicture1" title="gamepicture1 on eSnips.com" src="http://www.esnips.com/widget/?objectType=docthumb&amp;amp;objectUUID=b440e794-77c3-496b-bfa8-a04e555b7b93&amp;amp;resourceName=thumbnail" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding: 5px; font-size: 9px;" valign="bottom"&gt;Hosted by &lt;a href="http://www.esnips.com/"&gt;eSnips&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding: 5px; font-size: 9px;" valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-4018289647535552114?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2hHl1Lh4xKWcSCuiWClAay3n128/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2hHl1Lh4xKWcSCuiWClAay3n128/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2hHl1Lh4xKWcSCuiWClAay3n128/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2hHl1Lh4xKWcSCuiWClAay3n128/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/z-NvrmyLAAM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/4018289647535552114/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=4018289647535552114" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/4018289647535552114?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/4018289647535552114?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/z-NvrmyLAAM/ultimate-fight-3d-java-game.html" title="ultimate fight 3d java game" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2009/02/ultimate-fight-3d-java-game.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UDQ349eSp7ImA9WxVWFEU.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-9106592250725313459</id><published>2009-02-24T18:42:00.003+03:30</published><updated>2009-02-24T18:57:52.061+03:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-24T18:57:52.061+03:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="animation" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="mp3" /><category scheme="http://www.blogger.com/atom/ns#" term="music" /><category scheme="http://www.blogger.com/atom/ns#" term="syncronized" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>animation and sound in 3d games</title><content type="html">for this purpose you should use synchronized function for synchronized animation and sound with&lt;br /&gt;&lt;br /&gt;your events occurred  when key pressing.for Synchronize any functions you should use synchronized word before you functions this function is used for play mp3 sound&lt;br /&gt;  &lt;span style="color: rgb(51, 102, 255);"&gt;public synchronized void playmusic(String file)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;       {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;if(sound==0)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt; try&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Player p = Manager.createPlayer(file);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;p.setLoopCount(5);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;p.start();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;catch(IOException e)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;System.out.println("Error in io : " + e.toString());&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;catch(MediaException e)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;System.out.println("Error in media : " + e.toString());&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;   }&lt;/span&gt;&lt;br /&gt;you should add this function in function that you want played syncronized .&lt;br /&gt;public void keypress()&lt;br /&gt;{&lt;br /&gt;playmusic(file);&lt;br /&gt;}&lt;br /&gt;for animation you can make any arbitary function like this&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;syncronized  void animation()&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;x++;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;group.setTranslation(x,y,z);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;}&lt;/span&gt;&lt;br /&gt;this function force to  moving a   group in x axis without stop!&lt;br /&gt; this was a sample way for animation and sound in java 3d game.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-9106592250725313459?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dGbHnh2BN964_w3ZS1K3zNtScgI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dGbHnh2BN964_w3ZS1K3zNtScgI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dGbHnh2BN964_w3ZS1K3zNtScgI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dGbHnh2BN964_w3ZS1K3zNtScgI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/PdTz3RoouPY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/9106592250725313459/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=9106592250725313459" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/9106592250725313459?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/9106592250725313459?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/PdTz3RoouPY/animation-and-sound-in-3d-games.html" title="animation and sound in 3d games" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2009/02/animation-and-sound-in-3d-games.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAASXk_fyp7ImA9WxJSEEQ.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-2627094455165497986</id><published>2009-02-17T15:19:00.008+03:30</published><updated>2009-04-30T17:52:28.747+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-30T17:52:28.747+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><category scheme="http://www.blogger.com/atom/ns#" term="download" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="works" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>download ultimate fight 3d  0.1 (my new game)</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WyycEzihFOU/SZu7H1njZYI/AAAAAAAAAGk/t4yM6LtqO9Y/s1600-h/gamephoto.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 244px; height: 314px;" src="http://4.bp.blogspot.com/_WyycEzihFOU/SZu7H1njZYI/AAAAAAAAAGk/t4yM6LtqO9Y/s400/gamephoto.jpg" alt="" id="BLOGGER_PHOTO_ID_5304038729485346178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;sorry for my late. i worked in my new game.this is ultimate fight 0.1.this game is in testing and contain a one level and two player now but this will be enhanced as soon as.in this video you can see game in snaps.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=seT_571pTDg"&gt;watch it&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and download it from here&lt;br /&gt;&lt;a href="http://fb.esnips.com/web/ultimatefight"&gt;download it&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-2627094455165497986?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1uECLVyN28YmprQlMer9G1ljFqU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1uECLVyN28YmprQlMer9G1ljFqU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1uECLVyN28YmprQlMer9G1ljFqU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1uECLVyN28YmprQlMer9G1ljFqU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/9paKZUCKk7o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/2627094455165497986/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=2627094455165497986" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/2627094455165497986?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/2627094455165497986?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/9paKZUCKk7o/my-new-game.html" title="download ultimate fight 3d  0.1 (my new game)" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_WyycEzihFOU/SZu7H1njZYI/AAAAAAAAAGk/t4yM6LtqO9Y/s72-c/gamephoto.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2009/02/my-new-game.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMCQ385cSp7ImA9WxRXE04.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-772647737798466114</id><published>2008-10-18T16:26:00.004+03:30</published><updated>2008-10-18T16:57:42.129+03:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-18T16:57:42.129+03:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="tips" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>sample tips in making mobile game:graphics 1</title><content type="html">tips1:&lt;br /&gt;When you making a mobile games you should know that you can't make full city or even building&lt;br /&gt;&lt;br /&gt;and textured them.Because it forced to have bigger 3d models and some mobile device's(or all of&lt;br /&gt;&lt;br /&gt;them!).In this case you can textured your desired  city or building or...in sample plane or cube&lt;br /&gt;&lt;br /&gt;and move camera toward them. in game it seems that you moved in real city or building but you&lt;br /&gt;&lt;br /&gt;moved to  image .Then you can add your game sample building and humans and creatures to other&lt;br /&gt;&lt;br /&gt;side of pictures.like below&lt;br /&gt;&lt;br /&gt; &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WyycEzihFOU/SPnftk4VSsI/AAAAAAAAAF0/pnOyWUVM0sc/s1600-h/realmodel.png"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_WyycEzihFOU/SPnftk4VSsI/AAAAAAAAAF0/pnOyWUVM0sc/s200/realmodel.png" alt="" id="BLOGGER_PHOTO_ID_5258480014018824898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=jSRy7kms2vo"&gt;this is my video&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-772647737798466114?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wc3O0_wwiSwhb5xZJD3yiAIj6vE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wc3O0_wwiSwhb5xZJD3yiAIj6vE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wc3O0_wwiSwhb5xZJD3yiAIj6vE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wc3O0_wwiSwhb5xZJD3yiAIj6vE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/woAyDjPKBRY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/772647737798466114/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=772647737798466114" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/772647737798466114?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/772647737798466114?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/woAyDjPKBRY/sample-tips-in-making-mobile.html" title="sample tips in making mobile game:graphics 1" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_WyycEzihFOU/SPnftk4VSsI/AAAAAAAAAF0/pnOyWUVM0sc/s72-c/realmodel.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/10/sample-tips-in-making-mobile.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUABQX0-fCp7ImA9WxRSGUw.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-8771815739547049671</id><published>2008-09-15T18:41:00.014+04:30</published><updated>2008-09-20T16:59:10.354+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-20T16:59:10.354+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="3ds" /><category scheme="http://www.blogger.com/atom/ns#" term="m3g" /><category scheme="http://www.blogger.com/atom/ns#" term="rotate" /><category scheme="http://www.blogger.com/atom/ns#" term="max" /><category scheme="http://www.blogger.com/atom/ns#" term="2008" /><title>step2:rotation object in game</title><content type="html">you can rotate your object in 2 way.Which way you select is in base of your games and&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;algorithms and graphics of your programs.In first way you can set origin in game by&lt;br /&gt;&lt;br /&gt;setOrigin function or like it.prerotate and postrotate function invoke this origin on&lt;br /&gt;&lt;br /&gt;base of your origin and object default origin and make new origin.( &lt;a href="http://mobilezoo.biz/jsr/184/javax/microedition/m3g/Transformable.html"&gt;see here for technical &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mobilezoo.biz/jsr/184/javax/microedition/m3g/Transformable.html"&gt;information&lt;/a&gt;) This way is used when you want change your rotation origin on base of your game&lt;br /&gt;&lt;br /&gt;algorithm and you havn't any fixed origin for your objects .But you can set your orotation origin in3d model maker software's and export it m3g.it is better using &lt;a href="http://www.mascotcapsule.com/toolkit/m3g/en/index.php"&gt;mascot capsule&lt;/a&gt; because some&lt;br /&gt;&lt;br /&gt;exporter maybe can't export your origin and will be using default origin. For this porpose in 3ds &lt;/div&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;max 2008 for rotate leg on base of its upside &lt;a href="http://3.bp.blogspot.com/_WyycEzihFOU/SNC7ePJYVXI/AAAAAAAAAE8/CWtvcVVC6DM/s1600-h/womenlegrotate.png"&gt;&lt;img style="margin: 0px 0px 10px 10px; float: right;" id="BLOGGER_PHOTO_ID_5246899694022972786" alt="" src="http://3.bp.blogspot.com/_WyycEzihFOU/SNC7ePJYVXI/AAAAAAAAAE8/CWtvcVVC6DM/s200/womenlegrotate.png" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;first in command panel we select hierarchy(third box from left)&lt;img style="margin: 0px 0px 10px 10px; float: right;" id="BLOGGER_PHOTO_ID_5246900592827143746" alt="" src="http://4.bp.blogspot.com/_WyycEzihFOU/SNC8Sjc_lkI/AAAAAAAAAFE/KXG_ehPV8xM/s200/hierrachy.png" border="0" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;then select pivot button and click on affect pivot only and then you can see small pivots.it is your &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WyycEzihFOU/SNDs2zACEdI/AAAAAAAAAFU/ZBHj_y91Hq8/s1600-h/pivotbutton.png"&gt;&lt;img style="cursor: pointer; width: 63px; height: 200px;" src="http://4.bp.blogspot.com/_WyycEzihFOU/SNDs2zACEdI/AAAAAAAAAFU/ZBHj_y91Hq8/s200/pivotbutton.png" alt="" id="BLOGGER_PHOTO_ID_5246953992034062802" border="0" /&gt;&lt;/a&gt;                           &lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;rotate or move or scaling origin you can move it to your desired picture and then click on align to &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;object only button in below now you can rotate your objects in new origin in model and game.&lt;/div&gt;you should export this model to m3g with tool that i said before or another good tool and use it in game&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_WyycEzihFOU/SNC-b2T78sI/AAAAAAAAAFM/YKGedmsxlF8/s1600-h/movingpivot.png"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-8771815739547049671?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/acTOzj6Yhr1YQERMmh0fhgjOBac/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/acTOzj6Yhr1YQERMmh0fhgjOBac/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/acTOzj6Yhr1YQERMmh0fhgjOBac/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/acTOzj6Yhr1YQERMmh0fhgjOBac/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/T_uxPXiqISU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/8771815739547049671/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=8771815739547049671" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8771815739547049671?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8771815739547049671?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/T_uxPXiqISU/step2rotation-object-in-game.html" title="step2:rotation object in game" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_WyycEzihFOU/SNC7ePJYVXI/AAAAAAAAAE8/CWtvcVVC6DM/s72-c/womenlegrotate.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/09/step2rotation-object-in-game.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkABSX0_fCp7ImA9WxRRFEQ.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-9165435635596659392</id><published>2008-09-05T11:36:00.008+04:30</published><updated>2008-09-27T09:22:38.344+03:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-27T09:22:38.344+03:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="download" /><category scheme="http://www.blogger.com/atom/ns#" term="m3g" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="object" /><category scheme="http://www.blogger.com/atom/ns#" term="move" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>steps in making real 3d game</title><content type="html">1.moving&lt;br /&gt;moving of objects in 3d game is an important step in games and you should have good control in moving light and cameras .Camera position is on base of your game strategy and your game algorithm.for example in this test game(i'm still beginner) I set camera position with this code.&lt;br /&gt;&lt;span style="COLOR: rgb(51,102,255)"&gt;cam.postRotate(45, 0, 1,1); &lt;/span&gt;&lt;span style="COLOR: rgb(51,102,255)"&gt;cam.setTranslation(xpos+40, ypos-50, zpos+60);&lt;/span&gt;&lt;br /&gt;and you'll see camera in front of girl and above of her head when she moving near house.&lt;br /&gt;in this video you will see how camera move(xpos,ypos,zpos is girl position in 3d place)&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/i656djg5arE"&gt;&lt;br /&gt;   &lt;embed src="http://www.youtube.com/v/i656djg5arE" type="application/x-shockwave-flash" width="425" height="350"&gt;&lt;/embed&gt;  &lt;/object&gt;&lt;br /&gt;another method for moving is using transformation and transform matrix . a transform matrix is a 4 X 4 matrix and in java code you write it as float array with this code&lt;br /&gt;float[] matrix={1,0,0,sx&lt;br /&gt;,0,1,0,sy&lt;br /&gt;,0,0,1,sz};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,102,255)"&gt;Transform m=new Transform();&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,102,255)"&gt;m.set(matrix);&lt;/span&gt;&lt;br /&gt;now for moving camera and human in x axis(1 unit) set sx=1 .If you have mesh with name human and camera you need only to this code for moving them.&lt;br /&gt;&lt;span style="COLOR: rgb(51,102,255)"&gt;camera.setTransform(m);&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,102,255)"&gt;human.setTransform(m);&lt;/span&gt;&lt;br /&gt;With setting sy and sz you can moving in y and z axis&lt;br /&gt;&lt;br /&gt;.Matrix transform is very good for rotation and scale also. In next post i show how you can moving human with rotate hand and leg and body.This game also need a sample algorithm for moving girl .&lt;br /&gt;&lt;br /&gt;You can download game for playing from this link&lt;br /&gt;&lt;a href="http://davood.abbaspour.googlepages.com/testmove.jar"&gt;download&lt;/a&gt;&lt;br /&gt;(sorry for some problem in exit and speed it was my first game)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-9165435635596659392?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YouA58idCkUQg6ypMp6ytQNb2Bc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YouA58idCkUQg6ypMp6ytQNb2Bc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YouA58idCkUQg6ypMp6ytQNb2Bc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YouA58idCkUQg6ypMp6ytQNb2Bc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/3K_SoKpPX0A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/9165435635596659392/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=9165435635596659392" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/9165435635596659392?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/9165435635596659392?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/3K_SoKpPX0A/steps-in-making-real-3d-game.html" title="steps in making real 3d game" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/09/steps-in-making-real-3d-game.html</feedburner:origLink><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="enclosure" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~5/eoeQSaV2ePc/video-play.mp4" length="0" type="video/mp4" /><feedburner:origEnclosureLink>http://www.blogger.com/video-play.mp4?contentId=ba7ff532669412c3&amp;type=video%2Fmp4</feedburner:origEnclosureLink></entry><entry gd:etag="W/&quot;A0AHSHkyfyp7ImA9WxdUGUw.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-8224160630850824199</id><published>2008-08-04T17:03:00.007+04:30</published><updated>2008-08-05T11:32:19.797+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-05T11:32:19.797+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><category scheme="http://www.blogger.com/atom/ns#" term="image" /><category scheme="http://www.blogger.com/atom/ns#" term="download" /><category scheme="http://www.blogger.com/atom/ns#" term="text" /><category scheme="http://www.blogger.com/atom/ns#" term="m3g" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>Advanced programming II: images and text</title><content type="html">&lt;p class="MsoNormal"&gt;Advanced programming II: images and text&lt;/p&gt; &lt;p class="MsoNormal"&gt;Now we want focusing on making better game. For better game  we need some text for showing score and some images for maps and other thing and  at last a better graphics for&lt;span style=""&gt;  &lt;/span&gt;getting  your game more reality .&lt;/p&gt; &lt;p class="MsoNormal"&gt;In design of&lt;span style=""&gt;  &lt;/span&gt;3d  models&lt;span style=""&gt;   &lt;/span&gt;you need getting &lt;span style=""&gt; &lt;/span&gt;texture&lt;span style=""&gt;   &lt;/span&gt;from building and objects that you want to use in game. Some texture  maybe force to distortion your model&lt;span style=""&gt;  &lt;/span&gt;and  even maybe you can’t see anything. And of course more high graphics texture and  models may not be seen well in some old phone. For example when you download  this game for p990 &lt;span style=""&gt; &lt;/span&gt;sonny erricson&lt;span style=""&gt;   &lt;/span&gt;you see a picture like it&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_WyycEzihFOU/SJf6Aqvu5AI/AAAAAAAAAEk/owD2rhNGeNA/s1600-h/gameinp990.png"&gt;&lt;img style="cursor: pointer;" src="http://bp1.blogger.com/_WyycEzihFOU/SJf6Aqvu5AI/AAAAAAAAAEk/owD2rhNGeNA/s200/gameinp990.png" alt="" id="BLOGGER_PHOTO_ID_5230924381595558914" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;But when you want to download it for k750 from same company  (sonny ericsson) you will see&lt;span style=""&gt;  &lt;/span&gt;some  graphics&lt;span style=""&gt;  &lt;/span&gt;problem &lt;span style=""&gt; &lt;/span&gt;and maybe even you can’t see some models in  older phones.&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color: rgb(112, 48, 160);"&gt;Add text and images and some  functions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;You can add text and images to your games &lt;span style=""&gt; &lt;/span&gt;with Graphics class and bind Graphics3D to it  .You should add text and&lt;span style=""&gt;  &lt;/span&gt;images to  graphics after bind it to Graphics3D . it is an example code&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;g3d.bindTarget(graphics,true,Graphics3D.ANTIALIAS|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;&lt;span style=""&gt;                             &lt;/span&gt;Graphics3D.TRUE_COLOR);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;&lt;span style=""&gt;                       &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;&lt;span style=""&gt;                             &lt;/span&gt;g3d.render(_world);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;&lt;span style=""&gt;                           &lt;/span&gt;g3d.releaseTarget();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;         &lt;/span&gt;graphics.setColor(0x990000);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;&lt;span style=""&gt;              &lt;/span&gt;graphics.setFont(Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN,  Font.SIZE_LARGE));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;&lt;span style=""&gt;                         &lt;/span&gt;graphics.drawString("corner", 90, 150,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color:red;"&gt;Graphics.TOP |  Graphics.RIGHT);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_WyycEzihFOU/SJf6YRohTYI/AAAAAAAAAEs/4f7EgFxhJFA/s1600-h/gamewithtext.png"&gt;&lt;img style="cursor: pointer;" src="http://bp3.blogger.com/_WyycEzihFOU/SJf6YRohTYI/AAAAAAAAAEs/4f7EgFxhJFA/s200/gamewithtext.png" alt="" id="BLOGGER_PHOTO_ID_5230924787171282306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;   &lt;/span&gt;In first code we bind target graphics(from Graphics class) to g3d(from  Graphics3D)&lt;span style=""&gt;  &lt;/span&gt;and in second line we render  my world class .&lt;span style="color: red;"&gt; &lt;/span&gt;After release your g3d object  you can change your graphics object and add image or add text .For&lt;span style=""&gt;  &lt;/span&gt;add text &lt;span style=""&gt; &lt;/span&gt;I use&lt;span style=""&gt;   &lt;/span&gt;three line for set color and font and text.&lt;/p&gt; &lt;p class="MsoNormal"&gt;Add images is like that and only you need add function  drawimage and image object to your code.This image can be&lt;span style=""&gt;  &lt;/span&gt;maps or character picture or other thing.You  can add some function also to your program for controlling move of cameras or  objects in your game.I add a sample code for this porpose.&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color: red;"&gt;if(y&gt;-20)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;Y=-20;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;With this code camera will be stopped if&lt;span style=""&gt;  &lt;/span&gt;it reached to left&lt;span style=""&gt;  &lt;/span&gt;wall.In 3ds max wall y position was 20 and  &lt;/p&gt; &lt;p class="MsoNormal"&gt;Camera&lt;span style=""&gt;   &lt;/span&gt;will be moved  to Y &lt;span style=""&gt; &lt;/span&gt;with this code&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;camera.setTranslation(X, Y, Z);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;You can see more in  this project&lt;/p&gt;&lt;br /&gt;&lt;a href="http://www.filefactory.com/file/5d3a7b/n/game1_zip"&gt;download project&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-8224160630850824199?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kkS9_EtMDCZXbH4hZTmcxy1lrdo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kkS9_EtMDCZXbH4hZTmcxy1lrdo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kkS9_EtMDCZXbH4hZTmcxy1lrdo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kkS9_EtMDCZXbH4hZTmcxy1lrdo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/HWXkIdFjBUM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/8224160630850824199/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=8224160630850824199" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8224160630850824199?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8224160630850824199?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/HWXkIdFjBUM/advanced-programming-ii-images-and-text.html" title="Advanced programming II: images and text" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp1.blogger.com/_WyycEzihFOU/SJf6Aqvu5AI/AAAAAAAAAEk/owD2rhNGeNA/s72-c/gameinp990.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/08/advanced-programming-ii-images-and-text.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMBQXs6eSp7ImA9WxdVGEQ.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-8230131254826304519</id><published>2008-07-24T12:38:00.007+04:30</published><updated>2008-07-24T14:27:30.511+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-24T14:27:30.511+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="download" /><category scheme="http://www.blogger.com/atom/ns#" term="m3g" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><category scheme="http://www.blogger.com/atom/ns#" term="killer" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>Using pointer: download A sample pointer enabled killer game</title><content type="html">&lt;span xmlns=""&gt;&lt;p&gt;I add a sample project for more discuss in light and cameras. it is only a  camera moving in between walls(textures are from internet).I'll  add gun and other effects  to it in next time.You can also edit 3d model in way you want.  This is my model in 3 direction:top,camera,left and perspective&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_WyycEzihFOU/SIg46fruPtI/AAAAAAAAAEM/OXXDrg46hKI/s1600-h/picture2in3dsmax.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_WyycEzihFOU/SIg46fruPtI/AAAAAAAAAEM/OXXDrg46hKI/s200/picture2in3dsmax.png" alt="" id="BLOGGER_PHOTO_ID_5226489945151913682" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This model have a camera and 3 light and you should  draw your model on base of your camera(upper right picture) and if you want use another cameras also you should configure your model on base of them. In this model camera id is 14 and for loading  camera in program  this code is enough&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;Camera camera;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;Camera=(Camera)(Myworld.find(14));&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Camera position in this model is your person  eye.You  can move camera in every place with this code&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;m.setTranslation(x,y,z);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;For example you can move it with pointer with this code&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;  protected  void pointerPressed(int x, int y) {&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;          m.setTranslation(x,y,z);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;    }&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Pointerpress is a function that invoked when  a pointer pressed and x,y is pointer location in screen .You can say that when pointer pressed (x,y) location in screen camera can   move.you can add image and  text to game for this purpose also. In next post i add text and image  to this project  for getting better result from this project.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://davood.abbaspour.googlepages.com/pointer.rar"&gt;Download project&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-8230131254826304519?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Cjo0EsKcytq6im4vcSvt47beok8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Cjo0EsKcytq6im4vcSvt47beok8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Cjo0EsKcytq6im4vcSvt47beok8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Cjo0EsKcytq6im4vcSvt47beok8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/I9KjlCv2TlY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/8230131254826304519/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=8230131254826304519" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8230131254826304519?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/8230131254826304519?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/I9KjlCv2TlY/using-pointer-download-sample-pointer_24.html" title="Using pointer: download A sample pointer enabled killer game" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp1.blogger.com/_WyycEzihFOU/SIg46fruPtI/AAAAAAAAAEM/OXXDrg46hKI/s72-c/picture2in3dsmax.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/07/using-pointer-download-sample-pointer_24.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAHSX45fCp7ImA9WxdVEk0.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-5917869735470601849</id><published>2008-07-16T14:40:00.004+04:30</published><updated>2008-07-16T14:52:18.024+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-16T14:52:18.024+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="camera" /><category scheme="http://www.blogger.com/atom/ns#" term="m3g" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="advanced" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><category scheme="http://www.blogger.com/atom/ns#" term="light" /><title>Advanced programming I: lights and cameras</title><content type="html">1.your 3d model&lt;br /&gt;&lt;span xmlns=""&gt;&lt;p&gt;In every game  you should select your lights and cameras carefully and move them on base of your objects moves specially in 3d games.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span xmlns=""&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_WyycEzihFOU/SH3JnnwqkjI/AAAAAAAAADE/S8A9L5riRh8/s1600-h/gamedesign3dsmax.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_WyycEzihFOU/SH3JnnwqkjI/AAAAAAAAADE/S8A9L5riRh8/s320/gamedesign3dsmax.png" alt="" id="BLOGGER_PHOTO_ID_5223552825344823858" border="0" /&gt;&lt;/a&gt;   &lt;/p&gt;&lt;/span&gt;   &lt;/p&gt;&lt;p&gt;In this 3d model you see three light( free spot) and one camera and panel and ball(sphere).this is  a sample game for moving a ball in panel.For using it you should export in m3g After do that maybe you see  a view such this in a m3g player&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_WyycEzihFOU/SH3Kgf5zx-I/AAAAAAAAADc/r6oq_uS-spE/s1600-h/m3gpictures.png"&gt;&lt;img style="cursor: pointer;" src="http://bp3.blogger.com/_WyycEzihFOU/SH3Kgf5zx-I/AAAAAAAAADc/r6oq_uS-spE/s320/m3gpictures.png" alt="" id="BLOGGER_PHOTO_ID_5223553802488236002" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;   &lt;/p&gt;&lt;p style="text-align: justify;"&gt;As you see you may lost some graphics on base of your m3g exporter and your 3d software now you are ready for moving your lights and cameras.&lt;br /&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;2.moving your lights and cameras&lt;br /&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;Java have two class for moving light and cameras in m3g files with name Light and Camera.&lt;br /&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;For moving light and cameras you can use this codes&lt;br /&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;Light l=(Light)(Myworld.find(lighted);//getting your desired light&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;l. setTranslation(x,yz);//move it to x,y,z location&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;Camera m;m=(Camera)(Myworld.find(cameraid);//get your desired  camera from your world&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;m.setTranslation(x,y,z);// move it to x,y ,z location&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;now you can run your game in netbeans emulator (see  picture)but you should now that your game maybe presented in mobiles differently on base of their graphics.&lt;br /&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_WyycEzihFOU/SH3K0PiWGsI/AAAAAAAAADk/qlTgJfuTMaE/s1600-h/picture+in+emulator.png"&gt;&lt;img style="cursor: pointer;" src="http://bp1.blogger.com/_WyycEzihFOU/SH3K0PiWGsI/AAAAAAAAADk/qlTgJfuTMaE/s320/picture+in+emulator.png" alt="" id="BLOGGER_PHOTO_ID_5223554141692238530" border="0" /&gt;&lt;/a&gt;   &lt;/p&gt;&lt;p&gt;You can send your comments about this post .I'll be glad for them.&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-5917869735470601849?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/3-0zKEiId0O3dTKhclhpjLfHvb8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3-0zKEiId0O3dTKhclhpjLfHvb8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/3-0zKEiId0O3dTKhclhpjLfHvb8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3-0zKEiId0O3dTKhclhpjLfHvb8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/g6wv74tGSzE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/5917869735470601849/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=5917869735470601849" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/5917869735470601849?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/5917869735470601849?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/g6wv74tGSzE/advanced-programming-i-lights-and.html" title="Advanced programming I: lights and cameras" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp3.blogger.com/_WyycEzihFOU/SH3JnnwqkjI/AAAAAAAAADE/S8A9L5riRh8/s72-c/gamedesign3dsmax.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/07/advanced-programming-i-lights-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QAQX0-eip7ImA9WxdWGU4.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-5618488805707278909</id><published>2008-07-09T12:07:00.003+04:30</published><updated>2008-07-13T11:12:20.352+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-13T11:12:20.352+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><category scheme="http://www.blogger.com/atom/ns#" term="download" /><category scheme="http://www.blogger.com/atom/ns#" term="develop" /><category scheme="http://www.blogger.com/atom/ns#" term="m3g" /><category scheme="http://www.blogger.com/atom/ns#" term="3d" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>Download and develop your 3d java game mobile</title><content type="html">&lt;span xmlns=""&gt;&lt;p&gt;For starting in  programming with netbeans first I upload  a sample java mobile game  project that you can download it and run it or change it and even  make a new game.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3d model  making&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1-for starting programming first you should have 3d model maker .this software should can export models  to m3g.I using 3ds max 2008 but you can also use any 3d software  like &lt;a href="http://www.blender.org/download/get-blender/"&gt;blender&lt;/a&gt;  and  a  &lt;a href="http://www.nelson-games.de/bl2m3g/source/m3g_export.py"&gt;m3g exporter&lt;/a&gt; with it.Blender and  m3g exporter are free.Maya is another good software for it but is not free.Every box and sphere you create in this software ,have an id in m3g that give you access  to them and You can rotate and move this object .Graphics of this model maybe have some problem in&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Some phones on base of their graphics.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Netbeans  project information&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. After make your 3d model and export it now you are ready for programming .you should export your 3d model to subfolder "src\res"  from  your project  folder .&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My  game engine is panel1 class  and game canvas  is "Canvas" and middle is hellomiddlet. 3ds model is in res folder (game1.max)with m3g file and you can change this model in way you want.your project name in netbeans is your project folder(unzip file after download) and  you jar file is in dist folder.You can run it from mobile .In next post  I'll explain my  project  functions and cods and models.&lt;br /&gt;&lt;/p&gt;&lt;p&gt; About functions and code&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Panel1 class  have two functions setmeshpositions and movemesh.setmeshpositions (15,35,35,35) means that your object with id 15 is positioned in  3 dimension space in xyz coordinate(x=35,y=35,z=35)  and movemesh(15,"up",5)  moving your object with id 15 to up direction   in 5 unit.For example  in this code&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt; int state = getKeyStates();&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;                        &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;            if( ( state &amp;amp; DOWN_PRESSED ) != 0 ){&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;                    &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;                            panel.movemesh(15, "up", 5);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;state value is 1 when your using a key(in otherwise is 0)  or no and DOWN_PRESS value say that  you pressed down or&lt;br /&gt;&lt;/p&gt;&lt;p&gt;no and if two of them are true mesh move up 5 unit in up direction.you can change this code with replace up with down or like that.in next post I'll write some more about this codes and functions.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://davood.abbaspour.googlepages.com/MobileApplication1.zip"&gt;Download project now &lt;/a&gt;&lt;br /&gt;  &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-5618488805707278909?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7GvU4Z-U97_68A-m-t93HyF_DuQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7GvU4Z-U97_68A-m-t93HyF_DuQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7GvU4Z-U97_68A-m-t93HyF_DuQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7GvU4Z-U97_68A-m-t93HyF_DuQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/voSHlErVCvE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/5618488805707278909/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=5618488805707278909" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/5618488805707278909?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/5618488805707278909?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/voSHlErVCvE/download-and-develop-your-3d-java-game.html" title="Download and develop your 3d java game mobile" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/07/download-and-develop-your-3d-java-game.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AHQn0zcSp7ImA9WxdXGUw.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-3640368695600735376</id><published>2008-07-01T16:59:00.002+04:30</published><updated>2008-07-01T17:05:33.389+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-01T17:05:33.389+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><category scheme="http://www.blogger.com/atom/ns#" term="gamecanvas" /><category scheme="http://www.blogger.com/atom/ns#" term="middlet" /><title>About middlet and gamecanvas</title><content type="html">&lt;span xmlns=""&gt;&lt;p&gt;&lt;span style="color:red;"&gt;Midlet&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;When you start to programming with java for mobile ,first class you build  is midlet .Midlet is an interface between you and mobile. In netbeans you can easily add midlet automatically or with right click in project and in new menu click in visual midlet. In visual midlet you have a form by default and actions belong to it and in graphical interface you can easily add text or other thing to form but if you dont wnat to have form in your program you need only midlet.This class have functions like startApp,destoryApp,startMidlet and like .This function say's what you want to do when midlet started or your program started and etc.In middle you can also switch display of your program between graphics and forms that you make or add your command to your program. It is better that  you have this class and game canvas and game engine in different file. It give your program better readability and of course better performance.You can use your  game engine in other programs and your game canvas in other midlet and many other features.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Your  game engine can also contains more class in base you programs.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;__________________________________________________________________________________&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:red;"&gt;Gamecanvas&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;In mobile programs you have also a gamecanvas (midpcanvas) class.This class contain function for pressing or dragging or clicking keys or pointers and you can add your functions to them.it is an example&lt;br /&gt;&lt;/p&gt;&lt;p&gt;protected  void keyPressed(int keyCode) {&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);font-family:Courier New;font-size:10;"  &gt;int action = getGameAction( key );&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;switch(action)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;Case  DOWN:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;MOVEDOWN();&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;.&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(84, 141, 212);"&gt;    }&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;DOWN,UP,RIGHT,LEFT are predefined value's  in  gamecanvas class and their value is same with  returning  value from &lt;span style="color: rgb(84, 141, 212);"&gt;getGameAction(key)  &lt;/span&gt;when you click down ,up,right  and left key in mobile.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A game canvas also has paint function .With paint and repaint  function  you  can  draw your  graphic world(you'll  learn about it in following  posts) .You can change your  graphics world  everywhere  and repaint it everywhere also.But you should know  more repaint in bad place in class  forced  to some problem in your game graphics .&lt;br /&gt;&lt;/p&gt;&lt;p&gt;With this primary information you are almost  ready for start  programming .&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-3640368695600735376?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UADJ8lleklpyfU4eSYscScwc3Q4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UADJ8lleklpyfU4eSYscScwc3Q4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UADJ8lleklpyfU4eSYscScwc3Q4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UADJ8lleklpyfU4eSYscScwc3Q4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/kXRbghWQEqI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/3640368695600735376/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=3640368695600735376" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/3640368695600735376?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/3640368695600735376?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/kXRbghWQEqI/about-middlet-and-gamecanvas.html" title="About middlet and gamecanvas" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/07/about-middlet-and-gamecanvas.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYMRX04fip7ImA9WxdXFUo.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-1746987240223553658</id><published>2008-06-27T16:00:00.002+04:30</published><updated>2008-06-27T17:06:24.336+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-27T17:06:24.336+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><category scheme="http://www.blogger.com/atom/ns#" term="netbeans" /><category scheme="http://www.blogger.com/atom/ns#" term="midp" /><category scheme="http://www.blogger.com/atom/ns#" term="cldc" /><category scheme="http://www.blogger.com/atom/ns#" term="cdc" /><title>mobile programming  basics</title><content type="html">We have two famous java mobile project platform cdc and midp.Cdc is  in base of uiq or nokia symbian  or like that and we not focused in it now.Midp when combined whith cldc(is not same whith cdc)  provide java standart runtime envirument &lt;a href="http://java.sun.com/products/midp/overview.html"&gt;see here for more info&lt;/a&gt; and&lt;br /&gt;cldc defines the base set of application programming interfaces and a virtual machine for resource-constrained devices like mobile phones, pagers, and mainstream personal digital assistants and mainstream personal digital assistants (PDAs).You aren't forced to know this info and only you&lt;br /&gt;need to know is that you should select best platform for you and your ide give you options for this porpose.For example in netbeans ide  6 you select menu file-&gt;new project and you see a dialog.In this dialog you select mobility and in project segment if you want programming in midp you can  select midp and if you want programming in cdc you can select cdc in this segment.When you select midp you click in next and select your project name.If you want add middlet yourself you should remove tick from create hellomiddlet and now you should select cldc and midp version and device.&lt;br /&gt;It is better that select default device because it is suitable for many device and other device are only availabe in some of device.Now you can start to programming&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-1746987240223553658?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sQ_fvU-L1pYsjEJwFYzVMlrnXHw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sQ_fvU-L1pYsjEJwFYzVMlrnXHw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sQ_fvU-L1pYsjEJwFYzVMlrnXHw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sQ_fvU-L1pYsjEJwFYzVMlrnXHw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/jmnOliIBtcA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/1746987240223553658/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=1746987240223553658" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/1746987240223553658?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/1746987240223553658?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/jmnOliIBtcA/mobile-programming-basics.html" title="mobile programming  basics" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/06/mobile-programming-basics.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4FQ3o7fyp7ImA9WxdQGUk.&quot;"><id>tag:blogger.com,1999:blog-7795941704204655685.post-7425694415531653056</id><published>2008-06-20T12:13:00.003+04:30</published><updated>2008-06-20T12:31:52.407+04:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-20T12:31:52.407+04:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="mobile" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><category scheme="http://www.blogger.com/atom/ns#" term="notice" /><category scheme="http://www.blogger.com/atom/ns#" term="game" /><title>java mobile game programming</title><content type="html">nowadays  mobile game's are  popular in  world.why?Because  mobile user's are increasing and ofcourse  their user are different. from child's to young , from businessman's  to  unemployed people's  .But everyone need  game  and music's  for some  funs  in their tiring times specially young people's. In past time's game are  limited in mobiles.Because  Mobiles have limited memory and graphics but todays mobile have more memory and graphics and we can make better game .New game have 3d model's and high quality sound's   that give user real world .Our focus  in this blog  is in 3d  java game programming  in mobile and how do it.I'm waiting  for your comment about this blog and which  content you need for mobile programming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7795941704204655685-7425694415531653056?l=dahcomputer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/k-pLfdYNKKOD0n37Tx0cihZkDZw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/k-pLfdYNKKOD0n37Tx0cihZkDZw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/k-pLfdYNKKOD0n37Tx0cihZkDZw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/k-pLfdYNKKOD0n37Tx0cihZkDZw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/3dAnimationAndGame/~4/lP_6g67I8gs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dahcomputer.blogspot.com/feeds/7425694415531653056/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7795941704204655685&amp;postID=7425694415531653056" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/7425694415531653056?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7795941704204655685/posts/default/7425694415531653056?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/3dAnimationAndGame/~3/lP_6g67I8gs/java-mobile-game-programming.html" title="java mobile game programming" /><author><name>dahstar</name><uri>http://www.blogger.com/profile/16388192517492775120</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://1.bp.blogspot.com/-7rOy3kzD6NA/TmB7eSPB11I/AAAAAAAAAn0/HUyBCEgfFkY/s220/%25D8%25B9%25DA%25A9%25D8%25B3%25DB%25B0%25DB%25B0%25DB%25B4%25DB%25B0.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://dahcomputer.blogspot.com/2008/06/java-mobile-game-programming.html</feedburner:origLink></entry></feed>

