Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Worlds (http://www.alice.org/community/forumdisplay.php?f=6)
-   -   First step towards an alice fps!!! (http://www.alice.org/community/showthread.php?t=4059)

zenteo 03-10-2010 01:14 PM

First step towards an alice fps!!!
 
3 Attachment(s)
This is just a test and it'll maybe become something bigger, like a cool FPS game.

In order to make the cursor/mouse to move into the center of the rendering window, I had to upgrade Alice a bit.

Locked Mouse Modus(press Q):
--This is the FPS view modus.
--The cursor/mouse will be hid and moved to the center of the screen.
--Move the mouse in order to rotate the camera.

Controls:
--Use "Q" to switch between locked mouse and unlocked mouse. You have to
use it in order to rotate the camera.
--Use the mouse to control the camera.
--Use "W", "A", "S", "D" to control the camera.
--Click on a target to paint it red!

Bugs:
--There is a rendering bug while running the world, which shouldn't be too
hard to fix. Just click restart or press any of the control keys(Q, W, A, S or
D) and it'll be gone.

The .a2w file is in the zip; enjoy it!

Download(It's a big file!): [URL="http://www.sendspace.com/file/q44nk6"]http://www.sendspace.com/file/q44nk6[/URL]

------------------------------------------------------------------------
Alice 2.2 uses Java 1.5.0 and therefore coundn't reach the function "java.awt.Window.getWindows()", which is important in order to reach our render dialog.
But this is all advanced programming stuff you don't have to worry about.

All I did in this version of Alice was to update its Java from 1.5.1 to 1.6.
The rest of the coding is in Alice's scriptingsystem - jython.

--This part is only for those who are intrested in Alice Scripting--

Jython is a "Phyton interpreter" made in Java (This make it able to import Java libraries).
Phyton is the programing language that`s used to script Alice.
Java is that programing language Alice is made of (you can import Java-libs in Jyton)

-How to: Setup scripting-
[URL="http://www.westga.edu/~drocco/alice/scripting.html"]http://www.westga.edu/~drocco/alice/scripting.html[/URL]
[URL="http://www.alice.org/bvw02fall/scripting/scripting.html"]http://www.alice.org/bvw02fall/scripting/scripting.html[/URL]

-Jython-
[URL="http://www.jython.org/Project/devguide.html"]http://www.jython.org/Project/devguide.html[/URL]

-Python-
[URL="http://docs.python.org/"]http://docs.python.org/[/URL]

-Java-
[URL="http://today.java.net/download/jdk6/doc/api/overview-summary.html"]http://today.java.net/download/jdk6/doc/api/overview-summary.html[/URL]

-Example-
Easy - [URL="http://www.westga.edu/~drocco/alice/scripting_basics.html"]http://www.westga.edu/~drocco/alice/scripting_basics.html[/URL]
Hard - [URL="http://www.westga.edu/~drocco/alice/networking.html"]http://www.westga.edu/~drocco/alice/networking.html[/URL]
Both - [URL="http://www.alice.org/bvw02fall/scripting/exampleScripts.html"]http://www.alice.org/bvw02fall/scripting/exampleScripts.html[/URL]

Thanks DrJim for these pages "http://www.westga.edu/~drocco/alice/" and "http://www.alice.org/bvw02fall/scripting/"

--------------------------------------------------------------------

jarg82394 02-06-2011 01:06 AM

link not working
 
Hi there! Can you upload your world file again please? I'm guessing your link got expired some time ago. Thanks!

Jabadahut50 08-17-2011 07:12 PM

[QUOTE=jarg82394;30917]Hi there! Can you upload your world file again please? I'm guessing your link got expired some time ago. Thanks![/QUOTE]

Yeah what he said. I would really like this so I can incorporate it into my own alice fps. my reaction to this is :eek::eek::eek::eek::eek::D:D:D

Jabadahut50 09-28-2011 04:52 PM

[QUOTE=zenteo;18246]This is just a test and it'll maybe become something bigger, like a cool FPS game.

In order to make the cursor/mouse to move into the center of the rendering window, I had to upgrade Alice a bit.

Locked Mouse Modus(press Q):
--This is the FPS view modus.
--The cursor/mouse will be hid and moved to the center of the screen.
--Move the mouse in order to rotate the camera.

Controls:
--Use "Q" to switch between locked mouse and unlocked mouse. You have to
use it in order to rotate the camera.
--Use the mouse to control the camera.
--Use "W", "A", "S", "D" to control the camera.
--Click on a target to paint it red!

Bugs:
--There is a rendering bug while running the world, which shouldn't be too
hard to fix. Just click restart or press any of the control keys(Q, W, A, S or
D) and it'll be gone.

The .a2w file is in the zip; enjoy it!

Download(It's a big file!): [URL="http://www.sendspace.com/file/q44nk6"]http://www.sendspace.com/file/q44nk6[/URL]

------------------------------------------------------------------------
Alice 2.2 uses Java 1.5.0 and therefore coundn't reach the function "java.awt.Window.getWindows()", which is important in order to reach our render dialog.
But this is all advanced programming stuff you don't have to worry about.

All I did in this version of Alice was to update its Java from 1.5.1 to 1.6.
The rest of the coding is in Alice's scriptingsystem - jython.

--This part is only for those who are intrested in Alice Scripting--

Jython is a "Phyton interpreter" made in Java (This make it able to import Java libraries).
Phyton is the programing language that`s used to script Alice.
Java is that programing language Alice is made of (you can import Java-libs in Jyton)

-How to: Setup scripting-
[URL="http://www.westga.edu/~drocco/alice/scripting.html"]http://www.westga.edu/~drocco/alice/scripting.html[/URL]
[URL="http://www.alice.org/bvw02fall/scripting/scripting.html"]http://www.alice.org/bvw02fall/scripting/scripting.html[/URL]

-Jython-
[URL="http://www.jython.org/Project/devguide.html"]http://www.jython.org/Project/devguide.html[/URL]

-Python-
[URL="http://docs.python.org/"]http://docs.python.org/[/URL]

-Java-
[URL="http://today.java.net/download/jdk6/doc/api/overview-summary.html"]http://today.java.net/download/jdk6/doc/api/overview-summary.html[/URL]

-Example-
Easy - [URL="http://www.westga.edu/~drocco/alice/scripting_basics.html"]http://www.westga.edu/~drocco/alice/scripting_basics.html[/URL]
Hard - [URL="http://www.westga.edu/~drocco/alice/networking.html"]http://www.westga.edu/~drocco/alice/networking.html[/URL]
Both - [URL="http://www.alice.org/bvw02fall/scripting/exampleScripts.html"]http://www.alice.org/bvw02fall/scripting/exampleScripts.html[/URL]

Thanks DrJim for these pages "http://www.westga.edu/~drocco/alice/" and "http://www.alice.org/bvw02fall/scripting/"

--------------------------------------------------------------------[/QUOTE]

That's awesome but the download link doesn't work and id really like to test this this.:)

jediaction 09-29-2011 09:52 AM

Good Job. This is good for beginners. Are you going to make a whole series?

arty-fishL 09-29-2011 04:12 PM

[QUOTE=jediaction;41981]Good Job. This is good for beginners. Are you going to make a whole series?[/QUOTE]This was Zenteo, do you not remember Zenteo? He gave up on Alice ages ago, and if only I could have told him the correct function to get the render dialog back then, he might have created something super awesome.

jediaction 09-29-2011 08:24 PM

Yah I remember Zento....oh.....I forgot.....Wow. Yah, I remember when he left. I didn't look at the date this thing was posted...oops. Well, that what bumping is...

Jabadahut50 10-02-2011 04:05 PM

[QUOTE=arty-fishL;41990]This was Zenteo, do you not remember Zenteo? He gave up on Alice ages ago, and if only I could have told him the correct function to get the render dialog back then, he might have created something super awesome.[/QUOTE]

oh so he an old member? :( i really wanted to be able to use this:(

InsertName 10-02-2011 05:59 PM

You can use it, I don't see why not.

Jabadahut50 10-02-2011 07:08 PM

uhhh..........
 
[QUOTE=InsertName;42060]You can use it, I don't see why not.[/QUOTE]

the problem is the download isn't still up so i cant get it.


All times are GMT -5. The time now is 04:36 AM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.