PyWeek - Doom central
15% respondents marked the game as not working.
|unicycling-1.1.zip — final||3.85 Mbytes||bencoder||2010/04/03 22:42|
|Updated version with improved music - rate this|
|finalScreenshot.png||283.15 Kbytes||bencoder||2010/04/03 17:48|
|screenshot of the submission|
|unicycling-1.0.zip — final||3.86 Mbytes||bencoder||2010/04/03 17:47|
|Final submission. It's not very finished. read the README for how-to-play.|
|Screenshot.png||451.74 Kbytes||bencoder||2010/04/02 21:44|
|Programmer art... in 3D|
|riders.png||454.01 Kbytes||bencoder||2010/04/02 09:17|
|we have a rider model|
|wtf.png||562.84 Kbytes||Mat||2010/04/01 21:55|
|accn0.png||14.11 Kbytes||Mat||2010/04/01 21:47|
|stillConfused.png||63.04 Kbytes||bencoder||2010/03/31 18:52|
|We got confused with our vectors|
|unicycleWheel.png||99.29 Kbytes||bencoder||2010/03/29 23:25|
|A unicycle wheel. It rotates|
|textured.png||333.08 Kbytes||bencoder||2010/03/29 22:43|
|We now have a ground and ground texture|
|Screenshot-pygame window.png||9.57 Kbytes||bencoder||2010/03/29 12:55|
|Looking at the autogenerated track|
Sunday 04 April, 2010
[ Mat @ 20:17 ] How to ride your unicycle!
Firstly I would like to apologise for how difficult it is to play our "game". This is totally my fault - I had intended to tweak the physics code a bit more towards the end of the challenge, but I haven't been able to do any testing for the last couple of days as I was away from my pc and my laptop can't run the game for some reason.
However! I do have some advice on how to stay balanced, and I think that compared to riding a real unicycle, it's not so wibbly wobbly after all :P
Here's how you can avoid falling over:
Redefine the laws of physics.
Since the default values for most of the constants are a bit iffy, you may you want to adjust them yourself before playing. The values are all stored in constants.py. I recommend decreasing g - so the unicycle is slower to respond to changes in how much you lean backwards and forwards - and increasing the mass of the unicycle (this makes your overall acceleration influence the wobbliness more).
Try not to tilt too much, and pay attention to your acceleration
If you lean over too much, the orientation of the unicycle will change very quickly, making it very easy to fall off. Your acceleration also affects the orientation of the unicycle, so it's possible to stay balanced without jerking the mouse about too much.
There is a very simple algorithm I was taught when I learned unicycle for real - if you're tilting too far forwards, pedal harder; if you're tilting too far backwards, lean forwards. This works suprisingly well, and using this technique I was able to stay on my virtual unicycle a lot easier too.
I hope this helps, and that you like our game, even though it's nowhere near as complete as we would have liked. If you have feedback of any kind, please leave a comment.
See you next pyweek! :)
Saturday 03 April, 2010
[ bencoder @ 17:52 ] Submitted
It's not at all finished. This was the first 3D stuff that we've done and it was a lot harder than we expected (not just the drawing, but getting the unicycle physics to work well enough as well)
It's probably not playable with a touchpad, as it requires quite fine control of the mouse to keep yourself balanced while on the unicycle.
Thursday 01 April, 2010
[ Mat @ 22:26 ] Dodgy physics code
I spent today trying get the physics for the unicycle's forwards-backwards rotation to work right. As I suck at maths this has proved to be a lot more difficult than I anticipated (damn you, third dimension!!) This has involved a lot of random sign flipping and constant changing and most of the code has been hacked to pieces in the process. Oh well.
The aim is to have it so you can lean forwards and backwards with your mouse and control the wheel with the keyboard. At the moment this is incredibly difficult to control, so we may have to tweak it to make it a bit easier, maybe by giving the player less control over the wheel.
You will also be able to turn by tilting left and right, which should be fairly straightforward to implement as I probably won't make it realistic.
Here the rider (white line) is leaning backwards and the unicycle is about to tip over.
We have a lot to do before this playable and I don't know if we will be able to finish it on time, but we're going to meet to work on it tomorrow so hopefully we will be able to get a lot of it done then. Cav is also working on some music so we should be able to up the production values a bit by sunday.
Here is a graph to prove I did originally have a plan for this:
Wednesday 31 March, 2010
[ bencoder @ 18:54 ] Vectors - we got confused
But drawing these vector lines helped a lot.