Giter VIP home page Giter VIP logo

chadthecoder / graphicsproject Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 3.0 194.29 MB

Graphics project using SDL2, ASIO OPENGL, GLEW, WebGL, miniaudio, stb (Only stb_image.h right now), assimp (implementing now), PerlinNoise from Reputeless, and GLM. Following multiple tutorials to learn how to code graphics in C++.

C++ 22.97% Makefile 0.05% Shell 0.01% C 41.01% Objective-C 0.43% CMake 0.20% M4 0.06% JavaScript 1.29% HTML 33.57% CSS 0.24% GLSL 0.01% SCSS 0.02% Objective-C++ 0.14%

graphicsproject's People

Contributors

anubhav1206 avatar chadthecoder avatar

graphicsproject's Issues

OS Detection (mainly for sizing issues)

The program needs to be able to detect which Linux distro or other OS is being used. Mainly for Ubuntu problem of top bar messing up window size if not full screen. Currently only detects if Windows or else.

Asio bind keeps port from being used again

Can not open server again after closing because port is still being used from the last call. Can manually stop process with sudo "kill -9 (pid)" on Linux. Need to figure out how to close in program to save memory and close process on server close.

Sizing Issue (Only after OS detection is done)

Once OS detection is done, then the Ubuntu non-fullsceen problem needs to be fixed. This problem is caused when the Ubuntu program is not fullscreen and causes the bottom wall to go below the screen.

Figure out networking.

Add networking to asio folder. Purpose is to learn and eventually figure out how to create a game server for multiplayer.

Possibly helpful MIT licensed library?

https://github.com/DarkWanderer/NetworkLib

Edit:

Solution?:

Use TCP for connection status now (possible chat later) and UDP for updating graphics later? Give info to server and server sends correct info back with udp. Use standalone asio.

Convert client to async as well? Convert server to call send even if doesn't always receive?

https://gamedev.stackexchange.com/questions/204122/input-processing-on-the-server-side

https://gamedev.stackexchange.com/questions/97699/game-networking-client-request-or-server-sending

https://en.sfml-dev.org/forums/index.php?topic=9327.0

https://stackoverflow.com/questions/19887537/how-to-detect-when-a-boost-tcp-socket-disconnects

https://gamedev.stackexchange.com/questions/20425/game-logic-on-the-server-good-or-bad

Data function in std namespace?

Data function was not working. It is possible that I needed to put std:: before function as I am not using namespace std;

Add gitignore

Self explanatory. Should have gitignore for exe, linux binaries, and .o files (Any others you can think of?).

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.