Jump to content


2D Game engine and an article about a 2D software renderer


11 replies to this topic

#1 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 24 October 2007 - 11:29 AM

I've just published an article on a 2D software renderer I did some time ago:

http://www.colossuse...reRenderer.html

and I've also released the source code to my little game engine, maybe it's of use to someone :-)

it can be found in the Development section of http://www.colossusentertainment.com

/Mattias

#2 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 22 November 2007 - 10:04 AM

I was recently in a 48 hrs rpg-making contest, and used my game engine to make my contribution. I've released the source code to it as well, which I guess can serve as a (quite messy) example of how to use the engine. More info here:

http://www.colossuse...turesofKas.html

Btw, both the engine and the game source code is public domain (except for the STSound component included in the engine, which is GPL).
  • www.mattiasgustavsson.com - My blog and current projects
  • www.rivtind.com - My Fantasy world and isometric RPG engine
  • www.pixieuniversity.com - My Software 2D Game Engine

#3 Kenneth Gorking

    Senior Member

  • Members
  • PipPipPipPip
  • 911 posts

Posted 22 November 2007 - 11:56 AM

Awesome stuff, nice work :yes:

Is this library only aimed towards RPGs?
I'm getting a N95 tomorrow, and is ofcourse eager to try and get some programming done. I have an idea for a game that would work well on a phone (I think), and if I could use an already made library, that would surely save me some time. My game will be viewed from the side, ala Soldat.

A cool thing about the N95, is that it provides full accelerated support for OpenVG, which could be seriously cool for a 2D game.
"Stupid bug! You go squish now!!" - Homer Simpson

#4 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 22 November 2007 - 12:28 PM

Glad you like it :-)
No, it's not aimed at RPGs at all, the library is a very generic 2D graphics library (with additional support for a few music formats like ogg and the various tracker (.mod) formats) written to be as portable as possible with as few external dependencies as possible.

All the blitting is done in software, and DirectX9 is used only to blit the final image to the screen. Or if it can't use DirectX9 it will drop to DirectX3. And if that fails too it will drop to Windows GDI :D I'm planning a similar thing for sound, but for now it used DirectSound3.
  • www.mattiasgustavsson.com - My blog and current projects
  • www.rivtind.com - My Fantasy world and isometric RPG engine
  • www.pixieuniversity.com - My Software 2D Game Engine

#5 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 25 December 2007 - 02:18 PM

I've recently made the source code for another couple of small games available for download (also made using my 2d game engine, which is public domain).

Grab the stuff from my site:
http://www.colossusentertainment.com

Here's some screenshots

From the RPG mentioned earlier:
Posted Image
Posted Image
Posted Image

From a more arcade-action style game I did for the SGA Warmup competition:
Posted Image
Posted Image

From a retro text adventure thingy I made for TIG's "Text the Halls" compo:
Posted Image Posted Image Posted Image Posted Image

Hope you'll enjoy it, and hope that the source code is useful to someone at least :yes:
  • www.mattiasgustavsson.com - My blog and current projects
  • www.rivtind.com - My Fantasy world and isometric RPG engine
  • www.pixieuniversity.com - My Software 2D Game Engine

#6 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 02 July 2008 - 10:09 AM

I've done a major update to the Pixie engine recently so I thought I'd post an update here rather than create a new thread for it. I've fixed a lot of little issues with the engine, and generally cleaned it up a bit, so I'd say it's rather usable now.

More interestingly, I've written two tutorials for the engine, one "hello world" tutorial, and one which displays a bouncing ball

It's public domain btw, so no weird license restrictions :cool:

And there's some online documentation now as well.
  • www.mattiasgustavsson.com - My blog and current projects
  • www.rivtind.com - My Fantasy world and isometric RPG engine
  • www.pixieuniversity.com - My Software 2D Game Engine

#7 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 09 March 2009 - 03:07 PM

Just thought I'd update this with some recent info.

There's two more games released using the Pixie game engine:
Posted Image
Parachute!

Posted Image
Lowriderz

And just like all my stuff, the source code for both games are placed in the public domain, so if you think you can use it for anything, go right ahead. Can be downloaded from here:
http://www.colossuse...eGameEngine.php
  • www.mattiasgustavsson.com - My blog and current projects
  • www.rivtind.com - My Fantasy world and isometric RPG engine
  • www.pixieuniversity.com - My Software 2D Game Engine

#8 starstutter

    Senior Member

  • Members
  • PipPipPipPip
  • 1039 posts

Posted 09 March 2009 - 06:01 PM

wow, been a while since I've seen you here. Welcome back? :)

Nice update by the way, I'll be sure to check them out.
(\__/)
(='.'=)
This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
bunny also wants to fight spam: Click Here Bots!

#9 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 11 March 2009 - 08:38 AM

starstutter said:

=Welcome back?

Nah, not really back, just dropped by to plug my engine :D
  • www.mattiasgustavsson.com - My blog and current projects
  • www.rivtind.com - My Fantasy world and isometric RPG engine
  • www.pixieuniversity.com - My Software 2D Game Engine

#10 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 18 May 2009 - 01:28 PM

Just a quick update on this.

All the stuff to do with the Pixie engine is now to be found at the new developers section of Top Hat Arcade

Posted Image

You will also find a bunch of articles and stuff, along with the public domain source code for my engine and all my games. Nice, eh? :cool2:
  • www.mattiasgustavsson.com - My blog and current projects
  • www.rivtind.com - My Fantasy world and isometric RPG engine
  • www.pixieuniversity.com - My Software 2D Game Engine

#11 roel

    Senior Member

  • Members
  • PipPipPipPip
  • 697 posts

Posted 18 May 2009 - 02:01 PM

Congratulations, Mattias :)

#12 .oisyn

    DevMaster Staff

  • Moderators
  • 1822 posts

Posted 18 May 2009 - 03:02 PM

Nice :)

A question though, is your code public domain? Because I don't think you have mentioned that yet... :)
C++ addict
-
Currently working on: the 3D engine for Tomb Raider.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users