Using java2D for first person shooter type of game

i read that java2d uses opengl under the hood.. if so that will make it fast as java3D. can java2d be used to create first person shooter game with good performace compare to C/C++ ??
discuss.

Q: Could it be used to make Wolfenstein?
A: Yes.
Q: Could it keep step with the latest 3D game / engine.
A: No.
I heard there are a lot of crazy assembly level optimizations that gaming companies do to get the performance.

Similar Messages

  • Use mouse for first person game

    I have programed one first person game using Java 3D and am working on a new idea and I hope to be able to run it through a web browser.
    The problem I am having is using the mouse in the game were it does not leave the applet window when moved and I can keep track of how much movement it makes so I can make it function like a normal FPS (the mouse is moved in a certain direction and the character turns that direction the amount the mouse was moved). If someone could point me toward a class or of anyway this can be done that would be great. Thanks.

    Java does not have built-in support for direct polling of the mouse.
    One hack that I've used to get around that is in the Robot class.
    If the mouse exits the applet window from the left side, I can use Robot.moveMouse(int x, int y) to move the cursor back to the right side. This let's me force the mouse to be within the applet window at all times.
    Its pretty hacky, and I believe you're going to have to get the user to sign some special permissions to use this in an applet, but there's not much alternative.
    good luck
    -Cuppo

  • Develop AI for a bot in first-person shooting game

    Hi, i'm working on a web-based first-person shooting game incorporating VRML and java. As for the AI part of the bot, somebody suggested me using JESS(Java Expert System Shell). I've looked through some tutorial about the API and usage of the software, but that's of little help when it comes to building a complex program contolling the AI of the bot. How do i start? any good reference or sample available on the net? thx for your help!

    Do you mean artificial behaviour (i.e. having the bad guys act like bad guys), rather than actual artificial intelligence?
    There's at least one good article on Artificial Behaviour on Gamasutra.com - it discusses the AI in Thief and Half-Life:
    http://www.gamasutra.com/gdc2003/features/20030307/leonard_01.htm
    (You will need to make a free account with Gamasutra to view this).
    In particular, it covers some pseudocode for the basics of the artificial behaviour.
    I hope this is of some use to you, it's at least interesting to read.

  • Spartan-6 FPGA Dev Board plays Doom, a first-person shooter video game from 1993

    Yesterday, I mentioned a port of Professor Nicklaus Wirth’s Oberon programming language and operating system to Saanlima's Pipistrello, a Spartan-6 FPGA development board. (See “Oberon System Implemented on a Low-Cost FPGA Board.”) There are many uses for a dev board however and one of the other ports to this board is the first-person shooter called “Doom,” which was originally developed to run on DOS PCs by id Software.
    This FPGA-based implementation uses a recompilation of a source port called “Chocolate Doom” that runs on a 100MHz Xilinx MicroBlaze soft processor instantiated in the Pipistrello board’s Spartan-6 LX45 FPGA with additional HDL to handle the mouse, game controllers, video, and sound. Now running recompiled code for an x86 microprocessor on an FPGA-based, soft-core processor might not be the most obvious way to fully employ a Spartan-6 FPGA, but I think it’s a pretty cool demo nevertheless.
    Here’s a short, 26-second video showing DOOM running in demo mode on the Spartan-6 LX45 FPGA:
    Note: There are no sound effects in this short video because we didn’t hook up any speakers to the Pipistrello board.
     

    Excellent!
    Gotta try Pac-Man. It is so much like the arcade version from the 80's it's scary. Also, Magnus has the Pipistrello working so well you can re-flash to/from Oberon to Pac-Man (or whatever) almost instantly. I mean, flash and boot in under 2 seconds. Quite impressive.
     

  • Performance issue in browsing SSAS cube using Excel for first time after cube refresh

    Hello Group Members,
    This is a continuation of my earlier blog question -
    https://social.msdn.microsoft.com/Forums/en-US/a1e424a2-f102-4165-a597-f464cf03ebb5/cache-and-performance-issue-in-browsing-ssas-cube-using-excel-for-first-time?forum=sqlanalysisservices
    As that thread is marked as answer, but my issue is not resolved, I am creating a new thread.
    I am facing a cache and performance issue for the first time when I try to open a SSAS cube connection using Excel (using Data tab  -> From Other Sources --> From Analysis Services) after daily cube refresh. In end users system (8 GB RAM but around
    4GB available RAM), for the first time, it takes 10 minutes to open the cube. From next run onwards, its open up quickly within 10 secs.
    We have daily ETL process running in high end servers. The configuration of dedicated SSAS cube server is 8 core, 64GB RAM. In total we have 4 cube DB - out of which for 3 is full cube refresh and 1 is incremental refresh. We have seen after daily cube
    refresh, it takes 10 odd minutes to open the cube in end users system. From next time onwards, it opens up really fast with 10 secs. After cube refresh, in server systems (32 GB RAM, around 4GB available RAM), it takes 2 odd minutes to open the cube.
    Is there, any way we could reduce the time taken for first attempt ?
    As mentioned in my previous thread, we have already implemented a cube wraming cache. But, there is no improvement.
    Currently, the cumulative size of the all 4 cube DB are more than 9 GB in Production and each cube DB having 4 individual cubes in average with highest cube DB size is 3.5 GB. Now, the question is how excel works with SSAS cube after
    daily cube refresh?
    Is it Excel creates a cache of the schema and data after each time cube is refreshed and in doing so it need to download the cube schema in Excel's memory? Now to download the the schema and data of each cube database from server to client, it will take
    a significant time based on the bandwidth of the network and connection.
    Is it anyway dependent to client system RAM ? Today the bigest cube DB size is 3.5 GB, tomorrow it will be 5-6 GB. Now, though client system RAM is 8 GB, the available or free RAM would be around 4 GB. So, what will happen then ?
    Best Regards, Arka Mitra.

    Could you run the following two DMV queries filling in the name of the cube you're connecting to. Then please post back the row count returned from each of them (by copying them into Excel and counting the rows).
    I want to see if this is an issue I've run across before with thousands of dimension attributes and MDSCHEMA_CUBES performance.
    select [HIERARCHY_UNIQUE_NAME]
    from $system.mdschema_hierarchies
    where CUBE_NAME = 'YourCubeName'
    select [LEVEL_UNIQUE_NAME]
    from $system.mdschema_levels
    where CUBE_NAME = 'YourCubeName'
    Also, what version of Analysis Services is it? If you connect Object Explorer in Management Studio to SSAS, what's the exact version number it says on the top server node?
    http://artisconsulting.com/Blogs/GregGalloway

  • Any First Person Shooter Games For the iPad?

    Looking for any 1st Person shooter games like Marine Sharpshooter for the iPad, can't seem to find them.

    If you do a Google search, you'll find many pages devoted to discussion of these games... the App Store does not categorize them as such, but they are out there.

  • Cache and performance issue in browsing SSAS cube using Excel for first time

    Hello Group Members,
    I am facing a cache and performance issue for the first time, when I try to open a SSAS cube connection using Excel (using Data tab  -> From Other Sources --> From Analysis Services) after daily cube refresh. In end users
    system (8 GB RAM), for the first time, it takes 10 minutes to open the cube. From next run onwards, its open up quickly within 10 secs.
    We have daily ETL process running in high end servers. The configuration of dedicated SSAS cube server is 8 core, 64GB RAM. In total we have 4 cubes - out of which for 3 is full cube refresh and 1 is incremental refresh. We have seen after
    daily cube refresh, it takes 10 odd minutes to open the cube in end users system. From next time onwards, it opens up really fast with 10 secs. After cube refresh, in server systems (16 GB RAM), it takes 2 odd minutes to open the cube.
    Is there, any way we could reduce the time taken for first attempt ?
    Best Regards, Arka Mitra.

    Thanks Richard and Charlie,
    We have implemented the solution/suggestions in our DEV environment and we have seen a definite improvement. We are waiting this to be deployed in UAT environment to note down the actual performance and time improvement while browsing the cube for the
    first time after daily cube refresh.
    Guys,
    This is what we have done:
    We have 4 cube databases and each cube db has 1-8 cubes.
    1. We are doing daily cube refresh using SQL jobs as follows:
    <Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
    <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <Object>
    <DatabaseID>FINANCE CUBES</DatabaseID>
    </Object>
    <Type>ProcessFull</Type>
    <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
    </Process>
    </Parallel>
    </Batch>
    2. Next we are creating a separate SQL job (Cache Warming - Profitability Analysis) for cube cache warming for each single cube in each cube db like:
    CREATE CACHE FOR [Profit Analysis] AS
    {[Measures].members}
    *[TIME].[FINANCIAL QUARTER].[FINANCIAL QUARTER]
    3. Finally after each cube refresh step, we are creating a new step of type T-SQL where we are calling these individual steps:
    EXEC dbo.sp_start_job N'Cache Warming - Profit Analysis';
    GO
    I will update the post after I receive the actual im[provement from UAT/ Production environment.
    Best Regards, Arka Mitra.

  • I can use iMessage with all iPhone uses except for ONE person.  That person can use iMessage with all other users, but not with ME.  What's the problem???

    I can use iMessage with all other iPhone users that I communicate with, except for ONE person.  When I send to that person, it always goes through as a text message.  This person can use iMessage with pther people, but when they send me a message, it always goes as a text.  Why can we both communicate with other people using iMessage, but not with one another?

    Hi Russell,
    1) If you have OD set up and "editor" has UID 1111, then when they log in to any machine that's bound to OD as editor, they will get UID 1111. Therefore, there won't be any of these permission errors. This is typically the recommended approach.
    2) I assume you mean "You'd prefer to not using open directory?" Whatever the case, OD isn't mandatory with Xsan -- it's just that with multiple user accounts, managing them centrally tends to be easier. For 3 or 4 accounts and 3 or 4 machines maybe it's no big deal. If you go larger, it could get a lot more complicated. That said, if you set it up such that each machine has the exact same set of users (as you said, Mary = UID 502, Fred = UID 503, William = UID 504), then you can do what you want. Mary can log in from multiple machines at the same time, and in general you won't have permissions problems. Of course, if you try and read and write the same file from multiple workstations at the same time, you will get file locking issues, which will prohibit somebody from successfully writing the file.
    File locking issues are different from general permissions errors. The former basically says "hey, someone else is editing this file. Therefore I won't let you edit it right now... you can read it if you want though." Permissions means somebody saves it, and Xsan thinks you saved it and own the file, when you really don't.
    Quad-Core PMG5, 4 GB RAM, 7800 GT, 1 TB disk.   Mac OS X (10.4.4)  

  • First Person Shooter Games for Macbook

    Hi, I've been looking for a good FPS games. there are few that meet the components that the Macbook have. i have the GMA X3100 graphics card. i wanted to get Medal of Honor or Unreal Tournament 2004 but both require a GeForce graphics card. Is there anyway those games can work on a Macbook? are there any other FSP games that will work with the graphics card i already have?

    http://en.wikipedia.org/wiki/Listof_free_first-personshooters
    http://www.google.com.co/search?q=bestmac++first+personshooter&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-ES:official&client=firefox-a
    hope it helps.
    Message was edited by: Kwanbis2

  • Using RMI for first time (Serializable??)

    Hi, I am trying to do this assignment using Java RMI, and this is my first encouter with RMI. I am getting an error when I am trying to call a function remotely that returns a Vector of data. I get this error:
    Error in lookup: java.rmi.UnmarshalException: error unmarshalling return; nested
    exception is:
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: Registered
    Registered are the objects that are stored in my vector. What does it mean by NotSerializable?

    Here is my "data" registered(i know its named weird...)
    import java.io.Serializable;
    public class Registered implements Serializable {
         private static final long serialVersionUID = 1L;
         public String username;
         public String password;
         public boolean loginStatus;
         public String hostname;
         public int port;
         public Registered(String name, String pass){
              super();
              username=name;
              password=pass;
              loginStatus=false;
              hostname=null;
              port=0;
         public String getName(){
              return username;
         public String getPassword(){
              return password;
         public String getHostname(){
              return hostname;
         public int getPort(){
              return port;
         public boolean getLoginStatus(){
              return loginStatus;
         public void setHostname(String hostname) {
              this.hostname = hostname;
         public void setLoginStatus(boolean loginStatus) {
              this.loginStatus = loginStatus;
         public void setPort(int port) {
              this.port = port;
    }

  • Using FaceTime for first time on mini iPad

    When I verify my apple Id to use face time, it goes back to sign in page for FaceTime. I have checked my apple Id and it says it is verified. If I use another device to try FaceTime myself it says my email address is not available to FaceTime.
    The apple website shows illustrations for set up showing FaceTime on off button. When I go into FaceTime icon on my mini iPad I do not have an on off button.

    Hello,
    Here is an Apple help article on this issue: http://support.apple.com/kb/ht4319
    I hope that helps.
    Regards,
    Jake

  • Mail acts like I'm using it for first time when I've had it for years

    I've used Apple Mail for several years and have my accounts set up, but when I launched it today, I got the "Welcome to Mail" interface and it's asking me to set up my accounts.
    I had this problem before, but forgot how to fix it. I would like to be able to get at all my old emails and all of that.

    Probably little value in reinstalling Mail -- the issue is likely within your User Account, and not the application. Removing the com.apple.mail.plist file and the Mail folder from Home/Library/Preferences and Home/Library/Mail will allow you to have a fresh start. You can test this in advance by the following:
    Create a New User Account, and as that New User try to set up this one or both Gmail accounts. If not familiar with setting up a New User Account, see:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8235.html
    This will be a useful test, and it not meant to suggest a permanent switch to the New User Account, but rather a test of the Mail application outside of your normal User Account and its existing setup data.
    Ernie

  • Using isync for first time to update address book

    I just upgraded to Tiger and thought finally I could back up my contacts from my Motorola RAZR V3i.
    However the sync process only works one way i.e. updating the phone from the address book on the Mac, and does not import any contacts from the phone.
    Is this normal I can't find an answer elsewhere
    thx

    Synchronising is a two-way process, once all set-up correctly.
    From experience I've found its best to start off with your data on the Mac first, although by using the Merge on First Sync option, in theory, you should be able to get your contacts from the phone. This doesn't always seem to work.
    I don't know anything about Motorola phones, but if they have an option to Send all Contacts by Bluetooth (as vCards), use that to import your data in Address Book initially.

  • Used itunes for first time. Now when I open Firefox none of my previous tabs show and it opens itunes. I want my old tabs back!

    Firefox automatically opens to itunes. I seem to have lost all my other tabs. When I look at firefox options, it still says it will open to my home page but it does not. It opens to itunes and all my other tabs are missing.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js [2] and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js

  • Help pleeeease Using Mac for first time, can't set desktop, logged in but seems to be read only

    help please, tearing my hair out!

    What do you intend to do?
    On desktop, on a new Mac, usually there's only the menu bar on top, an alias to your HDD (may not be displayed as default on recent systems), and your dock at bottom screen.
    If you want to find system settings, it's called System Preferences, and you'll find it by clicking on the apple in menu bar.

Maybe you are looking for

  • Ipod not detected in Windows 8.1

    Hi Ever since feb when my computer updated to Windows 8.1 it wouldn't detect my ipod. I thought that my ipod nano was old and broken so I bought a new one. However, it did the same to that ipod so I know now that it's not the device itself but rather

  • Status of line item of order (CRM)

    i am using the 'CRM_ORDER_MAINTAIN'  funtion module but it is working for updating the status of line item, my problem is that in our system order status is maintaing on the basis of item category Z used in Z order type is having the object type as S

  • Can't Change a User's Password - "Reset Password" is Grayed Out

    I'm trying to reset a user account in OS X 10.4.11 on a MacBook. I am the administrator and am logged in as such. I have gone into System Preferences > Accounts and clicked the unlock icon, put in my admin password, and selected the other user from t

  • How to access/identify components in JSF Declarative Components?

    Hi, I am beginner on ADF. Trying to build first Declarative Components. Use Case is as follows - I have put 2 InputTexts in Declarative Component. Want to set some value in second InputText (txtAddressLine2) in Validator/ValueChangeListner method of

  • Problème d'affichage d'un PDF dans les navigateurs

    Bonjour, J'ai créé (sous Indesign CS4) un PDF destiné à être implanté sur un site (pour info, créé avec Joomla). Lors de l'exportation du PDF, Sous Indesign : j'ai demandé une compatibilité avec acrobat 5 et d'inclure les signets / Hyperliens et les