Author Topic: C++ OpenGL 2D Graphics Engine  (Read 10896 times)

0 Members and 1 Guest are viewing this topic.

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
C++ OpenGL 2D Graphics Engine
« on: October 14, 2006, 01:41:00 pm »
This is a project that I have been working on for a long time now (I.E. nearly four years). I started it when i first began learning C++, and I am finally getting adept enough at the language where I am making some progress on it. Basically, it's just a 2D platformer game engine written using pure Win32 API, OpenGL for graphics, and OpenAL for sound.

Sound simple enough? Good.

I also have three projects that are derivitives of this one:

1.) A game, which is codenamed Escape From Quadrant X (because I suck at names)
2.) A scripting languages, called FoRKScript, which will be built-into the graphics engine

AND

3.) A Game Maker-style program that will use the graphics engine combined with the MinGW C++ library to simplify the process of creating 2D platformers. If you've use GM6, TGF, or ActionScript with Flash, you know what kind of program I'm talking about.


Back on topic...
As of now, I am in the middle of a COMPLETE RECODE of the graphics engine, making optimizations as I go. I have finally gotten the sound engine to work properly, but now the graphics have crapped out.

This is still a side project, but I plan to have it finished EVENTUALLY.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
C++ OpenGL 2D Graphics Engine
« Reply #1 on: October 14, 2006, 03:21:00 pm »
wow sound cool do you have some screenshots I am curious about how it look so far ^^

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
C++ OpenGL 2D Graphics Engine
« Reply #2 on: October 15, 2006, 02:30:00 pm »
The graphics have crapped out again, and I haven't started working on any sprites/backgrounds. So all there is right now is a green screen with a little square you can move around (real choppy motions right now - to be fixed).

Sorry, no screenies :(sad.gif

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
C++ OpenGL 2D Graphics Engine
« Reply #3 on: October 15, 2006, 03:55:00 pm »
x.x kk  

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
C++ OpenGL 2D Graphics Engine
« Reply #4 on: October 15, 2006, 03:59:00 pm »
This looks awesome!  :thumbup:google.gif  *bfr

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
C++ OpenGL 2D Graphics Engine
« Reply #5 on: October 15, 2006, 04:50:00 pm »
**Update**

On one of the side projects: I've made HUGE progress on the FoRK File Format that I'm creating as a container for the ForKScript Language (the scripting language for the game engine). Here's the basic layout (Using code and quote tags :Ptongue.gif ):

QUOTE

Main File Container
c1-->
CODE
ec1
File Header
c2
ec2
c1
-->
CODE
ec1
File Comments (unlimited space)
c2
ec2
c1
-->
CODE
ec1
File Datablock 1
c2
ec2
c1
-->
CODE
ec1
File Datablock 2
c2
ec2
c1
-->
CODE
ec1
File Datablock 3
c2
ec2
c1
-->
CODE
ec1
File Datablock ...
c2
ec2

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
C++ OpenGL 2D Graphics Engine
« Reply #6 on: November 22, 2006, 06:39:00 am »
**PROJECT UPDATE**
I've made a bit of progress on the graphics engine, as well as the FoRK File and Scripting formats. I haven't had the time to work on it too hard (senior project & college & work sucking up too much time), but it's still progress. I'm almost ready to start making up some sprites (which isn't a good thing, 'cause I CANNOT DRAW!).

Project Todo List (in order):
1.) Debug/Fine-tune/optimize graphics engine
2.) Optimize sound engine
3.) Code a parser for the FoRKScript Language
4.) Sprites/Tiles/backgrounds Design (ugh) - "The Art Part"
5.) Put it all together, fine-tune, & optimize

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
C++ OpenGL 2D Graphics Engine
« Reply #7 on: November 22, 2006, 02:14:00 pm »
I would like to see some screenshots of it in action I am curious about how it looks/works

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
C++ OpenGL 2D Graphics Engine
« Reply #8 on: November 22, 2006, 02:18:00 pm »
Looks like crap (right now, since there's no sprites yet). But I just found another bug I have to fix (it's now closing immediately for some reason).

Screenies will be up ASAP.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
C++ OpenGL 2D Graphics Engine
« Reply #9 on: November 22, 2006, 02:26:00 pm »
I hope you can fix it :)smile.gif

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
C++ OpenGL 2D Graphics Engine
« Reply #10 on: November 22, 2006, 02:30:00 pm »
Me too. This project has been nothing but a pain in my rear since day one. If I can't get it to work, somebody's (or something) gonna get hurt (not anyone that we know though)...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
C++ OpenGL 2D Graphics Engine
« Reply #11 on: November 22, 2006, 02:59:00 pm »
uh oh o.oblink.gif

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
C++ OpenGL 2D Graphics Engine
« Reply #12 on: November 22, 2006, 03:27:00 pm »
Nice progress.  

Um...hmm....

*bfr

Lissy

  • Guest
C++ OpenGL 2D Graphics Engine
« Reply #13 on: May 10, 2007, 02:16:00 pm »
 :hi:coucou.gif

Delnar_Ersike

  • Guest
C++ OpenGL 2D Graphics Engine
« Reply #14 on: May 10, 2007, 02:37:00 pm »
QuoteBegin-Lissy+10 May, 2007, 20:16-->
QUOTE (Lissy @ 10 May, 2007, 20:16)
Johnny Depp lesbian strip!  

 Gotta love necroposting bots... XDsmiley.gif