Java-Gaming.org Hi !
 Featured games (91) games approved by the League of Dukes Games in Showcase (763) Games in Android Showcase (229) games submitted by our members Games in WIP (852) games currently in development
 News: Read the Java Gaming Resources, or peek at the official Java tutorials
 Show Posts Pages: [1]
 1 Game Development / Game Mechanics / Re: Random Direction on: 2012-03-07 15:30:03 Quote from: Roquen on 2012-03-07 13:53:28Repeat to yourself: radians are your friend, degrees are for artist....Degrees are for openGL ;-)Quote from: StumpyStrust on 2012-03-07 14:17:09Thank you so much exactly what I was looking for...well I knew I wanted to find the radians of the angle with sin/cos but could not remember what to do with them. How much slower is this compared to just giving and x and y speed? Is the sin/cos that costly? I know you are not doing it on every move update but still. If your computer is over 30 years old or if you have millions of objects, it may be costly. Otherwise you will not notice any slowdown.
2  Game Development / Newbie & Debugging Questions / Re: Need help with quanterion (cube rotate) on: 2012-03-05 06:04:44
Try this.
 1  2  3  4  5 `         change = new Quaternion(array[i], array[i+1], array[i+2], 1.0f);         Quaternion.mul(roll, change, change);         array[i] = change.x / change.w;         array[i+1] = change.y / change.w;         array[i+2] = change.z / change.w;`

(http://en.wikipedia.org/wiki/Homogeneous_coordinates)
 3 Game Development / Newbie & Debugging Questions / Re: Need help with quanterion (cube rotate) on: 2012-03-04 21:31:54 It looks like you are creating wrong quaternion in roll().
 4 Games Center / WIP games, tools & toy projects / Re: Island Forge (Open Beta, indie Java MMORPG) on: 2012-02-28 17:22:10 Can you please change this part of TOS?QuoteTo establish an Account, you must be a resident of the United States and at least 18 years old.Not that it's going to stop me from playing of course , but you may lose some other players because of this.
 5 Game Development / Game Mechanics / Re: Chunks and Collisions on: 2012-02-23 06:51:45 When x is negative, x%320 will be negative too. Because of this, when -320 < x < 320, chunkX = 0, so this chunk is 640 blocks wide. Is it intentional?
 Pages: [1]
 EgonOlsen (525 views) 2018-06-10 19:43:48 EgonOlsen (629 views) 2018-06-10 19:43:44 EgonOlsen (426 views) 2018-06-10 19:43:20 DesertCoockie (772 views) 2018-05-13 18:23:11 nelsongames (1019 views) 2018-04-24 18:15:36 nelsongames (1001 views) 2018-04-24 18:14:32 ivj94 (1587 views) 2018-03-24 14:47:39 ivj94 (559 views) 2018-03-24 14:46:31 ivj94 (1369 views) 2018-03-24 14:43:53 Solater (564 views) 2018-03-17 05:04:08
 orange451 17x SkyAphid 16x Spasi 10x beeaware 8x dime26 7x nsigma 7x lacombej 7x Mad Hatter 5x philfrei 5x Sickan 4x LeoOno 4x KaiHH 4x FabulousFellini 4x ral0r2 4x SHC 3x princec 3x
 Java Gaming Resourcesby philfrei2017-12-05 19:38:37Java Gaming Resourcesby philfrei2017-12-05 19:37:39Java Gaming Resourcesby philfrei2017-12-05 19:36:10Java Gaming Resourcesby philfrei2017-12-05 19:33:10List of Learning Resourcesby elect2017-03-13 14:05:44List of Learning Resourcesby elect2017-03-13 14:04:45SF/X Librariesby philfrei2017-03-02 08:45:19SF/X Librariesby philfrei2017-03-02 08:44:05
 java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org