Many of you have been using the HTML and Javascript capabilities of ARIS to make really cool stuff. Of course ARIS doesn't do much to help you with learning or setting up those things. Many ideas too would seem to require hosting on the authors' part. I rediscovered something yesterday that might be a big help in both of those departments, Mozilla's Thimble. It is an authoring and publication environment (free) for html and Javascript. Since I last checked it out, you can have multiple files in a project, meaning that you can include art assets in what you produce and benefit from having separate css files etc. With the semester starting, it may be a while before I get to really check it out, but it seems like it might be the perfect compliment to ARIS.You would create something neat looking there, and then in ARIS create a "webpage" object and simply use the public url from the Mozilla project. You might even be easily able to create ways to view parts of your games (like the web backpack we used to have) outside of ARIS.
--
--
You are part of the ARIS authoring discussion group.
To post: email aris...@googlegroups.com
To unsubscribe: email arisgames+unsubscribe@googlegroups.com
For more options: http://groups.google.com/group/arisgames
---
You received this message because you are subscribed to the Google Groups "arisgames" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arisgames+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/arisgames.
To view this discussion on the web visit https://groups.google.com/d/msgid/arisgames/131ef344-67d2-4574-9e95-ad30599da760%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Grabbing entered values from fields and saving them
Convention for grabbing values entered in a form field:
var JS_variable_Name = document.getElementById('form_field_id').value;
- variable_name: variable name that reflects what vital it's supposed to represent
- form_field_id: id of the form field that you need the entered value from
- must use .value or javascript will try and grab the entire HTML element instead of just the entered number.
Example code:
var pulse = document.getElementById('field-pulse').value;
Saving values
Convention for saving vital values
1 var yourVital_id = ARIS.cache.idForItemName('ARIS_Vital_Name');
2 ARIS.setItemCount(yourVital_id, JS_variable_name);
- line 1 tells ARIS to return the object id# based on the in game name of the object
- line 2 tells ARIS to set the object's quantity based on the variable
- yourVital_id: variable name that reflects the corresponding vital
- ARIS_Vital_Name: The vitals object name in the ARIS program
- JS_variable_name: variable name from step one
Example code:
1 var pulse_id = ARIS.cache.idForItemName('Pulse');
2 ARIS.setItemCount(pulse_id, pulse);
--
--
You are part of the ARIS authoring discussion group.
To post: email aris...@googlegroups.com
To unsubscribe: email arisgames+unsubscribe@googlegroups.com
For more options: http://groups.google.com/group/arisgames
---
You received this message because you are subscribed to the Google Groups "arisgames" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arisgames+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/arisgames.
To view this discussion on the web visit https://groups.google.com/d/msgid/arisgames/6e81f264-c1b3-4c24-ba6e-5d5f32a40793%40googlegroups.com.
To unsubscribe: email arisgames+...@googlegroups.com
For more options: http://groups.google.com/group/arisgames
---
You received this message because you are subscribed to the Google Groups "arisgames" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arisgames+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/arisgames/CAP-Em2vU-KtkkFgSEhQJbc-e3%2B2obJUOEDQ0WHMHi642ci4Vdw%40mail.gmail.com.
To unsubscribe: email arisgames+...@googlegroups.com
For more options: http://groups.google.com/group/arisgames
---
You received this message because you are subscribed to the Google Groups "arisgames" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arisgames+...@googlegroups.com.
Visit this group at https://groups.google.com/group/arisgames.
To unsubscribe: email arisgames+...@googlegroups.com
For more options: http://groups.google.com/group/arisgames
---
You received this message because you are subscribed to the Google Groups "arisgames" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arisgames+...@googlegroups.com.
Visit this group at https://groups.google.com/group/arisgames.
To view this discussion on the web visit https://groups.google.com/d/msgid/arisgames/6e81f264-c1b3-4c24-ba6e-5d5f32a40793%40googlegroups.com.