Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (540)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Java 2D / Re: curves problem on: 2003-11-10 05:32:20
Thanks for your help.your answer is nice,exactly what i've  always wanted.thank you.
2  Java Game APIs & Engines / Java 2D / curves problem on: 2003-11-10 00:37:53
QuadCurves2D can draw a curve that use three points ,but the control point doesn't track the curve ,how can i do? say have three points , how to draw a curve that track thest points?
3  Java Game APIs & Engines / Java 3D / Re: Popupmenu on: 2003-10-22 00:37:08
i replace MouseListener by behavior today.and everything is OK now. i should have thought of heavyweight component,but my english is so bad that it's an impenetrable difficulty.
4  Java Game APIs & Engines / Java 3D / Popupmenu on: 2003-10-21 00:47:43
hi,i want to use Popupmenu in j3d,so i write a test code,it compliled and run without any error informations.but the menu didn't appear even i right-clicks in every area.is anything wrong?could anybody help me?

import com.sun.j3d.utils.applet.MainFrame;
import com.sun.j3d.utils.universe.*;
import javax.media.j3d.*;
import java.awt.*;
import java.awt.event.*;

public class Test extends java.applet.Applet implements MouseListener{

   private Canvas3D canvas;

   private PopupMenu popupMenu = new PopupMenu();
   private MenuItem item1 = new MenuItem("item1");

   public void init(){
           setLayout(new BorderLayout());

         GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
       canvas=new Canvas3D(config);
           add("Center",canvas);

     //
           popupMenu.add(item1);
         canvas.add(popupMenu);
   }

     public void mouseClicked(MouseEvent e){

       //System.out.println("dhgssjhsg");
         if(e.getButton() == MouseEvent.BUTTON3){
           popupMenu.show(canvas,e.getX(),e.getY());
           }
     }

   public void mousePressed(MouseEvent e){
     }

   public void mouseReleased(MouseEvent e){
     }

   public void mouseEntered(MouseEvent e){
     }

   public void mouseExited(MouseEvent e){
     }

     public static void main(String[] args)
     {
           new MainFrame(new Test(),400,400);
     }
} Huh
5  Java Game APIs & Engines / Java 3D / how to get the viewplatform's location? on: 2003-10-10 01:52:56

i do like this:
  ViewingPlatform vp = u.getViewingPlatform();
  vp.setCapability(ViewingPlatform.ALLOW_LOCAL_TO_VWORLD_READ);
  Vector3d vpVect=new Vector3d();
  Transform3D vpTrans=new Transform3D();
  vp.getLocalToVworld(vpTrans);
  vpTrans.get(vpVect);

it can be compiled,but has error information at runtime:

javax.media.j3d.RestrictedAccessException: Cannot modify capability bits on a li
ve or compiled object
       at javax.media.j3d.SceneGraphObject.setCapability(SceneGraphObject.java:
101)
       at ViewChangBehavior.processStimulus(ViewChangBehavior.java:44)
       at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:172)
       at javax.media.j3d.J3dThread.run(J3dThread.java:250)
6  Java Game APIs & Engines / Java 3D / Re: is it useful to remove branchgroup at runtime? on: 2003-10-08 05:40:39
by the way,it's better to use detach BG than remove BG?is it true?why?
7  Java Game APIs & Engines / Java 3D / is it useful to remove branchgroup at runtime? on: 2003-10-08 00:52:57
hi,
i want to add branchgroups in the rendered scene when an active ViewPlatform intersects the specified boundary,at the same time,i maybe remove some branchgroups that it is no use,but i don't know if it is useful because java seems doesn't release any memory.so if i want to realease  some memory when i remove some branchgroups ,is there any new methord? could anybody tell me? thx.
8  Java Game APIs & Engines / Java 3D / Re: make tree in j3d? on: 2003-09-28 23:06:31
thanks,problem solved,because i didn't use the image of transparent pixel.
9  Java Game APIs & Engines / Java 3D / 3DS loader on: 2003-09-28 07:55:48
hi,
i need some 3DS loader, but i cant find in the j3d api,could anybody tell me where they are ?
10  Java Game APIs & Engines / Java 3D / make tree in j3d? on: 2003-09-24 07:17:16
i create two crossed quadrangles,and add tree textures,
but the textures's white area is not tranparency,how can i solve it?
11  Java Game APIs & Engines / Java 3D / how can i make the mouse pointer invisible in j3d? on: 2003-09-12 07:03:48
Hi,
i'm new to java3d and java,i want to control my viewplatform by mousemove event(like general game,i need to chang the line of slight with mousemove),i have already done some of these things,but how can i make the mouse pointer invisible?

Could anyone tell me how to solve it? thanks.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Mr.CodeIt (20 views)
2014-12-23 03:34:11

rwatson462 (52 views)
2014-12-15 09:26:44

Mr.CodeIt (45 views)
2014-12-14 19:50:38

BurntPizza (81 views)
2014-12-09 22:41:13

BurntPizza (110 views)
2014-12-08 04:46:31

JscottyBieshaar (78 views)
2014-12-05 12:39:02

SHC (89 views)
2014-12-03 16:27:13

CopyableCougar4 (93 views)
2014-11-29 21:32:03

toopeicgaming1999 (155 views)
2014-11-26 15:22:04

toopeicgaming1999 (150 views)
2014-11-26 15:20:36
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!