Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
Multiple views of a world running at once in real time.
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
Red face Multiple views of a world running at once in real time. - 02-17-2010, 08:55 AM

Multiple views of a world running at once in real time.
Basically several alice applications open at once, running worlds at once, the worlds communicate with each other and make actions happen simultaneously.

This runs on a master and slave system, where one world controls the rest, but it could easily be changed so that all worlds can communicate together.

You can have as many slave windows open as you want (too many will slow down proccessing speed, and cause communications between the worlds to have delayed reactions), there can only be ONE master, as several masters open will display different things.

This sends a string between worlds to change 3d text, but it could be used for anything.

Here is a video showing it in action: Video link

Jython!!!!

With thanks to x2495iiii and zonedabone

By real time, I dont mean exactly real time, just close enough to work.
Oh, and I think this only works on Windows, I don't know though.

download both files, the master controls the slave, click the text to change it.
Attached Images
File Type: jpg alice multiple windows0001_0001.jpg (51.5 KB, 104 views)
Attached Files
File Type: a2w multiple windows master.a2w (180.5 KB, 35 views)
File Type: a2w multiple windows slave.a2w (169.8 KB, 40 views)


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

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬

Last edited by arty-fishL; 02-17-2010 at 06:54 PM.
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 02-17-2010, 10:07 AM

Really? That's fascinating! Who would've thought this stuff was possible on Alice?

Very cool.


(')>
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-17-2010, 02:34 PM

Well i thought it was possible but never did it until King Gamer encouraged me to start thinking about it


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 02-17-2010, 06:32 PM

How about crediting zonedabone, whom you took the script from?


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
Reply With Quote
Old
cardsfan527
Guest
 
Status:
Posts: n/a
Thumbs up 02-17-2010, 06:37 PM

I have to say that this is pretty awesome. I would love to see this implemented into telling the coordinates or movements of an object.
   
Reply With Quote
I tried to, but it failed
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
Exclamation I tried to, but it failed - 02-17-2010, 06:52 PM

Quote:
Originally Posted by zonedabone View Post
How about crediting zonedabone, whom you took the script from?
I tried to in a reply to x2495iiiis reply. I tried to credit , for his forums that introduced me to jython and then you, zonedabone, for your wikia and the savegame world that I based it off, but I got this:
Posting error

Anyway, I didn't steal your code, I adapted it and done work of my own, leaving it open so anybody could adapt it further to make objects change colour, move, etc.

Anyways, the posting error isn't happening anymore, so look up and you will see your name.


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

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬
   
Reply With Quote
No Offense
Old
King Gamer(gorit)
Guest
 
Status:
Posts: n/a
Default No Offense - 02-17-2010, 11:49 PM

But I see no point in this other than its several worlds showing the same things. I beleive I had already shown how alice could comunicate with another world running in my speed test worlds. But whtever it doesnt mater as long as people realize the jython potential.
   
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 02-18-2010, 05:34 AM

Quote:
Originally Posted by King Gamer(gorit) View Post
But I see no point in this other than its several worlds showing the same things. I beleive I had already shown how alice could comunicate with another world running in my speed test worlds. But whtever it doesnt mater as long as people realize the jython potential.
What speed test worlds? please link me to them


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

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 02-18-2010, 07:02 AM

Quote:
Originally Posted by arty-fishL View Post
I tried to in a reply to x2495iiiis reply. I tried to credit , for his forums that introduced me to jython and then you, zonedabone, for your wikia and the savegame world that I based it off, but I got this:
Posting error

Anyway, I didn't steal your code, I adapted it and done work of my own, leaving it open so anybody could adapt it further to make objects change colour, move, etc.

Anyways, the posting error isn't happening anymore, so look up and you will see your name.

that still means you did not do it. So people are working off of your thing but it is pretty much zoneabone's. Like my Fps aiming system. I made that but completely modified the origonal code. I had to give a little credit for the code. But now its my own code so im good now


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 02-18-2010, 04:20 PM

Quote:
Originally Posted by arty-fishL View Post
I tried to in a reply to x2495iiiis reply. I tried to credit , for his forums that introduced me to jython and then you, zonedabone, for your wikia and the savegame world that I based it off, but I got this:
Posting error

Anyway, I didn't steal your code, I adapted it and done work of my own, leaving it open so anybody could adapt it further to make objects change colour, move, etc.

Anyways, the posting error isn't happening anymore, so look up and you will see your name.
I wouldn't say that. Your jython code is an exact copy of mine. It even had references to variables that didn't exist, because you copied the read and write code to each world. The slave world runs in an IDENTICAL manor to my world!


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
Reply With Quote
Reply

Tags
camera, jython, python, view, window

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.