Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Works-In-Progress (http://www.alice.org/community/forumdisplay.php?f=14)
-   -   Arty-fishL scripter (http://www.alice.org/community/showthread.php?t=5466)

jediaction 08-25-2011 10:49 AM

Arty, sorry for the topic change. But you have to respond and read my message that I sent you. It's about halo 2. I don't need to send another one. Please check!

Zack Strife 09-04-2011 10:07 PM

I'm just curious, is there a way to apply a, sort of distorted invisibility effect (like MGS's stealth camouflage) through direct programming?

arty-fishL 09-05-2011 11:33 AM

[QUOTE=Zack Strife;41318]I'm just curious, is there a way to apply a, sort of distorted invisibility effect (like MGS's stealth camouflage) through direct programming?[/QUOTE]As far as I know - no. Although I'm no expert on renderers. You can do similar effects in Alice if you work out how though.

Zack Strife 09-05-2011 03:06 PM

The closest I can get to what I want is basically to make them almost invisible (like .1 opacity) but the background doesn't bend with the character. I guess Ill just have to live with that, ps is there an easy and free way that I can learn how to program in Java/Jython?

arty-fishL 12-17-2011 08:24 PM

New changes
 
I know to most people this project is a load of :confused::confused:, I don't care really, I still want to make it.

I've taken huge steps towards making this an eligible scripting tool lately.
I've utilised listeners and taken control of key, mouse, focus and value change events on the text area. This has allowed me to to make it so much better.

It now always holds focus, except when menus are up. Automatic indentation is enabled.There is a status bar. It has syntax highlighting. I'm very proud of the syntax highlighting, it doesn't look sleek, but its still very useful. It works almost flawlessly, but with a few exceptions I am trying to solve. It can't yet highlight comments and it doesn't yet support proper highlighting when [B][I]"[/I][/B]s are nested in [U][B]'[/B][/U]s, but it does work the other way around. I also made other changes.

The only issues arising due to my changes right now are problems with speed when the code gets too large, but I'm thinking of introducing a line-sync instead of whole-document-sync option for when it gets above a certain length.

[IMG]http://img585.imageshack.us/img585/9775/superscripter.png[/IMG]
PS- that's not supposed to be valid code, its just showcasing the syntax highlighting.

Mr Kidnapper 12-17-2011 09:27 PM

Now all you need to do is make it eclipse-like by changing the font to Verdana and change the font color rather than the highlight color.

arty-fishL 12-18-2011 11:15 AM

[QUOTE=Mr Kidnapper;44789]Now all you need to do is make it eclipse-like by changing the font to Verdana and change the font color rather than the highlight color.[/QUOTE]Verdana, maybe, I will decide what font is best in a minute. You can change the font from the format > font menu option if you want to any font on your system. Right now the font is just the default, which would be Dialog.plain (Arial I think) as it is supported by all.

As with the font colour, there lies the issue, I'm using a JTextArea, which only supports changing highlight colour or font colour for the entire object, I need to be using a JTextPane, but that requires quite a lot of changes in the code.

mvene 04-04-2012 10:06 PM

Problems runing scripter
 
I recently downloaded the objet arty_fish_Scripter.a2c and when i attempt to run the world the follow message appears.

Alice version: 2.2 03/01/2012

os.name: Windows 7

os.version: 6.1

os.arch: x86

java.vm.name: Java HotSpot(TM) Client VM

java.vm.version: 20.0-b11

user.dir: C:\Users\Mvene\Desktop\Required



*****Running World*****

Exception in thread Thread-1:

Traceback (most recent call last):

File "<string>", line 53, in run

File "<string>", line 2700, in getWorld

NameError: getAuthoringTool


Is there some machine requirements to run the object or previous files that I must run before this one?

Thanks in advice.

Martin.

RavenOfCode 02-04-2015 05:49 AM

This is awesome! How did I not see this! :)


All times are GMT -5. The time now is 09:07 AM.

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