Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  LWJGL concept question  (Read 795 times)
0 Members and 1 Guest are viewing this topic.
Offline kieve

JGO n00b
*

Posts: 18


I am Awesome.


« on: 2011-03-17 22:09:55 »

Edit: Never mind, I got this done, no problem.

Hey, I have got a basic concept question. I'm currently working on replicating the famous 3x3 puzzle cube (brand name Rubik's Cube) in a 3D java environment using LWJGL. I have created and can render all the pieces in their starting position. My question is if anyone has any recommendation on how i should have the cubies move around the cube. I have been thinking of using one of two methods. The first is having the rendered cubies move around the core when a layer is turned and keeping track of the relative position and orientation. The second is to simply move where I am drawing the colors based on a layer movement. I would really appreciate the help of a more experienced programmer.

import universe.characteristics.Awesome
class kieve extends Awesome{
    public kieve(){
        beAwesome();
    }
    public void beAwesome(){
        while(true)awesomeness++;
    }
}
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.093 seconds with 20 queries.