Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
Great!
Old
lolgast
Junior Member
 
Status: Offline
Posts: 14
Join Date: May 2011
Location: Somewhere in this or a parallel universe
Talking Great! - 03-15-2012, 06:08 AM

Whoah, this is really amazing. Wouldn't have thought something like this was possible in Alice. Very useful for a lot of things. Thank you for making/posting this


Lolgast.
   
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
Talking 03-15-2012, 02:27 PM

Quote:
Originally Posted by lolgast View Post
Whoah, this is really amazing. Wouldn't have thought something like this was possible in Alice. Very useful for a lot of things. Thank you for making/posting this
Thanks. I will update it, but I am working on a different project right now.


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

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Old
room14
Senior Member
 
room14's Avatar
 
Status: Offline
Posts: 549
Join Date: Nov 2009
Location: Auckland New Zealand
Default 03-15-2012, 11:13 PM

I am not sure about this since I haven't downloaded it yet but you should make it as an object.


:D
   
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 03-16-2012, 05:02 AM

Quote:
Originally Posted by room14 View Post
I am not sure about this since I haven't downloaded it yet but you should make it as an object.
good idea


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

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Scripts
Old
lolgast
Junior Member
 
Status: Offline
Posts: 14
Join Date: May 2011
Location: Somewhere in this or a parallel universe
Default Scripts - 03-16-2012, 07:40 AM

But what I'm wondering, how do those scripts work? I don't think I've enough knowledge to actually program those scripts, but can anyone tell me where I can find some information about scripts?


Lolgast.
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 03-16-2012, 07:18 PM

Making it as an object is not possible the moment he included scripting. Script code beyond the level of "world", as in any script inside of a class, does not work and produces an error.
In the Alice world, there is no documentation about scripts other than how to turn it on and that the language in use is Jython.
You're looking at the innovators of script code here.
But let me simplify the process: Script is used to increase the capabilities of Alice past what it can actually do on its own. For example, mouselock code, which has been the main innovation in the past few months.
You may also change certain basic properties of Alice if you happen to know the correct variables. By this I mean window size, colors, and whatnot. Usually the way to retrieve these variables is through scanning the source code (We don't have this.)
Decompiling the alice.jar to produce source code has been known to fail, unfortunately. Arty happens to have created an add-on to retrieve the full hierarchy names of certain objects in Alice, such as the scenegraph editor, though it doesn't really work outside the main Alice window.

tl;dr
You have access to all of Java instead of just Alice. Be creative. Come up with something useful.

Last edited by Mr Kidnapper; 03-16-2012 at 07:30 PM.
   
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
Arrow 03-17-2012, 12:20 PM

Quote:
Originally Posted by Mr Kidnapper View Post
Making it as an object is not possible the moment he included scripting. Script code beyond the level of "world", as in any script inside of a class, does not work and produces an error.
It does work. How do you think my World Loader Tool or Save Tool work?

What you do is drag the object from the object tree to the events and create a world start event for it. Then stick in a script tile. Say the object was called "boy", then you would use this script:
Code:
exec(boy.script)
You can't have any scripts outside of the object reference scripts from the object until after that event has ran though, so wait a millisecond or so before using its scripts elsewhere.

I always give kudos to Zonedabone when asked about the origin of scripting in Alice, he was the true pioneer. We (me and Mr K) are the ones carrying on his legacy now.


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

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 03-20-2012, 06:51 PM

Maybe I should reverse all of your programs and see if I'm still missing something.
   
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 03-20-2012, 08:33 PM

Quote:
Originally Posted by Mr Kidnapper View Post
Maybe I should reverse all of your programs and see if I'm still missing something.
You could just ask me, but that would be a cop out and reversing them is more fun, so I see where you are coming from with this. But still, if you want to know anything then just ask and I can help, just as you have helped me in the past.


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

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Aiming Engine Limits
Old
PikachuCLS
Junior Member
 
Status: Offline
Posts: 3
Join Date: Sep 2011
Default Aiming Engine Limits - 03-21-2012, 08:59 PM

I have a fairly good suggestion for this engine's improvement. How do you apply limits to the up and down looking axis. It seems the camera is able to do a 360 flip while looking. Could the engine be more realistic?

I also have a really easy question. How do you merge the engine to the game, and how do you merge two engines together. Your method of merging worlds, arty-fishL, makes the worlds into groups and the objects into something i don't know, but it can't be dragged outside of their worlds. I also don't think scripts can be transferred because you get an error. Can anyone please clarify this?

Last edited by PikachuCLS; 03-22-2012 at 05:44 AM.
   
Reply With Quote
Reply

Tags
aiming, calibration, cursor, mouse, turn

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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.