the basic html codes are <applet code="<filename>.class" width = 400 height = 400 ></applet>i have tried on applets and it works but i dont know why it does not when i am using JApplet with swing. i also have placed the html file in the classes directory. when i open IE to ...
I am working as a programmer with J2EE technology. Also I am trying to learn designing for last couple for months. I had gone through some material regarding UML/MVC. I tried to design a small module in rational rose. But I have problem how to proceed. I need some material which explains how to ...
160 byte By
qwwertya at 2007-9-28 7:02:11
Hello thereI am wondering what is the best language for computer gamesAlso what language are the top class games like fifa2003 developed in
254 byte By
mibuyta at 2007-9-28 7:04:07
Is there any good tutorial out there that teach you how to write games on mobile phones like nokia or siemens. I mean colored games. Please help. I am trying to find and having a hard time. Please Help.:DRegards,Chua Wen Ching
How do game developers get there pc games to work on a system with nohard disk/operating system. Im learning to program in directX, whichuses c++ and you need to have directX to run directX programed games correct? Even if you program a game in java, you'd need the interpetered installed on ...
I hear everyone saying that C++ is better to program because of the speed against java. But i've played some games made by people from this site, and there not that slow. How slow is java?PS. I also heard that there is a new game made by sun people, I think its an action adventure, online rpg, ...
286 byte By
hommera at 2007-9-28 7:05:20
Hello All!My problem: A "publisher" which has a queue.Distributed objects (subscibers) which need to access this queue and obtain the 1st element in the queue.Do you think the Publish Subscribe design pattern is appropriate for this ?Cheers :)
278 byte By
ptom98a at 2007-9-28 7:05:43
Is there away of retrieving pixel data from an image without having to store in it array using pixelgrabber?i need to constantly check the color of a certain pixel on an image (which is constantly being updated) and using pixelgrabber slows the whole provess down.
I am performing a complex search and get a List of Object. Now, the problem is I have to sort this list in three levels. That is, If I have Object like this public class A { private String id ; // unique for every record private String attr1; private String attr2; private String attr3; private ...
Hi! I'm trying to ask the size of area of game with OptionDialog. Then thiscode should open the game frame. But the OptionDialog doesn't reactto clicking. (doesn't close). Could you find the errorpoint?I have trying to find it many days. Could it be probably so that the main-method can't ...
131 byte By
strassaa at 2007-9-28 7:10:35
I have some series of samples of a signal, I would like to estimate somehow the dominant frequency of the signal. tnx
Hi i was wondering if anyone could help me, i've been reading about uml and oo design with java for the last 4 months but cant seem to find many examples to work on.i've bought a book on uml, and got a load of slide shows off the web which explain the principles of uml and object orientated ...
I want to design a matching game or commonly known as a concentration game. Can someone help me find me a site with sample concentration code? so I have an idea on how to implement.Thanks,Gant
Hi all,I have been programming java for about a year now and i have a fairly good understanding. But when it comes to RPG games i am so lost.Really the main question i need to ask is how do i make the "background move". Like in all the other RPG games, like i am walking and the back ground ...
Hi thereIs there a way to read the session-timeout value from the web.xml?<session-config><session-timeout>30</session-timeout></session-config>-thx
400 byte By
jdupreza at 2007-9-28 7:17:04
Hello,Does anyone knows of a Java sprites engine? Features I'd like to get out of the box are sprites animation and move, and collision detection.After searching this forum, I found a handful of good advice as to how to develop one by hand, but not any reference to an existing Sprite Engine ...
Hi!I'm about to implement a matrix class that need som kind of "compacting" support, meaning:If the the following matrix (3x4) is compacted:[1][0][2][8][7][0][3][9][0][0][0][0]The resulting matrix (2x3)would be:[1][2][8][7][3][9]Column 2 will be removed since it's empty (only zeros)and row 3 ...
My applet are running ok in 1.2 but in 1.4 they so SLOWWW...why ?catalin
how can I access the entire screen from j2me,in Series60, the size is 174x208 but the canvas is176x144 ?catalin
104 byte By
nji78a at 2007-9-28 7:20:23
Can anyone help me find a site where I can find a tutorial on creating card games like solitaire?
Im trying to use a good way to use the video card memory formy games. Is this the best way to go? How do I use it? VoltileImage might me better, but Im not sure. Can anyone help me out?
1018 byte By
huangjda at 2007-9-28 7:25:16
I came across this problem, and im not 100% percent sure what to do. Im not too familiar with the graphics functions in Java so maybe someone has an idea to go about about doing this. I need to create a 2d map (birds eye view). The map will be much larger then the actual viewing area, so when a ...
Hi I wonder if u guys can help, I am interested in learning about modelling in general and I am trying to find information on the advantages and disadvantages of UML as a modelling language compared to other modelling techniques. I have only found small amounts of information on this. I just ...
hi guys,I am doing a multiple thread app. There is something in my mind and need your guys advice. Here is my question. Suppose I have a big array needs to be filled in, and I want to have several threads to do the work for filling in the data and one thread is to display the data. For example ...
439 byte By
annyssa at 2007-9-28 7:26:41
hi,from what i know, we need a web server like tomcat or blazix to make other people can access our web. but my problem is like this..... i develop a game programming that need a server to control the player, so that mean now i have 2 server...... but when people acces my web, they cannot ...
i am using mouseListener for the mouse input in a game, and if i task away from the applet, then task back, the mouse input dosen't quite recover, it fails to send the mouse events immediately, instead sends them in batches every 10 seconds or so.jvm version 1.3.1_03any idea what this might ...
Okay. The modulus is the remainder of a division operation right?Then that would mean that: 2 % 8 = 0 because their is no remainder.So how do you know in a game when the modulus will suffice?Thanks.
9618 byte By
zuloa at 2007-9-28 7:27:54
hiim trying to make a small 2d game.It currenty uses a circle as the main character,and it draws 10 linesas the "ground"My problem is I want to just draw some basic lines or curves and let the main object follow these lines(so it acts like the ground)I think there must be some math function to ...
Hi, I am making a 2d platform game. Ok I use a tile class to display each individual tile for the background.below is how I display each tile in turn every frameGraphics g2 = g.create(x,y,_width,_height);g2.drawImage(_tileImage,-tileX,-tileY,null);updateBound(x,y);note the updateBound(x,y) ...
Hi,Plz dont post further "send to me too" queries to the previous post.let the thread owner post the link if he s got the book(or uploaded it to someother folders like yahoo brief case etc).otherewise let him get lost and we poeople better try to find a good/free e-book on UML.(hope somebody ...
I wana make a az-kickin game like runescape.com I dont really know nothin about nothin in javaI like runescape but andrew the creater is kinda a geekall kinds of rules like armor level requirements only specialareas you can att other peeps ect...I wana make my own game like rs but not rs really ...
Are we getting any advantage by keeping functions of DAOs (to be accessed by Session Beans) static ?
Hi,For a simple login implementation, Should we use an entity beans or directly read from a session beans(Stateless) ? My fellow developer claims that entity beans are to be used only at places where transaction is required and for simple read operations we can read directly. Could somebody ...
To use Timers, I must implement ActionListener.But I'm trying to activate my timer object by moving my mouse.Is it possible for java to do it? If yes, can show me some codes on how to do it please ?Thanks : )
181 byte By
zbadra at 2007-9-28 7:33:32
hi all,i'm trying to achive a pacman game.i've got a pb with the ghosts : i want them to go to pacman by the shortest way. how can i do ?tx.badr
272 byte By
jbanesa at 2007-9-28 7:34:14
See http://www.josrts.org/cgi-bin/ikonboard/ikonboard.cgi?act=ST;f=6;t=124If the offered Duke Dollars aren't showing up, it's because I haven't figured out yet how to attach them to the post. Give me some time, it's the first time I've offered them. :-)
I use a controller servlet to capture all requests, then dispatch the request to the appropriate JSP view page, well documented.BUT all examples I see put the JSP pages in the same directory as the root directory of the web application, ie "/webapp/", that's ok for a couple of pages, imagine a ...
398 byte By
rnatsa at 2007-9-28 7:35:17
Hi! I have a handler which perform queries against two databases. It sets them in to two Value Objects of type 'List' - ListA and ListB. I want to return these to my jsp page and process them in my jsp page. How can I do this. I am using MVC pattern - A jsp web form talking to Controller ...
561 byte By
aawolfa at 2007-9-28 7:35:41
Hi All!I'm new to java, but i want to build J2ME (MIDP) applications.I can write *.java files and run it after compiling.But i want to write low-level APIs (games) and i have an example from which i can start. It's a dog animation and it consists a Doggy.java and a DoggyMIDlet.java and some ...
657 byte By
nmhb23a at 2007-9-28 7:35:57
Hi there!I am a beginner learning OO design patterns. I hope some of U expeienced guys can help me with this...I read that design patterns follow certain guidelines to identify objects. I had a brief look at patterns and got confused on where to start. Right now I am having the specifications ...
'provider implemented' APIs, like JMS for example, are very much 'interface' based. This is obviously a Good Thing as it removes any dependency on the actual implementation of the API.Underneath all of this though, a provider is actually implementing the API.So, lets say we have a ...
I like to know how RUP and OOAD are related?Is RUP a process which can be implemented by OOAD?
200 byte By
synluba at 2007-9-28 7:39:39
hi there, can anybody explain the pool physics, i already understand the conservation of momentum but i got trouble on determining the velocity vector, after the collision.thanks,
18161 byte By
asjfa at 2007-9-28 7:40:08
hi, here is a prototype of a simple java game inspired by anaconda in timesplitters 2 - the only problem is if you make the play area too large, or your snake gets too long then the whole thing slows down far too much!I can't figure how to speed this up, but am sure there are people in this ...
Hi!Some background before asking the question. I have so far worked only on 3 web applications. I am not an expert architect by any means, but I can usually identify patterns when I have to.But now, I have to design a totally different kind of system, and mind you, I do not have much ...
Here is my problem:I am trying to sort a known number of integers of different values, into "fronts." The first "front" contains all the (index locaitons of) integers with the lowest value; the second "front" contains all the integers of the next highest value; etc. etc. The worst case ...
I wrote a public class Time ( saved it in Time.java ) in a package amit.java.time and another public applet class TimeTest ( saved it in TimeTest.java ) which imports the Time class . Both the class and the applet class code compiled successfully . But when I run the appletviewer from command ...
1334 byte By
yoda23a at 2007-9-28 7:44:27
Will this function help keep my sprites moving at a consistant # of pixels / second no matter the # of iterations my main game loop does per second? Is there a better approach? I have this calculation at the Sprite level, so it is done for each sprite. Should this be at the game loop level, and ...
Hi. I'm a bit of a newbie and I was wondering if I could get some information/opinions on animation techniques. I've seen a few mentions (one very recently by Abuse) of tick-based animation being inferior to time-based animation. I'm pretty sure I get the two concepts -- I assume it's just ...
Ok, I have a question on the logical design on my game. The game will consist of a world, levels within the world, items, NPC's, and a Player.I will have NPC's wandering around the world automatically. In order to move, they are obviously going to need to be able to look at the level they are ...