JCPalmer Posted March 18, 2015 Share Posted March 18, 2015 https://googledrive.com/host/0B6-s6ZjHyEwUfkk0NVhGd1FGUk41T2QySVl4QWxMTkI2VXA4X056dmV1VDVMRWhDT2RydGM Wingnut, iiceman and jerome 3 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 18, 2015 Share Posted March 18, 2015 Error: Uncaught ReferenceError: BABYLON is not defineddialog.js:1 Uncaught TypeError: Cannot read property 'prototype' of undefined42b0cbc0b9b6e04640d9387e9f074de762b0e992.googledrive.com/:21 Uncaught ReferenceError: BABYLON is not defined Quote Link to comment Share on other sites More sharing options...
Temechon Posted March 19, 2015 Share Posted March 19, 2015 Same error with me, and it looks like this is the cause : Refused to execute script from 'https://raw.githubusercontent.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. But I like the title of the post ! Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 19, 2015 Author Share Posted March 19, 2015 I changed to a GoogleDrive hosted babylon.js, try again. Thought it most appropriate as the first public scene for the Dialog extension. Still need to make an even higher level control, where display has buttons on the left & right. Something like << 5318008 >>. Also need to provide an option for an opaque behind plane, in addition to a material option. Right now shows good because the very light background. Quote Link to comment Share on other sites More sharing options...
Temechon Posted March 19, 2015 Share Posted March 19, 2015 Haha ! Awesome ! Quote Link to comment Share on other sites More sharing options...
jahow Posted March 19, 2015 Share Posted March 19, 2015 Calculator "art". Brings good memories!! That extension looks powerful. Thanks JC, you rock. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 19, 2015 Share Posted March 19, 2015 lol!! Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 22, 2015 Share Posted March 22, 2015 I just took a look at a beautified dialog.js, and, wow... what a great piece of work! Absolutely a PRO-grade dialog system! JC is not screwing around. This is a dialog CLASS, like one might find in Xul, Java, WPF, jQuery-UI. Holy crap!!! YAY! I was plenty happy with having real mesh fonts to fly thru a scene... to make storytelling more fun. But this dialogWindow "class"... is something much more amazing than flying fonts. It's an early implementation of true 3D gui (that reasonably replicates our current loved 2D gui). Thank you, JC!!! You know what property we BJS users are going to want to use more than any other, right? Yep. Thickness (extrusion amount). That will be my favorite JcPalmer DialogClass property, I'm am sure of it. display.setValue(boobies);display.setKerning(".2em");display.setThickness(2); We'll want independent thickness setting for dialog border, too. And each letter in a word, sentence, paragraph, or story... should be allowed a random thickness between val and val. And then.. allow only each word to have a different thickness, not each letter. And then... allow each sentence... but not each word. And then, each paragraph... etc. etc. PARTY! People, it's a fully loaded dialogClass!! With events and stuff! And resizing! And xul/xaml things like spacers and springs and dragable dividers! JcPalmer as begun... XUL for webGL! I think that gets him a statue and a parade. We'll talk about your potential beach bungaloo, later, Jeff. Thanks again... this is going to be SO COOL! Quote Link to comment Share on other sites More sharing options...
dbawel Posted March 23, 2015 Share Posted March 23, 2015 Finally! An application of value! Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 23, 2015 Author Share Posted March 23, 2015 @dbawel - I know how to prioritize. @wingnut - This system's layout capabilities are one level below the 3 Java GUIs (Swing, SWF, & Android). They all have multiple ways that panels that can be layed out / nested together. I am / was familiar with Swing & Android actually at the source code level. I picked a single layout type, one very similar to Android LinearLayout, because if I could only have 1, that would be it. As far as some other stuff, like most form oriented interfaces, things are geared to having one default setting per object type, e.g. Button. This is commonly called Look & Feel. Individual instances can be modified, but many do not allow the third letter of a button or Label to be a different fontsize. You can probably do it, if you really need to though. You seem to approaching this from a document point of view. Multi-line Labels are not handled. Of course, someone might put in a PR to add a static method to Label like:public static makeParagraph(text : string) : BasePanel{ ...}Adding stuff like that right now is not a priority. This is a description of the Look & Feel adjust-ability: Wingnut 1 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 26, 2015 Author Share Posted March 26, 2015 I updated the link in the first post that adds the number scroller. Not entirely happy with the buttons, but going with that for now. Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.