Skip to content

Instantly share code, notes, and snippets.

Weston Rye (Demod) demodude4u

Block or report user

Report or block demodude4u

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View PreferencesConcept.java
import java.awt.Point;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.stream.Collectors;
View Java2DGameTemplate.java
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.image.BufferStrategy;
import javax.swing.JFrame;
public class Java2DGameTemplate {
public static void main(String[] args) throws InterruptedException {
@demodude4u
demodude4u / GamePrototypeTemplate.java
Last active Feb 9, 2018
Bare bones game prototype essentials to make a simple test game in Java2D
View GamePrototypeTemplate.java
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.image.BufferStrategy;
You can’t perform that action at this time.