Holiday Project
Moderator: Thanas
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Holiday Project
Guilty confession; I really should be working on more AI stuff over the holidays (e.g. the web-based demos), but I'm kind of burned out with all the data mining I've been doing this month, so I'd really prefer to work on something else.
Here's one possibility; a while back when I needed to brush up on my C# and DirectX I made this program. It's a semi-realistic simulation of a red-tailed hawk. It uses an Xbox gamepad plugged into a PC - instead of the usual aeroplane controls, each stick moves one of the wings (the triggers are used for flapping). Flying is actually fairly challenging, because the aero model captures most of the basic instabilities, and you have to move the lift and thrust axes for each wing around to achieve the maneuvers you want. The objective was for the controls to feel somewhat like actually being a bird, and I think that works fairly well.
Anyway it's not really in a fit state to release, but I could probably complete it over Christmas (e.g. add waypoint races, variable wind, thermals, sound, legs on the bird model, more species and landscapes). Anyone interested in playing it? The major problem is that it needs a wired Xbox360 controller or something very similar. I suppose in theory it would run on an actual 360, but that would require figuring out Microsoft's 'indie content' publishing scheme (plus I don't think you're allowed to release stuff on XBL for free).
Here's one possibility; a while back when I needed to brush up on my C# and DirectX I made this program. It's a semi-realistic simulation of a red-tailed hawk. It uses an Xbox gamepad plugged into a PC - instead of the usual aeroplane controls, each stick moves one of the wings (the triggers are used for flapping). Flying is actually fairly challenging, because the aero model captures most of the basic instabilities, and you have to move the lift and thrust axes for each wing around to achieve the maneuvers you want. The objective was for the controls to feel somewhat like actually being a bird, and I think that works fairly well.
Anyway it's not really in a fit state to release, but I could probably complete it over Christmas (e.g. add waypoint races, variable wind, thermals, sound, legs on the bird model, more species and landscapes). Anyone interested in playing it? The major problem is that it needs a wired Xbox360 controller or something very similar. I suppose in theory it would run on an actual 360, but that would require figuring out Microsoft's 'indie content' publishing scheme (plus I don't think you're allowed to release stuff on XBL for free).
Re: Holiday Project
Heh, pretty cool. Too bad i don´´t have a 360 controller.
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
Hmm, I don't suppose you have two mice then? I'd have to look up how to read from both USB mice independently...salm wrote:Heh, pretty cool. Too bad i don´´t have a 360 controller.
Of course I could just disable all the physics and map yaw/pitch/roll to keys, but that would remove all the challenge and uniqueness.
Re: Holiday Project
I´ve got two mice. Controlling a bird with two mice sounds cool, too.
- Darth Paxis
- Padawan Learner
- Posts: 196
- Joined: 2009-03-15 01:11am
- Location: College
- Ace Pace
- Hardware Lover
- Posts: 8456
- Joined: 2002-07-07 03:04am
- Location: Wasting time instead of money
- Contact:
Re: Holiday Project
Another person with no controller, though it looks very nice.
While mapping to keys makes it easier, I suggest you try that, or look into the XNA API for mice with wheels that tilt left/right in addition to wheeling up and down.
While mapping to keys makes it easier, I suggest you try that, or look into the XNA API for mice with wheels that tilt left/right in addition to wheeling up and down.
Brotherhood of the Bear | HAB | Mess | SDnet archivist |
Re: Holiday Project
This looks very cool and I would definitely try it out.
Vendetta wrote:Richard Gatling was a pioneer in US national healthcare. On discovering that most soldiers during the American Civil War were dying of disease rather than gunshots, he turned his mind to, rather than providing better sanitary conditions and medical care for troops, creating a machine to make sure they got shot faster.
Re: Holiday Project
Maybe an old-fashioned serial mouse (that is, for a 9-pin COM port) would be easier - that's what the "2nd mouse" profile in Serious Sam uses.Starglider wrote:Hmm, I don't suppose you have two mice then? I'd have to look up how to read from both USB mice independently...salm wrote:Heh, pretty cool. Too bad i don´´t have a 360 controller.
Basically turning it into a simple flight sim that happens to have a "bird" model instead of an "airplane" model, rather than the actual bird sim it is now?Of course I could just disable all the physics and map yaw/pitch/roll to keys, but that would remove all the challenge and uniqueness.
- Zixinus
- Emperor's Hand
- Posts: 6663
- Joined: 2007-06-19 12:48pm
- Location: In Seth the Blitzspear
- Contact:
Re: Holiday Project
Have a wired Xbox 360 controller, with a fairly powerful rig here. If anything, your project here sounds at least an interesting thing to try. So sign me up.
Credo!
Chat with me on Skype if you want to talk about writing, ideas or if you want a test-reader! PM for address.
Chat with me on Skype if you want to talk about writing, ideas or if you want a test-reader! PM for address.
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
Well, I did a bit on this today; youtube. Currently the physics are a fairly realistic simulation, and that works ok for mild maneuvers (as long as you constantly correct) but makes it very difficult to pull off hard maneuvers (e.g. you can stall one wing but not the other, which tends to result in spinning into the ground). I'll leave that in as an alternate control mode, but as I suspected I'm going to have to write a new flight physics kernel for gameplay purposes, targeting player experience rather than physical realism.
-
- SMAKIBBFB
- Posts: 19195
- Joined: 2002-07-28 12:30pm
- Contact:
Re: Holiday Project
I'd like to give it a try and have a 360 pad to use.
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
I have got fairly good at it now, but the one thing I can't manage is inverting the bird. Almost every time I try that I lose control and crash, unless I am really high. It is nice as a sim program but it will probably be too frustrating for racing or dogfighting.Destructionator XIII wrote:I'd imagine that it would be very hard at first, but after playing it for a while, it will become easy.
Currently I am writing a proper terrain engine with tiling and variable level of detail, to replace the static polygon grid in the initial prototype.So yeah, count me in to try it too. Don't worry too much about having it all beautiful for release - I'd have no qualms about using pre-alpha programs just to play with.
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
Getting there though still not something you'd want to play yet. Alas I spent most of the Christmas break doing overdue DIY work on our house.Starglider wrote:Currently I am writing a proper terrain engine with tiling and variable level of detail, to replace the static polygon grid in the initial prototype.
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
Looking a lot better with working trees and a proper sky renderer. Still not quite playable; crashing into anything tends to fling you in a random direction at approximately mach 8.
Re: Holiday Project
How do you create the game world? Do you have some kind of editor or do you make it somehow different?
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
It's procedurally generated. I write an XML file defining key parameters, such as the physical dimensions of the bird, land to sea area ratio, the bumpiness of the hills and the branch angle of the trees. The program transforms that into a series of 3D models at runtime. About half the textures are procedural, the other half are photomanipulated stock images.salm wrote:How do you create the game world? Do you have some kind of editor or do you make it somehow different?
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
Starting to add some enemies. These things look fairly repellent slithering around the sky. It should be good when a swarm of hundreds of them descend on the island and start eating all the trees.
- Zixinus
- Emperor's Hand
- Posts: 6663
- Joined: 2007-06-19 12:48pm
- Location: In Seth the Blitzspear
- Contact:
Re: Holiday Project
How about tasks like hunting then? Or human-made obstacles or other birds? One of the game's objectives could be to woe another owl?
Either way, this thing starts looking rather awesome.
Either way, this thing starts looking rather awesome.
Credo!
Chat with me on Skype if you want to talk about writing, ideas or if you want a test-reader! PM for address.
Chat with me on Skype if you want to talk about writing, ideas or if you want a test-reader! PM for address.
Re: Holiday Project
Since you´re mainly in the air other stuff in the air would make sense. Floating obstacles like hot air balloons and crap like that to make the air space more interesting.
Re: Holiday Project
Does the game include things like thermals that you can use to gain lift without flapping, or is it just assuming fairly generic atmospheric conditions?
It'd be cool if you could ride up high on thermals, or ride the wind up hill ridges or things like that.
It'd be cool if you could ride up high on thermals, or ride the wind up hill ridges or things like that.
"I would say that the above post is off-topic, except that I'm not sure what the topic of this thread is, and I don't think anybody else is sure either."
- Darth Wong
Free Durian - Last updated 27 Dec
"Why does it look like you are in China or something?" - havokeff
- Darth Wong
Free Durian - Last updated 27 Dec
"Why does it look like you are in China or something?" - havokeff
- Sarevok
- The Fearless One
- Posts: 10681
- Joined: 2002-12-24 07:29am
- Location: The Covenants last and final line of defense
Re: Holiday Project
Is the procedural generation done by a library or your own code ?Starglider wrote:It's procedurally generated. I write an XML file defining key parameters, such as the physical dimensions of the bird, land to sea area ratio, the bumpiness of the hills and the branch angle of the trees. The program transforms that into a series of 3D models at runtime. About half the textures are procedural, the other half are photomanipulated stock images.salm wrote:How do you create the game world? Do you have some kind of editor or do you make it somehow different?
I have to tell you something everything I wrote above is a lie.
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
"You will explain yourself immediately!"
"Well sir, we had multiple confirmed sightings of the extradimensional menace..."
"...so I despatched Adept Sheppard immediately to erradicate the infestation..."
"His mission was to defend the island! Instead your man fires off some kind of unauthorised personal spell..."
"I believe he calls it the Mark 4 Mod 3 Super Plasma Implosion sir..."
"Don't interrupt! The point is, the entire island was destroyed, nothing but ash left!"
"Well Sir, he said it was the only way to be sure..."
"Well sir, we had multiple confirmed sightings of the extradimensional menace..."
"...so I despatched Adept Sheppard immediately to erradicate the infestation..."
"His mission was to defend the island! Instead your man fires off some kind of unauthorised personal spell..."
"I believe he calls it the Mark 4 Mod 3 Super Plasma Implosion sir..."
"Don't interrupt! The point is, the entire island was destroyed, nothing but ash left!"
"Well Sir, he said it was the only way to be sure..."
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
Thanks.Either way, this thing starts looking rather awesome.
A few people have suggested challenges based on natural bird behavior, but I'm struggling to think of a way to turn them into compelling gameplay. Simulating stooping on rabbits, sparrows etc might be entertaining for ten minutes or so but if that was the main activity I'm pretty sure you'd get bored of it quickly. Thus the fantasy elements.Zixinus wrote:How about tasks like hunting then? Or human-made obstacles or other birds? One of the game's objectives could be to woe another owl?
The trees on fire thing is actually intended as a check on the power of the fireball spell. It blows up shadow worms very nicely, but if you shoot downwards and miss you can take out a good chunk of the trees and structures you're supposed to be defending. Though I may include a high level enemy that can start forest fires; that would be a 'drop everything and intercept this now' challenge. The swan maiden character (that I am thinking of including) would have some sort of water spell to put them out again.
I like the idea of balloons as 3D obstacles. I would like to make them magic energy collectors, then I can justify them being mirror-silver (opportunity for some cubic environment mapping) and tethered to the ground by long chains. Ideally there would be a particle effect of little points of light appearing on the sphere surface, sliding down to the base, then being conducted down the chain to some sort of storage artefact. Dogfighting in the middle of a field of those would be great, with all the particle reflections in the giant mirrored balloons. I'd probably have to dedicate a thread to updating the balloon environment maps though.salm wrote:Since you´re mainly in the air other stuff in the air would make sense. Floating obstacles like hot air balloons and crap like that to make the air space more interesting.
Yes, but they won't really be relevant in combat scenarios. You'll be able to play with them in free flight mode, maybe I'll add some Pilotwings style challenges of 'travel across the map without flapping' that use them.Lusankya wrote:Does the game include things like thermals that you can use to gain lift without flapping, or is it just assuming fairly generic atmospheric conditions? It'd be cool if you could ride up high on thermals, or ride the wind up hill ridges or things like that.
My own code, except for an open source plug-in I'm using to do the tree trunk structure generation.Sarevok wrote:Is the procedural generation done by a library or your own code ?
Re: Holiday Project
That would be interesting. Maybe something like a "pretend to be an albatross" challenge, where you try to keep aloft for as long as possible using only the lift generated by waves to keep you up.Starglider wrote:Yes, but they won't really be relevant in combat scenarios. You'll be able to play with them in free flight mode, maybe I'll add some Pilotwings style challenges of 'travel across the map without flapping' that use them.
I'm just thinking of my dad here. He's a glider pilot, and would absolutely love that kind of thing.
"I would say that the above post is off-topic, except that I'm not sure what the topic of this thread is, and I don't think anybody else is sure either."
- Darth Wong
Free Durian - Last updated 27 Dec
"Why does it look like you are in China or something?" - havokeff
- Darth Wong
Free Durian - Last updated 27 Dec
"Why does it look like you are in China or something?" - havokeff
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Holiday Project
Implemented another creature;
This one will drop pods that release toxic goo, which slowly consumes the landscape if left unchecked. It's quite graceful though, with a slow turn rate and those waving flippers at the back. There will be a comedy element in that if you blow off one flipper, it is stuck going around in a tight circle, and if you destroy the other one it slides to a stop. However if you don't finish off the body within thirty seconds or so the flippers will regenerate.
The gameplay I have in mind now is something like a cross between Defender, Ace Combat and Defence Grid, with the unique and bizarre bird controls & physics, and most of the challenges from Pilotwings 64 as side missions. It is possible that I have become overambitious.
This one will drop pods that release toxic goo, which slowly consumes the landscape if left unchecked. It's quite graceful though, with a slow turn rate and those waving flippers at the back. There will be a comedy element in that if you blow off one flipper, it is stuck going around in a tight circle, and if you destroy the other one it slides to a stop. However if you don't finish off the body within thirty seconds or so the flippers will regenerate.
The gameplay I have in mind now is something like a cross between Defender, Ace Combat and Defence Grid, with the unique and bizarre bird controls & physics, and most of the challenges from Pilotwings 64 as side missions. It is possible that I have become overambitious.