Infinite Ascension - My 2.5D Online Space Sim

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

CowboyX86
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 18
Joined: Sat Jun 13, 2009 11:55 am

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by CowboyX86 »

Good Work! I'm impressed.
User avatar
teamtwentythree
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 72
Joined: Wed Apr 16, 2008 12:19 am
Location: Seattle, WA

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by teamtwentythree »

So first off thanks for all of the kind words. Its a far cry from when I first posted regarding the idea of the game and got "noob" flamed to the stoneage (Different forum).

New vids live, less flashy than the warp vid, more behind the scenes/math as it were. A bit quick on the explanations, feel free to post if you'd like something clarified.



User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by eatcomics »

Just watched them, I love it, the explosions are very good and the collisional should be pretty efficient! As I said in the comments I can't wait to see more, seeing other people get things done with their games makes me want to continue with mine :)
Image
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by JaxDragon »

How are you managing networking? What library? Or is it built in to pyogre?
User avatar
teamtwentythree
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 72
Joined: Wed Apr 16, 2008 12:19 am
Location: Seattle, WA

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by teamtwentythree »

I'm using python's socket object, no fancy stuff there. I have some classes which make packets/messages for me, I send, I recv, thats about it. The Client + Server are both multi-threaded (Sorta, Python's GIL means its fake but yea...). One thread does game processing, one thread does network handling.

Why not use something like Twisted? Well, I started this project with no networking experience, and no 3D experience. In order to properly train myself in those two arts I tasked myself with creating a network game using sockets and OpenGL. I swapped OpenGL for Ogre after my first prototype/version for perf. But the networking stuff honestly hasn't become an issue sufficent to warrant outsourcing to another lib. Python may be slow, but its not WAN slow. And the messages are all my own, so I know the size/format of them, I don't think Twisted could make them much more efficient.

Thats pretty much it at a high level, are you interesting in specifics?
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by JaxDragon »

Well could you maybe tell me how you learned to use pythons sockets? If it was through the docs, just let me know. I tend not to look at them unless necessary.
User avatar
teamtwentythree
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 72
Joined: Wed Apr 16, 2008 12:19 am
Location: Seattle, WA

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by teamtwentythree »

Programming Python, Chapter 10, apptly named Network Scripting.

Found this code in the python docs for the "socket" lib http://docs.python.org/library/socket.html:

Server

Code: Select all

# Echo server program
import socket

HOST = ''                 # Symbolic name meaning all available interfaces
PORT = 50007              # Arbitrary non-privileged port
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind((HOST, PORT))
s.listen(1)
conn, addr = s.accept()
print 'Connected by', addr
while 1:
    data = conn.recv(1024)
    if not data: break
    conn.send(data)
conn.close()
Client

Code: Select all

# Echo client program
import socket

HOST = 'localhost'
PORT = 50007              # The same port as used by the server
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
s.send('Hello, world')
data = s.recv(1024)
s.close()
print 'Received', repr(data)
Took that piece of code, and just kept iterating on it.
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by JaxDragon »

Well thank you for that, should come in handy should I also decide to make a python space game with the same graphics, story, items, and users as you completely custom content. 8-)
User avatar
teamtwentythree
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 72
Joined: Wed Apr 16, 2008 12:19 am
Location: Seattle, WA

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by teamtwentythree »

JaxDragon wrote:Well thank you for that, should come in handy should I also decide to make a python space game with the same graphics, story, items, and users as you completely custom content. 8-)
Sounds good, its a race!
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by JaxDragon »

By the way, im looking at amazon for 'programming python' and I was wondering, do you have the third edition, or the regular?
User avatar
teamtwentythree
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 72
Joined: Wed Apr 16, 2008 12:19 am
Location: Seattle, WA

Re: Infinite Ascension - My 2.5D Online Space Sim

Post by teamtwentythree »

I've got the second edition, circa 2001.
Post Reply