dmikesell

Members
  • Content count

    646
  • Joined

  • Last visited

Community Reputation

157 Neutral

About dmikesell

  • Rank
    Advanced Member
  1. OpenGL Simple problem

    Yes, it looks like it was the repeated gluOrtho call on the projection matrix stack that was causing the problem. Thanks! I'm still a little puzzled why it didn't work...I didn't think calls like that were cumulative.
  2. I'm having a problem with a simple OpenGL program. There is little GL code at all right now, just a framework for switching between different "scenes" and a couple of test triangles. I've zipped up the Python code and put it on my website (http://davemikesell.net/code.zip), but a print trace of the GL calls is shown below. I removed repetitions of the drawing of each triangle for brevity. The first red triangle appears as expected, but the 2nd green one does not after the scene is changed (i.e. the screen is black). I tried drawing the 2nd scene first and it drew, so it is a state problem of some kind. What am I overlooking? init menu_scene glShadeModel(GL_SMOOTH) glClearColor(0.0, 0.0, 0.0, 1.0) glClearDepth(1.0) glViewport(0, 0, WIDTH, HEIGHT) glMatrixMode(GL_PROJECTION) glLoadIdentity() gluOrtho2D(0.0, WIDTH, 0.0, HEIGHT) glMatrixMode(GL_MODELVIEW) glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) glLoadIdentity() glColor4f(1.0, 0.0, 0.0, 1.0) glBegin(GL_TRIANGLES) glVertex3f( 0.0, 1.0, 0.0) glVertex3f(-1.0,-1.0, 0.0) glVertex3f( 1.0,-1.0, 0.0) glEnd() glFlush() pygame.display.flip() init game_scene glShadeModel(GL_SMOOTH) glClearColor(0.0, 0.0, 0.0, 1.0) glClearDepth(1.0) glViewport(0, 0, WIDTH, HEIGHT) glMatrixMode(GL_PROJECTION) glLoadIdentity() gluOrtho2D(0.0, WIDTH, 0.0, HEIGHT) glMatrixMode(GL_MODELVIEW) glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) glLoadIdentity() glColor4f(0.0, 1.0, 0.0, 1.0) glBegin(GL_TRIANGLES) glVertex3f( 0.0, 1.0, 0.0) glVertex3f(-1.0,-1.0, 0.0) glVertex3f( 1.0,-1.0, 0.0) glEnd() glFlush() pygame.display.flip()
  3. Frantic 0.9.8b

    Looking for feedback on my soon-to-be shareware game, Frantic. You can read about it and download the demo here: http://frantic.dmsoft.cc Feedback on anything and everything is welcome. Thanks, Dave
  4. Game protection

    Or just release separate executables: trial and registered. If there's nothing to crack, it won't be cracked. Let them purchase and then host the entire bloody registered executable on their warez site (which they won't do).
  5. building a computer better than buying one?

    Depends on what you have more of, time or money. Also, what kind of service do you get? If my new IBM laptop breaks someone will be onsite within 24 hours. That cost $200 for three years I think.
  6. Quote:Original post by Simagery For a slightly better formation of my thoughts, I'd point folks over to my blog. Quote: What are my credentials? I’m currently employed as a Senior Field Application Engineer Solution Architect at Electronic Arts. Quote: While I’ve never actually shipped a title myself, I have helped many game teams get to gold in one way or another. So, take my opinions with a grain of salt as they definitely originate more from my theories and superficial experiences than any kind of in-the-trenches, first hand experience. I knew that such a shiny silver bullet just had to come from an architect. :-)
  7. Mega Man 2: Puzzle Attack

    That's cool - I didn't know you had a Mac installation there as well. I agree about the file size, but I took a lot of flak on a mailing list for asking people to download a 20MB exe a few weeks back. Apparenly there are still people out there with dialup :-) Also, I plan to eventually market my game and will host the .exe on a file kicker site that charges for MB downloaded per month - the smaller the better!
  8. Mega Man 2: Puzzle Attack

    A couple things: 1) How are you building/packing this? Setup.exe should contain everything, no? It looks like setup.exe was exploded in the zip file. I build my Python/Pygame game with Py2exe and build a setup.exe with Inno Setup. The setup.exe contains everything. 2) You could save a lot of space by converting the larger .wav files to .ogg. Download the trial version of WavePAD if you want to do this. Not sure if .ogg is smaller or larger than .mp3, but you could try those as well. Play around with sampling rates, too. I noticed that reducing that saved space with no discernable loss in music quality (just don't go too low).
  9. How do I synchronize framrate?

    Give your object a velocity of X pixels/second and multiply this by the number of seconds elapsed (which will be a very small number) in the frame. That's the number of pixels to move in that frame.
  10. Mega Man 2: Puzzle Attack

    Can you post screenshots? Also, 38MB download?? Is there that much artwork?
  11. Python text game resources...

    I found this link for creating a text-adventure game in Java - I would imagine that you can follow the same design using Python.
  12. Which API to learn first?

    OpenGL also has Java, Python, Perl, Fortran, Ada, and I believe Ruby bindings. Not sure if the same is true of DirectX...maybe so.
  13. WooHoo! LoL, sorry! =)

    That's hilarious!
  14. What kind of game? 3D first person action game? 2D Tetris clone? Mobile games? Text-adventure game? The answer greatly depends on what you want to develop.
  15. Starting a business... with nothing

    If you have any spare time look at Blender - a free 3D modeling tool. I only use it to draw and animate 3D looking sprites for my game, but you can do a lot more with it than that.