Allegro.cc - Online Community

Allegro.cc Forums » Game Design & Concepts » Elite-Like Game Progress

This thread is locked; no one can reply to it. rss feed Print
Elite-Like Game Progress
Billybob
Member #3,136
January 2003
avatar

I am documenting the development of my Elite-Like game, mostly for my own benefit, but hopefully others can glean cool ideas here and there. It's written in C# with XNA.

I added IronPython to support an in-game DevConsole. It makes in-game testing easier, giving me access to every aspect of the running game and engine. IronPython integrates very well with the environment.

{"name":"602034","src":"http:\/\/static.allegro.cc\/image\/cache\/f\/c\/fcf0252f30d6e16205f495b2365d139a.png","w":1040,"h":806,"tn":"http:\/\/static.allegro.cc\/image\/cache\/f\/c\/fcf0252f30d6e16205f495b2365d139a"}602034
Using the DevConsole to "acquire" some minerals.

Below is a picture of an item being dragged from my ship's Cargo Hold onto a dropbox. Dropboxes are used for selling items, crafting, refining, etc. It makes it feel like you're really dragging the items into a refinery for processing.

{"name":"602033","src":"http:\/\/static.allegro.cc\/image\/cache\/c\/4\/c4e50bf47a9650deeeb536c2289f57c4.png","w":1040,"h":806,"tn":"http:\/\/static.allegro.cc\/image\/cache\/c\/4\/c4e50bf47a9650deeeb536c2289f57c4"}602033
The mouse cursor didn't show up :'(

I'm working on the Refinery view right now. After mining Minerals from various Asteroids, the player goes back to a Space Station to refine those Minerals into Raw Materials. Refining takes a little time.

{"name":"602032","src":"http:\/\/static.allegro.cc\/image\/cache\/f\/4\/f4a60102a5fdc0e59e8602098b6e4df3.png","w":1040,"h":806,"tn":"http:\/\/static.allegro.cc\/image\/cache\/f\/4\/f4a60102a5fdc0e59e8602098b6e4df3"}602032
Ferroperite being refined into tasty Raw Materials.

After refining is complete, the Raw Materials are placed into a collection box where the player can grab them. This happens in the background, so you could drop off a huge amount of Minerals, leave, and come back for them later.

{"name":"602035","src":"http:\/\/static.allegro.cc\/image\/cache\/9\/1\/91426fb96ac529d39e716cc1df984f5d.png","w":1040,"h":806,"tn":"http:\/\/static.allegro.cc\/image\/cache\/9\/1\/91426fb96ac529d39e716cc1df984f5d"}602035
That Silicon looks mighty tasty!

I've added lots of other things since my last update on this project, but the above is what I completed most recently. There's better physics now, docking procedures, destructible Asteroids, ship equipment, and other tweaks.

_________________________________________________
"God speed, my lonely angel."
Bitcoin | Bitcoin Ponzi Scheme

Samuel Henderson
Member #3,757
August 2003
avatar

This is most interesting. That has always been on my 'todo' list; building in an in game console (like Quake/Quake II/and all the derivative games) have.

I've always figured that I would use Lua to accomplish it though...

=================================================
Paul whoknows: Why is this thread still open?
Onewing: Because it is a pthread: a thread for me to pee on.

GullRaDriel
Member #3,861
September 2003
avatar

That's a nice start, but I admit not to be very found of that type of game.

Edit: corrected for Shravan.

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!
My FlickR ! - Old photo gallery
If no moderator answers you then register and PM here !

Shravan
Member #10,724
February 2009
avatar

I admit not to be very found of that type of game

Fond ::)

Ariesnl
Member #2,902
November 2002
avatar

Make the ships customizable, different NAV computers, weapons, cargo bay's,
life support for cargo bays ( maybe you will trade tropical fish for an aquarium or pickup a humpback whale ( yes, "The voyage home" ;D)

AND make is possible to really LAND your ship Frontier First Encounters had that, it's really nice to take off from a starbase, fly through the atmosphere and then into space...

video

- Wisdom is the art of using knowledge
- String theory: There's music in everything

Billybob
Member #3,136
January 2003
avatar

That has always been on my 'todo' list; building in an in game console (like Quake/Quake II/and all the derivative games) have.

It certainly comes in handy for tweaking variables in-game, and quick debugging. I believe Quake and its derivatives have special syntax for the console, though, rather than a full interpreter. For me, it was really easy to hook up IronPython, since it runs right on top of the CLR. A few lines of setup code, and the console was able to access any part of the running game, and provided me with a powerful Python interpreter.

Ariesnl said:

life support for cargo bays ( maybe you will trade tropical fish for an aquarium or pickup a humpback whale ( yes, "The voyage home" )

That's a really great idea :) I was already going to make the ships customizable, but hadn't thought of requiring specific equipment for transporting different goods. I'm kind of excited to try it out, but I'll have to wait until more of the game play is done before I can implement it.

Quote:

AND make is possible to really LAND your ship Frontier First Encounters had that, it's really nice to take off from a starbase, fly through the atmosphere and then into space...

Nice, yes, but quite difficult to code. I was going to do it originally, but it was too much effort and I'm only coding this in my spare time. :(

More progress:
I'm working on Asteroid Fields now. Originally the player would just travel to single, large asteroids and mine them piece by piece. It turned out to be really boring :P So now there are asteroid fields:
{"name":"602068","src":"http:\/\/static.allegro.cc\/image\/cache\/d\/6\/d6cd621e2ce04ef5d74ea3d7ae4943b9.png","w":1040,"h":806,"tn":"http:\/\/static.allegro.cc\/image\/cache\/d\/6\/d6cd621e2ce04ef5d74ea3d7ae4943b9"}602068

To get the best minerals, the player must carefully navigate these fields, dodging and weaving between them to get to the most valuable rocks. That should be more enjoyable than just sitting there mining a single rock. Plus, it'd make for some pretty awesome battles with other ships 8-)

Next up: Add code for Asteroid-Ship collisions, and scooping up mined minerals.

_________________________________________________
"God speed, my lonely angel."
Bitcoin | Bitcoin Ponzi Scheme

Go to: