Coleco

Members
  • Content count

    429
  • Joined

  • Last visited

Community Reputation

164 Neutral

About Coleco

  • Rank
    Member
  1. 2D in OpenGL and MacOSX (Cocoa)

    Hey thanks guys!! Those are some good links. thanks again cbmeeks
  2. The search feature is down at the moment so I couldn't easily find the information I need. Anyway, I have a pretty cool "2D using 3D hardware" engine in DirectX 9 for Windows. I also have a Mac and I would like for my project to be cross platform. Now, before people start mentioning SDL or any other cross-platform engine, please note that I have a bazillion hours in my Windows project (including the editors in .NET). So, I'm not really looking for a way to program on one platform and compile for both. Nope. I am doing it the hard/stupid way. On the PC, I am using VB.net for my editor and DirectX 9 (in C++) for the engine. On the Mac, I am using XCode 1.5 for my editor and OpenGL in Object-C for the engine. Why? I am MAD I tell you! hehe Since my project (Metroid Classic) is a 2D game engine, I need some tutorials on using OpenGL for 2D tile-based games. (for the Mac) My plan is to make the data from both editors (on the PC and Mac) in a format that either engine can read. I know this is very difficult but I am damn near completion on the PC end and I have just recently gotten a Mac. What would really be cool is just a tutorial for displaying a sprite. Short and simple that I can build on. That's what I did for the PC. I got one sprite going (using the ID3DXSprite) and went from there. Thanks for any help. -cbmeeks
  3. ah...well, I am a .NET newbie....care to enlighten? I can't seem to find them int he properties. thanks
  4. I am usually pretty good at making sure all of my collections, sprites, textures, etc are freed properly but sometimes I might miss one... are there any good programs out there that might help in locating objects that are created but not properly disposed of at program exit? thanks! cb
  5. ontheheap: how did you get those cool menu effects??
  6. Hey! Thanks a bunch dude...that is what I needed! New to the .NET stuff. Also, I will check into that FXCop....I guess old habbits die hard. But then again, I've always worked as a one-man programming team at my job and play so my naming schemes have always worked. :-)
  7. Thanks...but now I am stumped on this. I would like to do something like: w = col("grass").GetTextureWidth "GetTextureWidth" is a member of the clsTexture. Does that make sense? thanks!!
  8. I am writing a map editor that will have multiple textures to pick from. My texture class works well but what I am having trouble with is managing multiple texture classes. basically, I am doing: dim Col as Collection Col = new Collection ... dim tex as clsTexture 'texture class is "clsTexture" tex = new clsTexture tex.ChangeName("grass") tex.LoadTexture("grass.png") Col.Add(tex) That works. However, if I have many textures in the collection, I can't seem to access any of them...for example, how would I scan through the collection looking for a texture named "grass" or "water"? The collection seems to only have "Add", "Remove", "Count", etc. Hope I am making sense...oh, and yes, I googled but to no avail. Thanks!
  9. Sprite textures

    My guess is that your card can easily handle 4k textures. The 256x256 "optimal size" from Microsoft is probably a generic, "one size fits all" size. I always try to keep my textures in 256x256. But, that's just me cb
  10. First of all, I hope that 189x89 sprite is just for some goofy test...please don't ever use such an odd size...lol Seriously, when you are blitting one large 640x480 sprite, you may be trashing your texture memory...what kind of video card do you have? It may not support textures larger than 256x256 (doubtful). Some code might help
  11. Quote:Original post by Mercenarey Why learn the engineering level, when it is unnecessary to make games? Unless you want to be an engineer on a console yourself, of course. ... Im not saying the lowlevel stuff is not interesting. Of course it is. It is just not necessary to become a game developer. An engineer, yes, but not a developer. Why learn how a transmission works when it isn't needed to drive your car? Why learn how to change the oil when someone else can do it for you? Why learn how to un-clog a sink when a plumber can do it for you? Why? Because you're much better off knowing it yourself and not rely on other people. Plus, you get the knowledge and experience of doing it yourself. Some people are lazy...they want API's and plumbers to do all the work for them. Some people are not lazy. I am one of those kind of people. I like knowing how the stuff works. I like being able to un-clog my own sink but that doesn't mean I have to become a full-fledge plumber. If you don't like it, don't buy it. And as for the newbies, they will either learn from the XGS or they will take a different route. $200 for a console, a book, and the knowledge of developing your own rasterizer is worth the money. Hell, I've spent $70 on a DirectX book before and it didn't come with shit. And for those bashing Andre... Lighten up ok? A lot of us "old-timers" in our 30's actually learned a LOT from his older books and his newer stuff. And so what if this doesn't make you a world-class game developer on the X-Box, ever hear of hobbies? Some people will spend thousands creating model boats and never get into the water...but, they are happy. And the XGS makes SOME of us happy... cb
  12. SCH-A670 development?

    that sucks... oh well, thanks guys
  13. My wife bought me the Samsung SCH-A670 phone. Nice little phone...probably not great for games but maybe something to learn on? There are like 10 games for it total. Anyway, does anyone know how I could develop for this phone? Thanks cb
  14. Well, my home machine does have broadband but I don't open it to the world...I guess I could open some ports in my firewall for a CVS but the problem is that it's a family computer and you never know what the kids are doing. :-/ I do like the idea of a portable harddrive. I do have a 64mb thumb drive that I usually use to copy the files to. But with a harddrive, I could just work directly off of it... The only problem with that is that I have USB 1.0 on all machines....I could upgrade my home computer with a USB 2 card but load times would be slow on the other computers... Thanks guys
  15. Sprites and Orthogonal Projection

    Quote:I mean when i save them they are ok, D3DXSaveTextureToFile doesn't crop the textures by itself, does it? The file you saved to disk doesn't have to look like what you see on screen. When you save, you are taking the texture in memory and simply writing it to disk. That's why it looks good on disk. When you view a texture, a lot is going on. Filtering, clipping, blending, etc. Are you zoomed in and looking at a portion of the texture? Can you post some more code? What do your PresentParameters look like? cb