Almost there

Published July 14, 2004
Advertisement
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.
Previous Entry Fun with experimentation
Next Entry I need to lie down
0 likes 3 comments

Comments

Michael Tanczos
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
July 15, 2004 06:59 AM
SiCrane
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.
July 15, 2004 07:58 AM
Kylotan
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.
July 18, 2004 07:09 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

New bug to me

1910 views

Week/Class 9

1740 views

Week/Class 8

1788 views

Week/Class 7

1835 views

The promised files

2115 views

Week/Class 6

1518 views

Week/Session 5

1578 views

Week/Session 4

1519 views

On the soapbox

1636 views

Week/Session 3

1493 views
Advertisement