Unity Community |
Is there any other way of flipping the texture? I just realized that my fix with GUIUtility.ScaleAroundPivot is going to be hard to pull off when using GUILayout to create more fluid GUIs.
Anyone get this to work in a Windows Build with Unity 3? I keep getting errors:
Its saying it can't find the DLL, but the path its looking at is correct, and the dll shows up in that directory.DllNotFoundException: <... build project data path>/Plugins/UnityBerkeliumPlugin.dll
at (wrapper managed-to-native) UnityBerkelium:init ()
at RenderWebsite.Start () [0x00000] in <filename unknown>:0
Hi Chirhotec, I'm also using Unity 3, and am able to get the Berkelium Plugin to work within the editor, but I get the same error when attempting to build and run:
DllNotFoundException: [full literal path to project Data folder]/Plugins/UnityBerkeliumPlugin.dll
at (wrapper managed-to-native) UnityBerkelium:init ()
at RenderWebsite.Start () [0x00000] in <filename unknown>:0
The dll is indeed at that exact location. Anybody have any ideas?
Update: solution below
Last edited by deskchicken; 10-22-2010 at 08:49 AM.
Chirhotec, I got it working... pilot error. I'm a bit of a n00b, so I can't say this is the best or intended solution, but I copied the contents (just the files, not the subfolders) of this folder:
http://github.com/jdierckx/UnityBerk.../test-release/
into my executable's directory, and it worked. I had initially grabbed the contents of the Berkelium/bin directory - some of those dll's are different (older?). The contents linked above did it for me anyhow. Let me know if that works for you (maybe you've already figured it out anyway)
[edited url and for clarity]
Last edited by deskchicken; 10-22-2010 at 08:48 AM.
Wait. Can i make what i've been planning for a long time for my game now... arcade masheens? That play flash games of course. Is THAT possible? O:
This is amazing.
This is evil.This could literally revolutionize indie gaming with awesome integrated ads.
Hope to see scrolling support soon, as there's just a crazy amount of possibilities for this type of integration. Everybody who thought "adverts!" needs to throw themselves off a bridge, by the way. I'm serious.
Ah but you forgot about racing games, when if you DON'T have ads it looks wrong and people complain![]()
Cameron Bonde
camsvirtualrealityreality.blogspot.com
Thanks for heads up. I did end up using the files from berkelium/bin, but pointing to their test-release made me realize I had been copying the files into the build's data directory, not the directory containing the executable. Once I put it in the right directory, it started working again.Chirhotec, I got it working... pilot error. I'm a bit of a n00b, so I can't say this is the best or intended solution, but I copied the contents (just the files, not the subfolders) of this folder:
http://github.com/jdierckx/UnityBerk.../test-release/
into my executable's directory, and it worked. I had initially grabbed the contents of the Berkelium/bin directory - some of those dll's are different (older?). The contents linked above did it for me anyhow. Let me know if that works for you (maybe you've already figured it out anyway)
[edited url and for clarity]
Wow, for some reason I don't get emails anymore when there are replies to this thread.
Anyway, I'm afraid I won't have a lot of free time to work on this in the near future. I am busy with other projects, and decorating my home. Did anyone try adding multiple web views to one scene at the same time? Cause I didn't get around to create a decent test scene.
The scrolling involves some more work because of how the texture updates work right now. We would have to store a separate buffer to do the scrolling in, which would increase memory usage a lot. It could be made optional of course. A workaround for now is adding a fixed element to your site, so that it always has to redraw the entire view when scrolling.
Does anyone have a use case for scrolling sites inside a game anyway? Maybe for tutorial-like screens...
Greetings,
JeDi
I went ahead and made a Mac framework version of berkelium, suitable for linking into a Unity plugin bundle (or any other use really). In case anyone is interested I've uploaded the framework here. You just need to add it to your plugin project as an existing framework and then make sure it's included in a "Copy Files" phase as a framework. Here's a screen cap of it working in the current test framework.
-- edit ---
if you downloaded the framework previous to seeing this message, it has been updated to fix a full path internal link issue and replace with relative links.
Last edited by stubborngorilla; 11-12-2010 at 03:46 PM. Reason: fixed attachment
that's greatI went ahead and made a Mac framework version of berkelium, suitable for linking into a Unity plugin bundle (or any other use really). In case anyone is interested I've uploaded the framework here. You just need to add it to your plugin project as an existing framework and then make sure it's included in a "Copy Files" phase as a framework. Here's a screen cap of it working in the current test framework.
I made a fork of JeDi's git branch and updated the project to include the mac plugin alongside the windows version. I believe it is now resaved as a 3.1 project, in case that matters for anyone, but the old scene file should still work too. You can find the new branch here. If anyone downloads this and finds it working please let me know, as so far I've only tested on one machine.
Looks very interesting. Have you got scrolling working? and how are you experiencing stability running berkelium?
Keep up the good work!
that's great. It'll be terrific to have a unified web solution
Cameron Bonde
camsvirtualrealityreality.blogspot.com
stubborngorilla, tested your branch on my macbook pro, test project worked perfectly. Great to see this wonderful plugin working on mac too now
| www.quickfingers.net || Follow me on Twitter |
Step-seq : A music creation toy based on ease of use and ear pleasing results!
Stratosfear : A 7 Day Game Prototype Challenge based on themes "Rising" & "Companion"
Surrender : Epic Sci-fi desert warfare
SRL : My 7 day roguelike game on board an alien infested cargo space ship
Actually I did just get scrolling working. Not sure how performance is yet on larger scrolling windows, but seems to work fine on my 512x300 test window. I don't think it causes a memory issue either. I also found a bug in the dirty rect update code that may or may not appear outside of the scrolling case.
Stability seems fine but I haven't really done a large amount of testing yet. Has this plugin been historically unstable for people?
I will post my scrolling updates later this week after doing some more testing and possibly further development.
Looks really great, since a long time ago I'm looking for something like this for win.
What about the players or users, do they need install chrome or some libraries?
Have you tested in web?![]()
Azul, it comes packaged with everything you need already other than a flash browser plugin.
It's taking a bit longer to package up my updates than I anticipated, but if anyone is interested let me know and I'll try to get to it soon.
Hey stubborngorilla, I would love to take a look at the package with scrolling working, I downloaded the one from here https://github.com/sgorilla/UnityBerkeliumPlugin but scrolling does not seem to work.
Is there any chance I can get a look at a project with scrolling working? Thanks.
http://forum.unity3d.com/threads/665...pper-for-Unity
Uses lgpl version of Awesomium, and scrolling is working