Search found 432 matches
- November 22nd, 2013, 6:06 am
- Forum: Everything
- Topic: [In Progress] My First Game - Opruh Winfry
- Replies: 40
- Views: 12541
[In Progress] My First Game - Opruh Winfry
I'm working on my first game, Opruh Winfry. Currently the server is . Offline http://www.freewebs.com/smurf-job/opruh%20winfry%201.4.rar Controls: Note: You can also connect a wired Xbox360 Control and move with the left stick and use A to jump. You can't use creative mode with the controller yet. H...
- November 21st, 2013, 1:04 am
- Forum: Everything
- Topic: HELP!!! Lesson 10 Beginner
- Replies: 5
- Views: 2405
Re: HELP!!! Lesson 10 Beginner
In case you didn't get it working, here's what i'm using and it's working fine atm. void D3DGraphics::DrawLine(int x1, int y1, int x2, int y2, int r, int g, int b) { int dx = x2 - x1; int dy = y2 - y1; float m = ( float )dy / ( float )dx; float b1 = y1 - m*x1; if( abs( dy ) > abs( dx ) ) { int x; if...
- November 20th, 2013, 9:57 pm
- Forum: Everything
- Topic: HELP!!! Lesson 10 Beginner
- Replies: 5
- Views: 2405
Re: HELP!!! Lesson 10 Beginner
Code: Select all
for( int y = y1; y <= y1; y++ )
{
int x = m*y + b;
PutPixel( x,y,r,g,bl );
}
- November 17th, 2013, 12:28 am
- Forum: Everything
- Topic: Issue accessing struct in Game class
- Replies: 5
- Views: 2232
Re: Is it possible to call a function in game from outside g
Nvm got it figured out tyvm LuisR14
- November 16th, 2013, 3:25 pm
- Forum: Everything
- Topic: Issue accessing struct in Game class
- Replies: 5
- Views: 2232
Re: Is it possible to call a function in game from outside g
read 5th post homies
- November 16th, 2013, 2:49 pm
- Forum: Everything
- Topic: Issue accessing struct in Game class
- Replies: 5
- Views: 2232
Issue accessing struct in Game class
Read 5th post
- November 16th, 2013, 2:40 pm
- Forum: Everything
- Topic: Program pausing on minimize
- Replies: 3
- Views: 1751
Re: Program pausing on minimize
It fixed itself, my apologies, I don't know what was causing it.LuisR14 wrote:are you trying to say that you want it to pause when minimized? or is it the other way, you want it to 'not' pause when you minimize it?
- November 16th, 2013, 3:37 am
- Forum: Everything
- Topic: Program pausing on minimize
- Replies: 3
- Views: 1751
Program pausing on minimize
Anyone know how to fix the issue where if the program is minimized, it is paused?
Thanks
Thanks
- September 27th, 2013, 7:24 pm
- Forum: Everything
- Topic: Platformer Gravity Issue
- Replies: 5
- Views: 2473
Re: Platformer Gravity Issue
Keep in mind though, if you were to use float values or double values(<-overkill imo) for the x/y values then this would cancel out the issue.Multibyte wrote:I'll keep this in mind. It sounds like the kind of issue one may encounter any time.
- September 27th, 2013, 1:38 pm
- Forum: Everything
- Topic: Platformer Gravity Issue
- Replies: 5
- Views: 2473
Re: Platformer Gravity Issue
Nice work figuring it out yourself. Thank you! In case anyone is wondering why it wasn't working before, i've finally realized why. Ints are always truncated. I was adding/subtracting a float value from both ints. Since ints aren't rounded, this was an issue. Example: Let's say gravity is now at 1....