Giter Club home page Giter Club logo

gojira2d's People

Contributors

gitter-badger avatar maxfish avatar mks-m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gojira2d's Issues

Rendering problems with GTX970

It looks like that the last vertex is missing.
I've tested it on MacOSX 10.11.6, here are the details of the GPU

VIDIA GeForce GTX 970:

  Chipset Model:	NVIDIA GeForce GTX 970
  Type:	GPU
  Bus:	PCIe
  PCIe Lane Width:	x16
  VRAM (Total):	4095 MB
  Vendor:	NVIDIA (0x10de)
  Device ID:	0x13c2
  Revision ID:	0x00a1
  ROM Revision:	VBIOS 84.04.36.00.5e
  Displays:
PHL 234E5:
  Resolution:	1920 x 1080 @ 60Hz (1080p)
  Pixel Depth:	32-Bit Color (ARGB8888)
  Display Serial Number:	UHB1424006540
  Main Display:	Yes
  Mirror:	Off
  Online:	Yes
  Rotation:	Supported
  Television:	Yes

screen shot 2018-04-08 at 21 21 40
screen shot 2018-04-08 at 20 30 02

Add support for a camera

We are currently not using a camera to control the view matrix.
To be able to scroll over a bigger level we need to implement something that will contain the projection matrix as well, since the zoom is done by that matrix.

We should probably use float64 everywhere

Currently, the library uses float32. It does so to pass data easily to OpenGL.
Go's math libraries use float64, Box2D uses float64, MathGL uses float64...
I think it would be easier to switch to float64 and avoid a lot of conversions and to cast to float32 only before passing data to OpenGL

Cannot run the snake demo

I've tried running the snake demo via:
go run demos/snake/main.go
but it gives this error:
# command-line-arguments demos/snake/main.go:24:10: undefined: newSnakeGame

Box2d shouldn't be as external repo

golang has fairly good tooling to pull external libraries from github, all we need to do is:

  • run go get -u github.com/ByteArena/box2d
  • refer to that package in imports: import "ByteArena/box2d"
  • add that information to README :)

Add basic joy mapping

Proper joystick mapping (from sdl2) is coming with glfw 3.3 which is 95% complete.
Instead of building something complex I am going to add support at least for the xbox360 and ps4 controllers, then we'll see

Rename Context

Context should be renamed to something different, e.g., Renderer
As part of this change, some of the GL code we have spread around should be moving into Renderer

App initialization is slow?

takes more than a second to just a.InitApp():

2018-04-09 20:02:57.909825167 +0200 CEST m=+0.000573251
2018/04/09 20:02:59 OpenGL version 4.1 ATI-1.66.31
2018-04-09 20:02:59.019127262 +0200 CEST m=+1.109872546

Add support for tiled maps

'Tiled' editor can create tiled maps but also maps composed by free form images. It can place triggers and entities.
It could be a good candidate to support a wide range of possible games

GenFramebuffers crashes

While adding support for framebuffers and postprocessing, I've found out that the following method call crashes the app:

gl.GenFramebuffers(1, &fb.fbo)

It looks like it's an issue of glfw, I am going to check their page to see if it's known

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.