Search found 21 matches

by SomeAwesomeUsername
Fri May 17, 2013 7:52 pm
Forum: Game Development
Topic: High School Game Dev - Pack Rat[Link to game inside]
Replies: 3
Views: 2855

Re: High School Game Dev - Pack Rat[Link to game inside]

bbguimaraes wrote:I tested it on wine, runs perfect. And I just couldn't stop laughing the first time I launched it. In a good way, of course, this is awesome (specially the hard mode).
We laughed the whole time we were making it, so that's good! :)

Thanks for playing, any input we get on this is awesome!
by SomeAwesomeUsername
Mon May 13, 2013 10:20 pm
Forum: General/Off-Topic
Topic: Greatest watch ever.
Replies: 2
Views: 2266

Re: Greatest watch ever.

This is amazing
by SomeAwesomeUsername
Mon May 13, 2013 10:14 pm
Forum: Game Development
Topic: High School Game Dev - Pack Rat[Link to game inside]
Replies: 3
Views: 2855

High School Game Dev - Pack Rat[Link to game inside]

Me and three other friends are high school seniors who have been working on this game for a few months. We would love input or really if you just want to play it,(Windows only) https://www.dropbox.com/s/iq0w5xqcns8kegy/Pack%20Rat.zip http://24.media.tumblr.com/debbedc1a0dfd8d6292a78fc722abf2d/tumblr...
by SomeAwesomeUsername
Thu Jul 19, 2012 9:47 pm
Forum: Programming Discussion
Topic: Using Modulo to get a chance of higher than 50%
Replies: 7
Views: 3543

Re: Using Modulo to get a chance of higher than 50%

(edit: I didn't realize you want to use just one seed variable. Any reason why? Maybe you can consider shifting a few bits for a second comparison. If the integer is 32 bits (seed % 2 == 0) || ((seed >> 16) % 2 == 0) Would give you a 75% chance of being true. Thank you! I'm loading game objects int...
by SomeAwesomeUsername
Mon Jul 16, 2012 6:52 pm
Forum: Programming Discussion
Topic: Using Modulo to get a chance of higher than 50%
Replies: 7
Views: 3543

Re: Using Modulo to get a chance of higher than 50%

I originally was doing that, but want to keep to one variable. I'm using more than 1 random number in my program and eventually want to save everything that's randomized to an XML file. I may be wrong, but I was thinking that having one variable would be easier to store to the XML file and be more e...
by SomeAwesomeUsername
Mon Jul 16, 2012 5:08 pm
Forum: Programming Discussion
Topic: Using Modulo to get a chance of higher than 50%
Replies: 7
Views: 3543

Using Modulo to get a chance of higher than 50%

Using a random seed, how can I get a number higher 50% chance? //if(seed % 2 == 0) // This is a 50% chance //if(seed % 3 == 0) // This is a 33% chance //if((seed % 2 == 0) && (seed % 3 == 0)) //Same as 1/6th, 16% Chance considering 1/2 is 50%, 1/1.5 would be 66.6%, but when working with whol...