GithubHelp home page GithubHelp logo

vortex-engine's Introduction

Vortex-Engine

A Pure Java Game Engine. In Development.

Notable Features: - GPU Acceleration

Audio Support: - .WAVE .AU .AIFF .AIFC .SND <- Only - Supported file formats can be either 8-bit or 16-bit, with sampling rate from 8 kHz to 48 kHz.

Short Comings (In Development): - Sprite Transparency not supported yet - Work Around: When creating graphics for your application, set pixels that would otherwise be set to transparent. To a fluro pink/green and 'Override' the 'setPixel' method in the Surface class. Force the function to not render the fluro pink/green pixels.

		public void setPixel(int x, int y, int colour){
		
			/*
			
												  A { R  G  B }
				Colour Format (integer) -> 0x FF  00 00 00 -> 0xFF000000
				
			*/
			
			int colour = 0xFFFF00FF <- Fluro Pink
			int colour = 0xFF00FF00 <- Fluro Green
			int colour = 0xFF00EE00 <- What ever you want, realy.
			
			if(colour != pink/green/your_chosen_colour){
			
				int location = x + (y * bounds.width);
				
				if(location > 0 && location < pixels.length){
					this.pixels[(x - camera.x) + ((y - camera.y) * bounds.width)] = colour;
				}
				
			}
			
		}

General Usage:

public static void main(String[] args){

	Window window = new Window(new Engine(new Dimensions(width, height)){
		
		@Override
		public void initialise(AssetLoader assets){
			
		}
		
		@Override
		public void update(Input input, int delta){
		
		}
		
		@Override
		public void render(Surface surface){
			
		}
		
	}, "Window Title");
	
	window.engine.start();
	
}

vortex-engine's People

Contributors

quickeasycode avatar thomasthatcher avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.