Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    195
  • comments
    198
  • views
    104192

Almost there

Sign in to follow this  
SiCrane

94 views

The actual game part of dodecahellspawn is pretty much in place. As the screenshot shows, it's possible to nicely swiss-cheese the faces now.

One of the details that's faked is that while you can see the individual pieces rotate when you do a rotation instruction, the model itself doesn't store the rotations. Instead it swaps the textures and texture coordinates. This avoids numerical instability compared with actually keeping the accumulated transformations around. Also, registering the pieces with their new orientations is approximately the same amount of work as swapping the textures, so it's a gain pretty much across the board.

So right now, the following user interface features are in: rotating the faces, arcball rotation for the model itself, single step undo, automatic solving and randomization of the model.

I'm working on a mouse gesture system so that it can be played somewhat intuitively without the keyboard. Eventually I may add some GUI components such as buttons for less common tasks.

So the current todo list is:

  • Configuration file
  • Remappable keyboard input system
  • Fix some of the textures (I'm never satisfied with my art)
  • Screenshots
  • Mouse gestures


Also, one of the known issues with SDL with OpenGL in Windows is really starting to annoy me. According to the SDL mailing list, this issue may not be allowed to be resolved until the SDL 2.0, since the resolution may break existing code. So I can either wait or I may rip out SDL and replace it with raw Win32 code.
Sign in to follow this  


3 Comments


Recommended Comments

Christ.. and I thought Rubiks Cubes were hard. I guess that's another reason to keep "hell" in the title. ;)

Are you ever going to post this game to the GDS?

---
Michael Tanczos

Share this comment


Link to comment
I thought I'd try to get mouse gestures working first. But it seems to be an exercise in futility right now. If things keep going this badly, I'll probably put up the current version later today. If I can get over this hump, I might polish things a little first.

Share this comment


Link to comment
I used to be a big SDL advocate, but I've grown incredibly disillusioned with it over the glacial pace of development. I'm certainly not the type of person who thinks that every development in DirectX needs to be imitated in every other graphical library, but it does seem that SDL is failing to adjust to the reality of modern graphics. By now, I'd think OpenGL should be the default and the graphics routines should work with that in mind. But everything involves 'waiting for SDL 2.0' which seems no closer than when I was first told to wait for 2.0 a couple of years ago.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!