BL-Browser - The in-game Browser [Experimental][v0.2.1]

Author Topic: BL-Browser - The in-game Browser [Experimental][v0.2.1]  (Read 47749 times)

This is pretty cool, I never knew this was possible!

Where's the brick to use the browser located?

page 2
Badump, new version released on the GitHub.
This version now supports a texture size of 1024x1024, allowing for a larger browser screen.
That also means if you try to attach it to a texture with a size of 512x512 unexpected results will happen.
There is still currently no support for mouse events yet, but that will be the next thing I work on.
So for now you can only navigate directly through URLs.
An additional note, you have to use complete URLs, containing the http:// / https://, so links such as www.google.com won't work.

Well, here's an image of it in use with Youtube.


Brick_Screen, and Print_Screen_Cinema.


These functions would be great:

AWS_refresh(); - Refresh the page using the current url.
AWS_getHTML(%index); - Return the line at the requested index
AWS_getLineCount(); - Return the index count (aka the amount of lines in the document)
AWS_getURL(); - Return the current URL
AWS_setHTML(%index,%html); - Set the line at the requested index
AWS_onDoneLoading() - Called when the page is done loading
AWS_onRedirect(%url) - Called when the page redirects (either by a  redirect header or just via a link). Includes the link that we're redirecting to.
AWS_isDoneLoading() - Returns whether or not the page is still being loaded.
AWS_onLine(%line) - Similar to TCPObject's onLine method. When a line is received while the page is loading, it calls this w/ the line we received.

Example of loading a webpage:

step1. call AWS_onRedirect(%url)
step2. call AWS_onLine(%line) while we receive data (includes header data if possible)
step3. call AWS_onDoneLoading()
« Last Edit: February 02, 2017, 03:52:31 PM by RTBARCHIVE »

What about mac users? ;-;




crashed a few times but im next to snot now :D

My computer wont let me download this, this is why RTB never should of shut down


What about mac users? ;-;

Wine

My computer wont let me download this, this is why RTB never should of shut down
Even if RTB didn't shut down, it wouldn't be possible to download with it.

I tried downloading it
I extracted all the stuff into my bl folder and overwritten what I could
I put the blockland logo in the blockland folder as read only
I opened blockland normally

I typed this attachModule("AWSHook.dll"); into the console and pressed enter
Nothing is loving happening, what the loving forget am I doing wrong

Im so goddamn mad because Ive been struggling with this stuff for a while and I'm at the point to where I wanna burn my computer then hang myself

open blockland using the run.bat

I tried downloading it
I extracted all the stuff into my bl folder and overwritten what I could
I put the blockland logo in the blockland folder as read only
I opened blockland normally

I typed this attachModule("AWSHook.dll"); into the console and pressed enter
Nothing is loving happening, what the loving forget am I doing wrong

Im so goddamn mad because Ive been struggling with this stuff for a while and I'm at the point to where I wanna burn my computer then hang myself

open console
AWS_BindTexture();