Skip to content

Instantly share code, notes, and snippets.

View kirbodevv's full-sized avatar
:electron:

Kirill kirbodevv

:electron:
View GitHub Profile
@thomasleese
thomasleese / FramebufferTest.java
Created January 18, 2016 19:15
LibGDX FrameBuffer Test
import com.badlogic.gdx.*;
import com.badlogic.gdx.graphics.*;
import com.badlogic.gdx.graphics.g2d.*;
import com.badlogic.gdx.graphics.glutils.*;
import com.badlogic.gdx.math.*;
public class FramebufferTest extends ApplicationAdapter {
FrameBuffer fbo;
SpriteBatch batch;
@MobiDevelop
MobiDevelop / Snippet.java
Created August 12, 2013 21:58
An example of downloading a file and displaying progress with the LibGDX Net module.
package com.badlogic.gdx.tests.lwjgl;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Net.HttpMethods;
import com.badlogic.gdx.Net.HttpRequest;