Coder Social home page Coder Social logo

ssusnic / windows-console-game-framework Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 1.87 MB

This repo contains a simple game framework for making Windows Console games in C++, and the source codes of the games made by using it.

License: GNU General Public License v3.0

C++ 90.09% Batchfile 1.21% C 8.70%
cpp c-plus-plus game-development game-engine gamedev game-2d game-dev console console-game console-framework

windows-console-game-framework's People

Contributors

ssusnic avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

windows-console-game-framework's Issues

compile error

↓↓↓↓↓↓main.cpp↓↓↓↓↓↓

#include "Consoler.h"

class Game : public Consoler
{
public:
	using Consoler::Consoler;
	
	void Setup() override
	{
	}
	
	void Update() override
	{
		ClearScreen();
	}
    void ShowPauseInfo() override{

    }
};

int main(){
	Game game(L"Consoler Demo", 320, 200, 1, 1, 60);
	
	game.Run();
	
	return 0;
}

Error:

undefined reference to `__imp__ZN8ConsolerD2Ev'

I compile with

g++ -Isrc/Consoler main.cpp -o MyGame.exe -DUNICODE -O3 -lwinmm -Lsrc/Consoler
 

since -lConsoler was undefined I didn't put it in the command
and I tryed with the .bat but it doesn't work.

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.