Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Johnston

#1
Support / Re: How to create an Applet
November 15, 2011, 07:53:00 AM
U can use Eclipse as IDE it's a good IDE and u can found more than java editor. u can also write the java applet in a bloc note and name the file the same name as the class in(extension .java)
and then compile this file using javac to have the compiled (extension .class)
which u can run using java program
exp:
suppose the name of the first file is myclass.java
u can in command line in the fiolder containing this file write :
javac myclass.java
u will have myclass.class
u can use java to run it if it' defined as application (using main method):
java myclass.class
if ur file is an applet (using paint method) :
u will create a html page that contains the class created by javac using the applet tag as bellow :

<APPLET code="myclass.class" width="500" height="200">
myfirst applet
</APPLET>

here bellow an applet structure:


import java.applet.*;
import java.awt.*;

public class myclass extends Applet
{
public void paint(Graphics g)
{
g.drawString("Hi to all !!!", 30, 30);
}
}
#2
Projects / Re: HTC Live Wallpaper 3D
November 15, 2011, 07:50:58 AM
I used it on my EVO 4G, and really liked it (My experience is the Kittehface live wallpapers are usually pretty cool). But it never would go to landscape mode on the 4G, either. As you say, it was in landscape during setting options. I've run it on my 3D, but since I didn't know it was supposed to go to landscape mode, I didn't think there was a problem.

My suspicion is that the statement on the website may be mistaken, perhaps written for an early development version and left in accidentally when landscape didn't work out? Just a guess. In any case, I've never seen it run landscape mode during regular operation on either version of EVO.
#3
Projects / Re: DevKit / Level Editor
November 15, 2011, 07:49:21 AM
I finally got around to downloading the Spark editor, and it's amazing!!  I'm starting to realize how hard it is to get the little bugs out that make things look funny sometimes, but there is so much I was able to do just after playing with it for an hour. 

First map, made a room, figured out lights and props, how to move, resize and rotate stuff.. then I built a long very dark corridor and then placed a very tall square room at the end which I then tried to build in a slightly more artistic fashion.

Does anyone know if it's possible to turn off the wireframes of the lights temporarily?  They really break the mood of every scene I try to create.
I'd love to see anything anyone has come up with playing around on their own.  The *.level files are small enough that they're easy to share via email, etc.