Search found 120 matches
- Thu Apr 04, 2013 1:50 pm
- Forum: Programming Discussion
- Topic: Object Serialization in C#
- Replies: 5
- Views: 3531
Re: Object Serialization in C#
If the object is to send data across networks or save it to disk, it would be a good idea to apply some sort of Runtime-Length Encoding to your serializer as an option. That way you can compress groups of similar contiguous bytes to a smaller space. For example XXXXXYYYZZ can be converted to 5X3Y2Z ...
- Wed Mar 20, 2013 5:03 pm
- Forum: Game Development
- Topic: 3D Graphics Engine Progress
- Replies: 294
- Views: 127112
Re: 3D Graphics Engine Progress
Apple is worse in that regard to supporting OpenGL. OS X doesn't even support OpenGL 4 (through hardware)! Its highest full support is with OpenGL 3.2. And it's OS-limited, nothing to do with the Macintosh hardware, because you can just as well run Linux or Windows on a Apple computer and they do of...
- Sat Feb 23, 2013 4:21 pm
- Forum: Game Development
- Topic: Rad Raygun
- Replies: 67
- Views: 91141
Re: Rad Raygun
Nice job! I've seen a partial playthrough by Supergreatfriend, it looks great, and kickass music too.
- Fri Feb 08, 2013 2:21 pm
- Forum: Game Development
- Topic: My 3D rendering project
- Replies: 33
- Views: 15110
Re: My 3D rendering project
I'm still pursuing this project, it's still not dead. Lately I've been refactoring code for lights and shadow mapping, and finally added support for heightmaps to build terrains. A video of it in action here. efndzDbguTI I quickly realized how big of a toll terrain rendering takes on the hardware. I...
- Fri Feb 08, 2013 2:12 pm
- Forum: Game Development
- Topic: XNA's future?
- Replies: 4
- Views: 4482
Re: XNA's future?
That really sucks, kind of dashes my hopes of releasing an Xbox Indie Game soon :( I own have OS X (Macbook) too, so I will be trying MonoGame out too and see if I can get something up and running on both platforms. I am following this guide and everything on it seems pretty clear: http://www.facepu...
- Mon Sep 17, 2012 9:42 am
- Forum: Game Development
- Topic: My 3D rendering project
- Replies: 33
- Views: 15110
Re: My 3D rendering project
Well, it's been so long since I updated this thread but I've been putting off work for most of this year, and just started back on working on the 3D engine in July again. But most of all I want to announce that I've made it OPEN SOURCE!! It's called Meteor Engine and the code is hosted on CodePlex ....
- Thu Aug 30, 2012 9:43 pm
- Forum: Game Development
- Topic: What projects are you currently working on?
- Replies: 500
- Views: 186373
Re: What projects are you currently working on?
Made a bunch of progress with my bubble popping game so I wanted to show a video. Features so far: Playable 1 player mode, easily customizable menus, level progression, a level editor, 3D graphics for billboard sprites, and a slick screen animation system. eoC_oj31yg0 The graphics are far from final...
- Tue Aug 21, 2012 10:00 am
- Forum: Game Development
- Topic: Few problems :)
- Replies: 17
- Views: 8025
Re: Few problems :)
Tetriarch, that's a good way to start. The mock-up you made can be managed with a system like the one I described, with each part of the screen being its own self-contained "Screen" (in the term I use to define class) with its own logic. It helps keep your game code from spilling all over ...
- Mon Aug 20, 2012 10:04 am
- Forum: Game Development
- Topic: What makes an RPG Good
- Replies: 14
- Views: 6318
Re: What makes an RPG Good
For me, a very good, compelling story and/or battle system. Without both of these I would have a hard time keeping interest. I've read someone say "straight-laced RPGs are boring as hell." Honestly, I would have to agree, there's nothing really more to it than clicking through menus unless...
- Fri Aug 17, 2012 9:18 pm
- Forum: Game Development
- Topic: Few problems :)
- Replies: 17
- Views: 8025
Re: Few problems :)
I went beyond merely using stacks/vectors for game states, for the very reasons you said about wanting to use different kinds of game states. I started using lists where game "screens" can be removed or added to at any position. With this system, it's easier to understand them as layers, o...
- Tue Jul 24, 2012 2:19 pm
- Forum: Programming Discussion
- Topic: Using Modulo to get a chance of higher than 50%
- Replies: 7
- Views: 4563
Re: Using Modulo to get a chance of higher than 50%
Actually, now that I think about it, the number of bits you shift the integer to the right doesn't matter because each bit has an equal chance of being 1 or 0. As with using a divisor other than 2, the idea is almost the same because shifting a bit will give you a new number. Depending on what divis...
- Thu Jul 19, 2012 5:16 pm
- Forum: Programming Discussion
- Topic: Using Modulo to get a chance of higher than 50%
- Replies: 7
- Views: 4563
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.
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.
- Thu Jul 19, 2012 4:58 pm
- Forum: Programming Discussion
- Topic: SDL 2.0
- Replies: 13
- Views: 5282
Re: SDL 2.0
Damn it, I keep hearing these same things about SFML but I'm so stubborn I haven't taken the time to try and switch from SDL to SFML. I would rather start using OpenGL with SDL (if you already are steady with it). Using OpenGL to render stuff. Then you could keep all your code for music, threads, i...
- Thu Jul 19, 2012 4:48 pm
- Forum: Game Development
- Topic: HOW MANY Programming Languages have YOU learned?
- Replies: 26
- Views: 16071
Re: HOW MANY Programming Languages have YOU learned?
PHP - my first language as I started out in web development and is currently my job. C++ - first language using a compiler/linker. Wowsers, there's a lot of stuff here and I'm still not worthy of being its master. Java - only really used it for college. But it was the first time OOP really clicked f...
- Thu Jul 19, 2012 4:41 pm
- Forum: Game Development
- Topic: What Makes a GOOD Platformer?
- Replies: 13
- Views: 6715
Re: What Makes a GOOD Platformer?
Look at Spleunky for a really good platformer made in Game Maker. And it was supposedly the developer's first GM game too.
As far as what I look for in a good platformer, jumping that isn't floaty.
As far as what I look for in a good platformer, jumping that isn't floaty.