Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
First step towards an alice fps!!!
Old
zenteo
Senior Member
 
Status: Offline
Posts: 110
Join Date: Dec 2006
Location: Earth
Talking First step towards an alice fps!!! - 03-10-2010, 01:14 PM

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!): http://www.sendspace.com/file/q44nk6

------------------------------------------------------------------------
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-
http://www.westga.edu/~drocco/alice/scripting.html
http://www.alice.org/bvw02fall/scripting/scripting.html

-Jython-
http://www.jython.org/Project/devguide.html

-Python-
http://docs.python.org/

-Java-
http://today.java.net/download/jdk6/...w-summary.html

-Example-
Easy - http://www.westga.edu/~drocco/alice/...ng_basics.html
Hard - http://www.westga.edu/~drocco/alice/networking.html
Both - http://www.alice.org/bvw02fall/scrip...leScripts.html

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

--------------------------------------------------------------------
Attached Images
File Type: jpg pic1.jpg (78.1 KB, 339 views)
File Type: jpg pic2.jpg (84.0 KB, 335 views)
File Type: jpg pic3.jpg (50.8 KB, 336 views)
  Send a message via MSN to zenteo  
Reply With Quote
link not working
Old
jarg82394
Guest
 
Status:
Posts: n/a
Smile link not working - 02-06-2011, 01:06 AM

Hi there! Can you upload your world file again please? I'm guessing your link got expired some time ago. Thanks!
   
Reply With Quote
Old
Jabadahut50
Member
 
Status: Offline
Posts: 19
Join Date: Aug 2011
Talking 08-17-2011, 07:12 PM

Quote:
Originally Posted by jarg82394 View Post
Hi there! Can you upload your world file again please? I'm guessing your link got expired some time ago. Thanks!
Yeah what he said. I would really like this so I can incorporate it into my own alice fps. my reaction to this is
   
Reply With Quote
Old
Jabadahut50
Member
 
Status: Offline
Posts: 19
Join Date: Aug 2011
Smile 09-28-2011, 04:52 PM

Quote:
Originally Posted by zenteo View Post
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!): http://www.sendspace.com/file/q44nk6

------------------------------------------------------------------------
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-
http://www.westga.edu/~drocco/alice/scripting.html
http://www.alice.org/bvw02fall/scripting/scripting.html

-Jython-
http://www.jython.org/Project/devguide.html

-Python-
http://docs.python.org/

-Java-
http://today.java.net/download/jdk6/...w-summary.html

-Example-
Easy - http://www.westga.edu/~drocco/alice/...ng_basics.html
Hard - http://www.westga.edu/~drocco/alice/networking.html
Both - http://www.alice.org/bvw02fall/scrip...leScripts.html

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

--------------------------------------------------------------------
That's awesome but the download link doesn't work and id really like to test this this.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 09-29-2011, 09:52 AM

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


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 09-29-2011, 04:12 PM

Quote:
Originally Posted by jediaction View Post
Good Job. This is good for beginners. Are you going to make a whole series?
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.


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 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...


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
Jabadahut50
Member
 
Status: Offline
Posts: 19
Join Date: Aug 2011
Unhappy 10-02-2011, 04:05 PM

Quote:
Originally Posted by arty-fishL View Post
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.
oh so he an old member? i really wanted to be able to use this
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 10-02-2011, 05:59 PM

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


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
uhhh..........
Old
Jabadahut50
Member
 
Status: Offline
Posts: 19
Join Date: Aug 2011
Default uhhh.......... - 10-02-2011, 07:08 PM

Quote:
Originally Posted by InsertName View Post
You can use it, I don't see why not.
the problem is the download isn't still up so i cant get it.
   
Reply With Quote
Reply

Tags
fps, java, scripting, update

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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