Need some help with 2D game creation

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
kostuch
Posts: 6
Joined: Sat Aug 04, 2007 5:38 pm

Need some help with 2D game creation

Post by kostuch »

It's my first post on this forum, so I would like say "hello" to everyone.

I was thinking about making own RPG game, at first I wanted to make text-only game. But I've tried to search the net, and found the Irrlicht site. And now I want to make and RPG game in spirit of Baldur's Gate, Icewind Dale or Planescape. I've read some tutorials on the main site, but they ara mainly concetrated on using irrlicht in 3d games. And now my question for all people on this forum, could you give me some useful links for tutorials connected with making 2d games (it would be great if they would be rpg games) with irrlicht engine? (or maybe i haven't found something on this forum :oops: if that would be the case give here some links to needed topics).


If I wrote something wrong I apologise.

PS: I'm writing in C++ (quite good I think) and I've read those tutorials on the main site which were connected with 2d graphics.

PS:PS: Sorry, I see now I place my topic in a wrong place.
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

u really shouldn't use irrlicht for a 2d game.
the 2d drawing functions a really limited. u would have to make 3d scenenodes which wrap the 2d functions. anyways what i'm trying to say is use a 2d libaray instead of irrlicht when u really want to make a 2d game. otherwise u could make the game 3d and use ortho projection.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
kostuch
Posts: 6
Joined: Sat Aug 04, 2007 5:38 pm

Post by kostuch »

:( i really like irrlicht API.

Do you have any suggestions, for a suitable engine? Or maybe some hints where start the searching for needed materials, tutorials etc?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, there were already several nice 2d-like games made with Irrlicht. Depends really what you want to do.
kostuch
Posts: 6
Joined: Sat Aug 04, 2007 5:38 pm

Post by kostuch »

I want to do a game which have GUI similar to Baldurs Gate, Icewind Dale. I'm working with my friend, he helps creating the gameworld (geography, religions, races etc, all this stuff) for sprites and images we gonna search the net or draw ourselves. Could you help me by giving some useful links to tuorials etc, howto learn more about the 2d aspect of irrlicht engine? (interactive sprites, collisons, and stuff connected with the gameplay)
MolokoTheMole
Posts: 109
Joined: Tue Jan 09, 2007 1:18 pm

Post by MolokoTheMole »

I'm making a 2D game using Irrlicht and it is way better than any 2D library. Don't get discouraged by others. The API is very easy. The only problem there is, is that if you have no experience with writing a Baldurs Gate engine you won't find much help here, because Irrlicht is mainly for 3D. You might want to check SDL or Allegro.
Crimson Glory full Irrlicht game source code!
What I Do - my blog & dev log
Currently developing Link-Dead
kostuch
Posts: 6
Joined: Sat Aug 04, 2007 5:38 pm

Post by kostuch »

I know I tried with SDL and Allegro libraries (I am a Linux (for now Kubuntu-previously Mandriva, openSUSE, Fedora, Gentoo)user), but I found them really hard for making games (maybe because I haven't found needed tutorials and API isn't as clean for me like the irrlicht API is). I know that Baldurs Gate, Icewind were made on Infinity Engine which isn't free (I found GemRB port engine and now I'm learning something about this, somebody knows if it can be used for developing my onw rpg game?

Ok, is there any way in irrlicht to handle collisions, and interaction with environment in 2d?
IPv6
Posts: 188
Joined: Tue Aug 08, 2006 11:58 am

Re: Need some help with 2D game creation

Post by IPv6 »

kostuch wrote:It's my first post on this forum, so I would like say "hello" to everyone.
You definitely can write 2D games with Irrlicht. The major advantages comparing to common pure-2d engines:
- you are not restricted to 2D actually. You can always add 3D objects to your game later at any stage without rewriting anything
- cross-platformity and good support for older software
- great and flexible scene manager. animators are great thing to do dirty work without hassle

Some advises:
- it is not worth to use 2d api (may be for GUI only) - there is no resolution independency and 2d nodes are separated from 3d ones. Rewrite font rendering with billboards, add custom mouse click handling and make everything using 3d objects
- just use billboards instead of sprites. There is various optimizations possible to achive good performance on all hardware

As an example: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=22889
2D casual game using Irrlicht
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Hey why not make a psuedo-2D game using 3D models instead of sprites? I think you will find this the easiest route.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
kostuch
Posts: 6
Joined: Sat Aug 04, 2007 5:38 pm

Post by kostuch »

Ok, I think it maybe very good idea, could you sent some hints/tutorials? :D Sorry for asking all time for one thing, but i Know I must learn a lot, to handle with all stuff needed in my RPG :D
Post Reply