Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 8:45 pm

All times are UTC




Post new topic Reply to topic  [ 215 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next
Author Message
PostPosted: Fri May 29, 2009 8:51 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Image

A simple 4-player dungeon crawler I've been pissing around with.

Dx8, byte array packets, pixel by pixel movement, object-based mapping. Stuff like that.

Once I'm done with it, I'll release it as a base for people to create their own multiplayer dungeon crawlers with.

Update:
Had a copy of this and VB6 portable on my memory stick, so spent a couple of hours pissing around with it.

Added scrolling maps, a new rendering system that only renders on-screen objects, and player names and shit.

Still mostly client-side though, once I get my own machine back I'll come up with a nice way of handling movement.

Download link: Here!

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Last edited by Robin on Tue Jun 30, 2009 3:56 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri May 29, 2009 9:37 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Image

I added a simple client -> server packet which'll change the player's name.

Jacob's buffer class is amazing. Makes it easier to handle byte arrays compared to strings.

Also, 5000 posts.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Fri May 29, 2009 11:23 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Image

Character creation and log in is now working.

There's a single log in screen, if you enter a character name which doesn't exist the server will turn that into a character file and load it up. If it already exists, it'll simply load up as long as the passwords match.

Simples.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sat May 30, 2009 12:19 am 
Dungeons & Dragons. This would be perfect for it. I've toyed with a few things in that department, but never got anything as good as this.


Top
  
 
PostPosted: Sat May 30, 2009 12:34 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Matt wrote:
Dungeons & Dragons. This would be perfect for it. I've toyed with a few things in that department, but never got anything as good as this.


I've never looked in to it. I'll check it out, and if I like the class balancing and the formulæ used, I may use it as a base.

Fixed up the log in system, so you know how many people are in a game before you log in. The server always has an extra socket loaded to send the 'Game Full' data to any client who tries to connect to a full server.

Character saving/loading is complete, as well.

I'm going to tweak it a bit more, then get some basic character creation going.

Server log:
Image

Game slot open:
Image

Game Full:
Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sat May 30, 2009 12:52 am 
Dungeons & Dragons is the base for ALL RPGs. Simple as that. Lol. It's an old style pen and paper role playing game. It's very fun if you have the right people playing.

There is DDO. Dungeons & Dragons Online. But to me, it feels like a Guild Wars ripoff.

*shrugs*

No matter what you do, D&D is your base. :P


Top
  
 
PostPosted: Sat May 30, 2009 3:51 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
I was looking around and saw a Character Sheet.

Bloody hell it was confusing.

Anyway, I got Dx7 running. Not sure if I'll upgrade or not yet. Personally I love the lack of texture size restrictions in DirectDraw, but want the features and 'ease-of-use' from Dx8.

I might just end up having a small D3D overlay.

As you can see, most of it is still behind the scenes. The black is just a basic colour flood on the backbuffer.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sat May 30, 2009 5:23 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Loaded some graphics in now.

I'm now using a modified version of Dmitry's buffered surface system. I changed it a bit for better performance.

It's a 20x15 grid of 32x32 tiles, so 300 sprites altogether.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sun May 31, 2009 1:04 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
DX8 is disappointing as ever.

I decided to see if I could pull a DX9 engine out of my arse in VB.NET.

I have everything loaded up, and an automatic image file scanner, which'll read and store the data of different image files in a private class. I'm trying to sort out the entire DirectX stuff into a few classes, so they're more modular.

I just need to work on getting some sort of loop going to render the graphics.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sun May 31, 2009 1:36 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
.NET is giving me a headache, so I spent a few minutes converting the VB6 version to DX8.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sun May 31, 2009 2:11 am 
Offline
Knowledgeable

Joined: Sun Jul 29, 2007 12:23 am
Posts: 199
I like how you make that border around the game, it looks cool. Anyway, that is awesome. :D


Top
 Profile  
 
PostPosted: Sun May 31, 2009 3:20 am 
Offline
Knowledgeable
User avatar

Joined: Sat Dec 30, 2006 9:09 am
Posts: 252
Pfft. I taught him that ;D

_________________
Image


Top
 Profile  
 
PostPosted: Sun May 31, 2009 5:27 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Was looking around, it's fairly obvious that DirectDraw was deprecated.

Decided to write up a few classes. I have my own clsGameEngine which is set up when the application loads, and within that I have a clsD3D and clsSprite.

I managed to get it down to this:

Code:
    mGraphics.BeginRender()
    mGraphics.DrawSprite(mBG)
    mGraphics.DrawSprite(mRandomSprite)
    mGraphics.EndRender()


Two 256x256 .png images loaded on each other. You can see the alpha channels working.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sun May 31, 2009 5:48 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Here's something a bit less ugly.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sun May 31, 2009 7:02 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
I got some random tiling going on.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sun May 31, 2009 7:59 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Grabbed some graphics and built up a scene.

Image

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Sun May 31, 2009 9:40 pm 
Offline
Knowledgeable

Joined: Sun Jul 29, 2007 12:23 am
Posts: 199
This is cool. I wish MS had a ISO look.. Thats cool. Keep up the good work.


Top
 Profile  
 
PostPosted: Sun May 31, 2009 11:00 pm 
Offline
Pro
User avatar

Joined: Sun Aug 05, 2007 2:26 pm
Posts: 547
It can if you put in those graphics...

_________________
GIAKEN wrote:
I think what I see is this happening:

Labmonkey gets mod, everybody loves him, people find out his code sucks, he gets demoted, then banned, then he makes an engine called Chaos Engine.


Top
 Profile  
 
PostPosted: Mon Jun 01, 2009 7:14 am 
Offline
Regular
User avatar

Joined: Mon Jun 01, 2009 7:07 am
Posts: 34
Nice work ya got goin on there. Inspired, so I just might learn directx 8 later.


Top
 Profile  
 
PostPosted: Wed Jun 17, 2009 11:22 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Had a couple of hours free the other day, so I decided to add in 4-directional movement and some basic mapping ideas.

Have fun.

Download Link!

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Wed Jun 17, 2009 2:38 pm 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
Reiner's Tilesets? I was going to use that for Mirage Mafia..

_________________
Image


Top
 Profile  
 
PostPosted: Wed Jun 17, 2009 3:51 pm 
Offline
Regular
User avatar

Joined: Sat Sep 13, 2008 8:25 pm
Posts: 69
Location: Slovenia
It looks very nice I must say next to that, I like how smooth is moving, but you could make that animation of sprite is always standing when you are not moving instead of staying at animation you stop.

BUG: When you place first object, it creates it but without graphics (but I guess you found out that by yourself already)

_________________
Image


Top
 Profile  
 
PostPosted: Wed Jun 17, 2009 4:14 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Blodyavenger wrote:
It looks very nice I must say next to that, I like how smooth is moving, but you could make that animation of sprite is always standing when you are not moving instead of staying at animation you stop.

BUG: When you place first object, it creates it but without graphics (but I guess you found out that by yourself already)


I was lazy. It's just how the tree array works ;P

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Mon Jun 22, 2009 4:20 am 
Offline
Regular
User avatar

Joined: Sun Jun 01, 2008 8:39 pm
Posts: 91
So everything I see from screenshots is coded in .NET?


Top
 Profile  
 
PostPosted: Mon Jun 22, 2009 4:28 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
Nope, I don't think so.

Quote:
.NET is giving me a headache, so I spent a few minutes converting the VB6 version to DX8.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 215 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group