2D Survival Platformer
Apr 18, 2014I'm programming a 2D pixel-based platformer, kind of like Terraria, but I ran into a problem with the crafting mechanism. My goal was to create a 3x3 crafting space when you hit "p" while holding a workbench. However, what ended up happening was a straight line of cubic crafting spaces.I realize that this is a rediculous amount of code for such a small problem.
package net.figgle.minecraftplatformer;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.MouseEvent;
[code]...