Search found 240 matches

by mv2112
Fri Aug 20, 2010 6:47 am
Forum: Programming Discussion
Topic: My Map Editor
Replies: 12
Views: 918

Re: My Map Editor

Doesn't work under Wine :(
Damn visual studio dependencies...
by mv2112
Wed Aug 18, 2010 2:03 pm
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Re: mvEngine Development Thread

eatcomics wrote:same dude, got any good online tuts, I got some ebooks, but online tuts would be nice too
I just study the Qt documentation when needed and look at the example projects, there are also some OK tuts on the Qt site.
http://doc.qt.nokia.com/4.6/index.html
by mv2112
Wed Aug 18, 2010 2:01 pm
Forum: Game Development
Topic: Blade Brothers Engine: Creating my first 2D Game Engine
Replies: 272
Views: 35835

Re: Blade Brothers Engine: Creating my first 2D Game Engine

Ginto8's method works, i'm now using it for my map file format :mrgreen:
And also, great work, the editor looks awesome! I too am also making a map editor with Qt...
by mv2112
Tue Aug 17, 2010 10:37 pm
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Re: mvEngine Development Thread

Just started making a Level Editor with Qt and openGL. I am liking Qt ALOT, especially with openGL! GUI FTW!
by mv2112
Tue Aug 17, 2010 12:17 am
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Re: mvEngine Development Thread

Oops, it should be 4. I though you had to specify how many quads instead of vertices's. Now it works!
by mv2112
Mon Aug 16, 2010 10:37 pm
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Re: mvEngine Development Thread

Ok, i tried what X Abstract X said and i might be doing something wrong because it doesn't render. Here are my structs: struct mvVector { GLfloat x; GLfloat y; }; struct mvVector3f { GLfloat x; GLfloat y; GLfloat z; }; struct mvVertex { mvVector3f Vertex; mvVector TexCoord; }; My VBO init and Array:...
by mv2112
Mon Aug 16, 2010 5:16 pm
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

VBO's with verticies and texcoords

I've got vertex arrays to work but i want to try my hand at VBO's. I have some questions: Here is my code so far, im storing vertices's and texture coordinates in the same VBO. #define BUFFER_OFFSET(i) ((char *)NULL + (i)) height=texture_height; width=texture_width; std::vector<GLfloat>Pos,TPos; Pos...
by mv2112
Mon Aug 16, 2010 2:19 pm
Forum: Current Events and Science/Technology
Topic: Evangelicals Bring Jesus To Public Schools
Replies: 50
Views: 7844

Re: Evangelicals Bring Jesus To Public Schools

I can't stand people trying to shove religion down your throat. I go to school to learn about things I will actually use in life. If it was ACTUALLY a anti-suicide seminar, meh I could live with that. But not listening to "Oh! Jesus loves you!" Fundamentalist douchebags. I can't stand it ...
by mv2112
Sun Aug 15, 2010 10:00 pm
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Rendering Tiles in OpenGL

I'm in need of some advice. I'm creating a map class and i don't know how to go about rendering the map. I want the rendering to be as fast and efficient as possible. Will regular intermediate mode work for rendering a large number of textured quads, or will it slow down? Is it possible to use a VBO...
by mv2112
Mon Aug 09, 2010 9:08 pm
Forum: Current Events and Science/Technology
Topic: The F#%KING INSANE cost of the war
Replies: 9
Views: 1832

Re: The F#%KING INSANE cost of the war

Just imagine how different America would be if we voted for Gore instead of Bush (and if Bush didn't cheat in Florida) 10 years ago...
by mv2112
Sat Aug 07, 2010 12:23 am
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Re: mvEngine Development Thread

I'm very sorry. That should read "pixmapSize" First, i tried writing my own code based on yours (for learning purposes) and it didnt work, so then i just copied and pasted the code and it still doesnt work. I know that the file opens and it gets the 19778 correct because i have the progra...
by mv2112
Fri Aug 06, 2010 11:44 pm
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Re: mvEngine Development Thread

// Assuming you have a valid FILE FILE* bmpFile; if( ( bmpFile = fopen( fileName, "rb" ) ) == NULL ) return false; //gtfo // Read Header // s_bitmap_header fHeader; fread( &fHeader, sizeof( s_bitmap_header ), 1, bmpFile ); // Magic number doesnt check out // if( fHeader.type != 19778 ...
by mv2112
Fri Aug 06, 2010 12:12 am
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Re: mvEngine Development Thread

So i've been using SDL_Surfaces to load images and i though i would try to load a bitmap manually and i almost succeeded, However the image appears black and white. I was basing my code off of this dudes code . After learing about bit operations and stuff like that, i understand most of the code i w...
by mv2112
Tue Aug 03, 2010 7:59 pm
Forum: Programming Discussion
Topic: my first lua program
Replies: 4
Views: 711

Re: my first lua program

Randi wrote:as far as I know I'm using the correct libs, I tried "g++ main.cpp -llua5.1 -llualib" and got the same error message. I've searched in /usr/lib/ and those seem like the only lua libs.
The function name is wrong, its luaL_dofile();
by mv2112
Mon Aug 02, 2010 8:08 pm
Forum: Programming Discussion
Topic: mvEngine Development Thread
Replies: 115
Views: 7345

Re: mvEngine Development Thread

I'm starting to like openGL. I just learned how to rotate an object around it's center! My adventure through openGL continues...