Click here to Skip to main content
5,787,682 members and growing! (18,732 online)
Email Password   helpLost your password?
Platforms, Frameworks & Libraries » Game Development » Games License: The Code Project Open License (CPOL)

IndieLib - Fast Game Development

By Loover

IndieLib is a c++ 2.5d engine for game development and fast game prototyping in a really easy way.
C++ (VC6, VC7, VC7.1, VC8.0, C++), C++/CLI, C

Posted: 11 Apr 2008
Updated: 4 Jan 2009
Views: 21,487
Bookmarked: 50 times
Note: This is an unedited reader contribution
Announcements
Loading...



Search    
Advanced Search
Sitemap
28 votes for this Article.
Popularity: 5.92 Rating: 4.09 out of 5
5 votes, 17.9%
1
0 votes, 0.0%
2
0 votes, 0.0%
3
7 votes, 25.0%
4
16 votes, 57.1%
5
Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article


Links

Introduction

Hello!

I’m really excited to announce the first release of IndieLib game engine. It has been a lot of hard work for several years in which I have been working in this project. What started like a hobby has become in a quite robust 2d engine that I think can be useful for the gamming community, specially for the indie game developers. Because of that I want to offer it to all you for free, hopefully it will be useful for some of you.

The main purpose of IndieLib is to make the things easier for the game developer, specially for those of you that love trying new game mechanics and fast game prototyping. I was really shocked for that brave guys of the Experimental Gameplay Project and the things that I see everyday on TigSource or in these forums. After seeing what these developers were able to do in just one week, I decided to start working again in and old project called LooverLib and to try to pack in the same engine lot of useful features for being able to make games really quickly using c++. What I wanted was that anybody that know a little of programming would be able to give expression to their ideas faster and easily. I know this first release hasn’t accomplished completly this purpose, but I hope to be in the correct way.

IndieLib is a c++ 2.5d OpenSource engine for game development and fast game prototyping in a really easy way. Internally it uses Direct3d for hardware acceleration, but doesn’t use DirectDraw or ID3DXSprite, it directly draws textures on polygons. The engine is focused in fast 2d rendering, but also allows you to use 3d models. Here you have a list with the main features:

  • Simple interface and extreme easiness: really fast game prototyping using entities for each of the graphical objects and changing their attributes. All the methods are as simple as "SetPos", "SetCollisionArea", "SetFade", "SetTransparency", etc.
  • Translations, rotation, mirroring and scaling of sprites.
  • Alpha blending, transparency, tinting and fading of sprites.
  • Render images of any size (not only power of two). You can load images as big as 10000x10000 pixels or more, and IndieLib will cut them internally in smaller blocks. Furthermore, IndieLib will automatically discard all the blocks out of the screen, also if your sprites are transformed and the camera making a zoom or rotated, only what you see is what is going to be rendered.
  • SetGrid method in order to create grids for your sprites. Later you can move each grid point in order to make a lot of different effects like waves (like in Aquaria game), deformations, etc. (Thanks Alec for the advice :)).
  • 2d and 3d camera concepts, completely independent of the graphical objects. Easy methods to translate, rotate or zoom you camera.
  • Easily creation of several viewports. Just create as many viewports as you want using different cameras assigned to them. This is really useful for making widescreen games, etc.
  • Scrolls of any size, with automatic block discarding.
  • Animation system using XML animation scripts, for defining the frames and sequences.
  • Advanced collision system. Create an xml file defining your collision areas per sprite using circles, rectangles or triangles. You can define as many collision groups as you want, each one with a different name. Join this file to an entity object and check collision between the collision groups of other entities. Don't worry about translating, rotating or scaling your entities, the collision groups will always fit perfectly your entity. You can also have sprite animations in which each frame has different collision groups (imagine this feature in a "Street Fighter" type game).
  • Bitmap font system, for drawing graphical texts of fonts created with MudgeFont for IndieLib. Change the alignment, char spacing and line spacing easily.
  • Rendering of 3d Meshes (you can mix 2d and 3d easily). You can also apply transformations to them (rotation, scaling, fading, etc). This will allow you to make games like "New Super Mario Bros" in which the characters are 3d models and the scenario is 2d.
  • Light manager, for lighting your 3d models. Enable / Disable lights, change their attributes, etc.
  • Timers. Start, stop, pause them easily.
  • Entity class, for both 2d and 3d objects, for managing the graphical objects in a really easy way. Just create an entity, join a graphical object to it, an change it's attributes (space transformations, color transformations, etc).
  • Image class, for loading / saving different types of image files and for accessing to the bitmaps directly. You can also apply filters to the images like gaussian, noise, equalize, saturation, etc.
  • Direct blitting of primitives (rectangles, circles, polygons, lines, etc).
  • Mouse and keyboard input (using SDL). Check if any key/button has been pressed, is being pressed or has been pressed more than n milliseconds. Check combination of keys/buttons that are pressed at the same time.


