Ellipsis Engine

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

DaveB
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 24
Joined: Sat Nov 21, 2009 1:57 pm

Ellipsis Engine

Post by DaveB »

Ok so a few weeks ago, I had the Idea of making a 2D game engine using SDL and finally I started working on it.

Ellipsis Engine
Ellipsis Engine, is first and foremost a 2d game engine being programmed in C++ that uses SDL for the main systems such as rendering(which I plan to move to OpenGL later on), Input, Event Handling, etc. I plan to make it re-usable so that I am not only limited to 2d rpgs, or platformer games.

I am making it open source so that people can watch my progress if they like it, and so that people can give me some constructive criticism on it. Right now it cant do much, except for creating the main window and drawing rectangles on the screen. Ill post a screen shot later, but I feel that even though it doesn't do much its what I hope to be the basic ground work for a project that I actually stick with lol.

This project is mainly for learning, so please dont bash me lol :)

SVN
http://subversion.assembla.com/svn/elengine/

Functionality
so far as I said earlier, all it can do is create the main window, and draw rectangles to the screen. I will update this section when I implement more features.

Update
12/08/09
~ Changed the main graphics backend from SDL to OpenGL
~ Added the functionality to draw Quads with per vertex color blending.

Screenshots
this section will be dedicated for screen shots of the engine to show off what it can do.

12/02/09
Image

12/08/09
Image

I put an example app in the SVN called TechDemo, hope you enjoy it :)
Last edited by DaveB on Tue Dec 08, 2009 9:59 am, edited 5 times in total.
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: Ellipsis Engine

Post by K-Bal »

Are you coding in C++?
DaveB
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 24
Joined: Sat Nov 21, 2009 1:57 pm

Re: Ellipsis Engine

Post by DaveB »

Yep, yea lol forgot to put that.
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: Ellipsis Engine

Post by K-Bal »

DaveB wrote:Yep, yea lol forgot to put that.
I always recommend to use SFML when coding in C++ since it makes heavy use of great object-oriented designs. It's what SDL is for C. Since you are only learning it's not that important. Just go with what you like.

However, if you are making an engine with SDL, you will probably find yourself programming a class hierachy very similar to SFML on top of it.
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: Ellipsis Engine

Post by GroundUpEngine »

Awesome engine, I like the idea! A great start! :mrgreen:
DaveB
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 24
Joined: Sat Nov 21, 2009 1:57 pm

Re: Ellipsis Engine

Post by DaveB »

Cool thanks for the support :D, yeah Ive checked out SFML before, but I am just more comfortable with SDL.
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: Ellipsis Engine

Post by GroundUpEngine »

DaveB wrote:Cool thanks for the support :D, yeah Ive checked out SFML before, but I am just more comfortable with SDL.
Ye I agree with you there, SDL is very powerful for 2D and looking at some of your code you have a good knowledge of how to make it work well :P
DaveB
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 24
Joined: Sat Nov 21, 2009 1:57 pm

Re: Ellipsis Engine

Post by DaveB »

Yeah lol I wasn't sure if the structure of the engine was going in the right direction or not so its refreshing to hear that at least one person thinks I amm doing something right lol :D
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: Ellipsis Engine

Post by avansc »

hehe, its like a C++ book was picked up and thrown at this.
the code is very clean and tidy, i like your coding style.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
hurstshifter
ES Beta Backer
ES Beta Backer
Posts: 713
Joined: Mon Jun 08, 2009 8:33 pm
Favorite Gaming Platforms: SNES
Programming Language of Choice: C/++
Location: Boston, MA
Contact:

Re: Ellipsis Engine

Post by hurstshifter »

Really good stuff. I appreciate your inclusion of the source. This really helps me with my own coding processes. Very well structured, damn.
Last edited by hurstshifter on Fri Dec 04, 2009 12:11 pm, edited 1 time in total.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
DaveB
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 24
Joined: Sat Nov 21, 2009 1:57 pm

Re: Ellipsis Engine

Post by DaveB »

Yeah no problem, it actually helps me out to include the source, so there for I guess it helps everyone else out hehe, and yeah this engine might be used in future team projects so I am trying my hardest to keep it clean as I can
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: Ellipsis Engine

Post by K-Bal »

I took a quick glance at some code. You should use std::string instead of char* ;)
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: Ellipsis Engine

Post by JaxDragon »

K-Bal wrote:I took a quick glance at some code. You should use std::string instead of char* ;)
Depends on how it's used. For some things char* is better, string is better for other times.
DaveB
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 24
Joined: Sat Nov 21, 2009 1:57 pm

Re: Ellipsis Engine

Post by DaveB »

Ok so Wednesday to Saturday I have off work, so I will be able to work more on the engine for those of you following my progress. Maybe in a few weeks or when I have more to show off I can make a youtube video showing off the engine.
DaveB
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 24
Joined: Sat Nov 21, 2009 1:57 pm

Re: Ellipsis Engine

Post by DaveB »

Main post has been updated with new changes and screenshots
Post Reply