It's not glitchy, the point about gm_chrome is so you can make a browser and turn it into a projector for your personal Garry's Mod reasons. And it's really hard to link a game on the Steam Community In-Game menu, so it's nearly impossible to link the Steam Browser on GMod, but only Garry can do it.
Have some one an idea what the function BASS.p_PendingChannels of gm_bass does or returns?
Awesome binaries! But I still have some problems.
The first problem is this:
Why does it copy the site infinitely? And why is it always quadratic?
Is there any way to fix this?
And this is the next problem:
I can only use a 1024x512 texture. If I'm going to use 512x512 there are some HLČ textures drawn(randomly), and the whole thing doesn't work.
Thanks, works now.
Gm_chrome is broken since last update, it crashes the game on start up.
Isn't it not needed anymore since HTML uses WebKit? Or it would be if all HTML panels weren't just blank now.
You can fix the animate bug by oscillating the size of the panel.
So wait, is gm_chrome confirmed to be broken by the latest object. If it is (i'm gonna sound dumb here) how do i make a controllable 3d2d panel without it?
I just made a small documentation of gm_bass.
There are some functions that I don't know, I hope you can use it. ;)Code:BASS.StreamFileURL(url string, unknown int (use -1), callback function(channel, errorcode int)) -- opens a stream (given with url string), set an unknown int (the 2nd argument) and calls set a callback function. The callback function returns a channel if it can played else it returns nil and the errorcode returns a int it returns nil if there no errors. channel = BASS.StreamFile(sound file string) -- Returns a channel. BASS.SetPosition(position vector, velocity vector, angle angle, up vector) -- Set the position of player, for creating 3d would sound. BASS.p_PendingChannels() -- Unknown. channel:play() -- Plays the channel. channel:pause() -- Pauses the channel. channel:stop() -- Stops the channel. channel:setvolume(float) -- Set the volume. channel:setposition(number seconds) -- Set the playing position. channel:set3dposition(position vector, forward vector, velocity vector) -- Set the position of the sound, for creating 3d would sound. channel:getlength() -- Returns the length of the playing sound. channel:getposition() -- Returns the start point of the playing sound. channel:getplaying() -- Returns if a sound is playing. channel:fft2048() -- Returns the spectrum table (table with 1024 floats). channel:getlevel() -- Unknown. channel:getrawtag(unknown int) -- Unknown. channel:gettag(format string) -- Returns the tags formated by the given format string.
I have followed the instructions in the readme but the browser isn't there (entries)
Does this work for 64 bit cause I crash every time i try anything :(
Edit: The game crashes when you try to require it.
Will this ever be fixed?
BTW: The Awesomium license is Free for commercial Indie game makers, so Garry could fix it and add it to gmod, but to get this license garry must earn less than $100k a year with his company, that could be a problem.
You can do this fine with 3d2d. No reason for garry to buy a license.
Would anyone be willing to fix this yet?
I don't think it's worth it anymore, there's many other ways to make a plugin like this without gm_chrome, look at physx
GMod Tower has a fixed version on their repository. Get the Awesomium binaries here http://gmodtower.googlecode.com/svn/trunk/ and the module here http://gmodtower.googlecode.com/svn/...ludes/modules/.
No source code of the fixed version?
There were no source code changes to chrome in the fixed version, only in the SDK. I believe I had to add a virtual destructor to IVTFTexture.
Pretty awesome module. I've been avoiding using it since its considerably more work for me as the coder, and some people are just scared of things that even try to use modules, but now that it's in gmod 13 it's quite exciting! I dont know if Garry used your implementation of it or not but either way it's a WIN.
[QUOTE=AzuiSleet;14009381]This is my second attempt at a browser in gmod. LLMozLib had too many issues, but Awesomium reached a stable point, and shows a lot of potential. This is my binding for it in gmod.
This uses Awesomium! http://princeofcode.com/awesomium.php
how to instal the Awesomium! module pls reply