There are more things explained in the FAQ and you can get the source code under LGPL license from the repository.

Do you want to see the engine in action? Well, you can just check some screenshots or to download the IndieLib_SDK and to run the tutorials that are already compiled and ready to try (you don't need to know anything about programming for clicking the .exe and see the demo tutorials ;), try to press arrow keys and mouse buttons / wheel, because some of them are interactive).

But an engine is nothing without documentation. For that, I spent lot, lot of hours documenting all the methods (I hope I didn't make too many mistakes in english) and making some tutorials (more will come along these months):
- Api Reference
- Wiki tutorials - (only 9 by now).

I really hope that the engine will be useful for some of you and that you will make incredible games using it. I invite all you to join our forum, and I would be really happy if some of you want to contribute helping me.

Just click and download the latest IndieLib_SDK (It includes the IndieLib binaries, the tutorials sourcecode and .exe, and the documentation). Start making games!

Regards,
Javier López

PS: Sorry for the mistakes I'm sure I did, I'm not very good at english.

Historial  

- 1.03 Release






	
	
	

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Loover



Location: Spain Spain

Other popular Game Development articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 25 of 26 (Total in Forum: 26) (Refresh)FirstPrevNext
GeneralYou should improve the article.mvpCPallini7hrs 42mins ago 
GeneralMy vote of 1memberPatLeCat1:54 5 Jan '09  
GeneralMy vote of 1memberJohann Gerell0:20 5 Jan '09  
RantRe: My vote of 1memberPatLeCat1:54 5 Jan '09  
GeneralCool,I love it! 5membereleqi10:43 30 Oct '08  
GeneralRe: Cool,I love it! 5memberLoover6:02 31 Oct '08  
GeneralExcellentmembervikas maan20:23 24 Aug '08  
GeneralRe: ExcellentmemberLoover4:49 30 Oct '08  
GeneralNo source - This is advertisementmemberxryl66923:51 22 Apr '08  
GeneralRe: No source - This is advertisementmemberLoover4:48 30 Oct '08  
QuestionPretty good and ...membersoho23:13 22 Apr '08  
Generalreally nice code. thank you.memberbreakind20:49 11 Apr '08  
GeneralGreat workmemberSatervalley17:50 11 Apr '08  
GeneralGreate EffortmemberManoj Sahu6:22 11 Apr '08  
GeneralRe: Greate EffortmemberLoover6:41 11 Apr '08  
GeneralRe: Greate EffortmemberLoover6:51 11 Apr '08  
GeneralRe: Greate EffortmemberManoj Sahu8:48 11 Apr '08  
GeneralNice!memberChunlong lin2:53 11 Apr '08  
GeneralRe: Nice!memberLoover3:32 11 Apr '08  
GeneralPlease make downloads available on top and from this sitesupporterpeterchen2:15 11 Apr '08  
GeneralRe: Please make downloads available on top and from this sitememberLoover3:30 11 Apr '08  
GeneralRe: Please make downloads available on top and from this sitememberJim Crafton4:20 11 Apr '08  
GeneralRe: Please make downloads available on top and from this sitememberLoover6:49 11 Apr '08  
GeneralRe: Please make downloads available on top and from this sitesupporterpeterchen9:37 12 Apr '08  
GeneralScreenshotsmemberJonathan [Darka]1:36 11 Apr '08  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 4 Jan 2009
Editor:
Copyright 2008 by Loover
Everything else Copyright © CodeProject, 1999-2009
Web20 | Advertise on the Code Project