Giter Site home page Giter Site logo

Game not starting about captainbumbu HOT 9 OPEN

mishunika avatar mishunika commented on August 23, 2024
Game not starting

from captainbumbu.

Comments (9)

mishunika avatar mishunika commented on August 23, 2024

Hm, very strange... On my Windows XP virtual machine it works, on Mac OS X works too. Both were compiled using MinGW GCC.
Have you tried to attack after pressing the start button? What exactly happens?

My colleagues are using Win7, so I hope they'll provide some feedback ASAP.

Initially project wasn't building at all (as BattleGrid.cpp wasn't included nor in project nor by include directive).

Probably your IDE doesn't link it properly, because there is a BattleGrid.h include. Anyway, if the workaround fits in there, then it's okay for now.

from captainbumbu.

sergiu-terman avatar sergiu-terman commented on August 23, 2024

Have you tried to click on the grid from right ?

from captainbumbu.

bumbu avatar bumbu commented on August 23, 2024

Sure, I tried to click on both grids many times (before and after pressing Start button).
The only thing that I observed while clicking on right grid is a 1-time flickering.

from captainbumbu.

Murzic avatar Murzic commented on August 23, 2024

In case WM_CREATE, in the LoadImage functions, try to change the
pathnames. Example: from "bmp/punctisorx2.bmp" to "../bmp/punctisorx2.bmp"

2013/5/21 bumbu [email protected]

Sure, I tried to click on both grids many times (before and after pressing
Start button).
The only thing that I observed while clicking on right grid is a 1-time
flickering.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-18176044
.

from captainbumbu.

bumbu avatar bumbu commented on August 23, 2024

Yes, this solved the problem. Thanks.
Please update .cbp project or source file or add a note into readme in order to assure that the other people will not have the same problem.

from captainbumbu.

Murzic avatar Murzic commented on August 23, 2024

Sure, no problem.

2013/5/21 bumbu [email protected]

Yes, this solved the problem. Thanks.
Please update .cbp project or source file or add a note into readme in
order to assure that the other people will not have the same problem.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-18180077
.

from captainbumbu.

sergiu-terman avatar sergiu-terman commented on August 23, 2024

The problem is that it can depend from a person to another. For example the in my case the bmp file paths are realative to proect path. In your case it's relative to main.cpp.

from captainbumbu.

bumbu avatar bumbu commented on August 23, 2024

The idea is that you have a .cbp file which is a Code::Blocks project file. So it logically means that it is intended to be built from that IDE. But the fun part is that you can keep your structure but to change project properties (where to build exe, or what's working directory for executable). In such a way you'll have a win-win situation.

And a note in readme about working build options is always a good idea. You spent a lot of time on your project and you know it better than anyone else. Save some time of new-comers.

from captainbumbu.

Murzic avatar Murzic commented on August 23, 2024

I have just added Additional Notes in README file.

2013/5/21 bumbu [email protected]

The idea is that you have a .cbp file which is a Code::Blocks project
file. So it logically means that it is intended to be built from that IDE.
But the fun part is that you can keep your structure but to change project
properties (where to build exe, or what's working directory for
executable). In such a way you'll have a win-win situation.

And a note in readme about working build options is always a good idea.
You spent a lot of time on your project and you know it better than anyone
else. Save some time of new-comers.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-18180694
.

from captainbumbu.

Related Issues (3)

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.