Search found 12 matches

by StarPirate
December 22nd, 2014, 8:57 am
Forum: Everything
Topic: 2D Gravity Simulator
Replies: 2
Views: 1640

Re: 2D Gravity Simulator

What are the requirements for someone to be able to run this program other than Microsoft Visual C++ 2013 Redistributable ?
by StarPirate
December 22nd, 2014, 12:20 am
Forum: Everything
Topic: 2D Gravity Simulator
Replies: 2
Views: 1640

2D Gravity Simulator

I've been working on this project for a couple weeks now and it's finally done so I wanted to share it with you guys. How to use it: There are 2 states: the Editor and the Simulation itself; While in the Editor mode you can create new particles using "c". You can give the particle a size, a location...
by StarPirate
December 18th, 2014, 5:34 pm
Forum: Everything
Topic: Release problem ( SOLVED )
Replies: 4
Views: 2112

Re: Release problem ( SOLVED )

One more question: is there something I can do to hide the bmp files i am using? I don't want the user to be able to see them.
by StarPirate
December 18th, 2014, 9:13 am
Forum: Everything
Topic: Release problem ( SOLVED )
Replies: 4
Views: 2112

Re: Release problem

Thanks, I did not know that. Once the project is done i will post it with some instructions :)
by StarPirate
December 17th, 2014, 11:10 pm
Forum: Everything
Topic: Release problem ( SOLVED )
Replies: 4
Views: 2112

Release problem ( SOLVED )

Hi guys. This is kind of a strange situation i got here. This project here, "Gravity Simulator", has no problem whatsoever building and running in debug mode or not. But when i try to open the release or debug executable the program triggers an assertion and i can't figure why because it works like ...
by StarPirate
December 14th, 2014, 7:26 pm
Forum: Everything
Topic: Linking error
Replies: 3
Views: 1941

Re: Linking error

Thanks albino. That was a rookie mistake
by StarPirate
December 13th, 2014, 11:08 pm
Forum: Everything
Topic: Linking error
Replies: 3
Views: 1941

Linking error

I just added font to my project ( from the beginner series ) and this line is giving me a linking error: gfx.LoadFont(&consolas, fontSurf, "Consolas13x24.bmp", 13, 24, 32); If you comment it you can see everything works as intended(without the font ofc). You can find it in the Game.cpp file. I've be...
by StarPirate
November 7th, 2014, 6:29 pm
Forum: Everything
Topic: Intermediate 15 problem
Replies: 9
Views: 3517

Re: Intermediate 15 problem

Problem is in BiSurfaceSequence, you declare left before right, then in Constructor you try defining right before left. Needs to be protected: SurfaceSequence* rightSeq; SurfaceSequence* leftSeq; BiDirection dir; Sounds like you might be declering objects in the wrong order, I'm no debugging master...
by StarPirate
November 2nd, 2014, 8:10 pm
Forum: Everything
Topic: Intermediate 15 problem
Replies: 9
Views: 3517

Re: Intermediate 15 problem

Copying the assets folder to a fresh framework ( and including the files in the project ofc ) did not work.
by StarPirate
November 2nd, 2014, 1:01 pm
Forum: Everything
Topic: Intermediate 15 problem
Replies: 9
Views: 3517

Intermediate 15 problem

Sorry to be bothering you guys again. I've hit another brick wall in intermediate lesson 15. The problem is that whenever the function CloneMirrored() is called an unhandled exception appears. SurfaceSequence* CloneMirrored() const { Surface** mSurfaces = new Surface*[ nSurfaces ]; for( int i = 0; i...