Page 1 of 4
The Dev-athon begins!
Posted: Sat Sep 04, 2010 11:41 am
by eatcomics
Over the long weekend I will be doing a 2D platformer in SDL. I will update my progress every two hours... well after I take my brother to my grandma's... I'll grab an energy drink on my way back and then get to devving!
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 11:46 am
by Falco Girgis
Well... then it looks like I get to do what I do best here: BITCH.
GET BACK TO WORK!
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 11:48 am
by ZOMBIE!!!
Cool, can't wait to see what comes out of this.
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 12:20 pm
by eatcomics
And now it begins
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 12:22 pm
by Trask
Bad ass, enjoy and I can't wait to read the updates.
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 1:10 pm
by eatcomics
This is more of a test update, I kinda forgot what time I started, so I have to see if my post times are right. Anyways I've gotten a compile.bat set up, I've gotten a bit of an SDL class started and I've notified 3 other sites of my devathon. Haven't been too productive I've had compile issues but I got it figured out. Its been too long since I used g++
Edit: my post time is an hour off, go figure >.>
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 2:00 pm
by eatcomics
Not an update, I'm having trouble
g++ keeps telling me that I can't overload my constructor for my Game class... but I'm not overloading it
classes.h
classes.cpp
Code: Select all
#include "includes.h"
class Game{
public:
SDL_Surface *screen;
bool quit;
Game();
~Game();
int setupGame();
int gameLoop();
int loadBMP();
int loadPNG();
void flip(){ SDL_Flip(screen);
};
Game::Game(){
quit = false;
SDL_Init(SDL_INIT_EVERYTHING);
screen = SDL_SetVideoMode(800,600,32,SDL_SWSURFACE);
SDL_WM_SetCaption("JumpyMovyShooty",NULL);
}
Game::~Game(){
SDL_Quit();
}
I also get an error about the ending curly brace on Game::~Game(){
} it says "Expected '}' at end of input but its like... there...
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 2:09 pm
by Trask
You're missing a } after your Void flip declaration under your public class section.
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 2:10 pm
by eatcomics
oh jesus... thanks
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 3:03 pm
by eatcomics
UPDATE TIME! So I've gotten SDL set up correctly, I've started the player class, but then I thought... hey I think I'll do input first, so I've kinda got that, apparently I'm missing a semi colon somewhere but I'll get it. Things should pick up soon. Got some Might Mighty Bosstones playin, and I'm pretty psyched. I've also got image loading and displaying in forgot that xD
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 3:05 pm
by WSPSNIPER
eatcomics wrote:UPDATE TIME! So I've gotten SDL set up correctly, I've started the player class, but then I thought... hey I think I'll do input first, so I've kinda got that, apparently I'm missing a semi colon somewhere but I'll get it. Things should pick up soon. Got some Might Mighty Bosstones playin, and I'm pretty psyched. I've also got image loading and displaying in forgot that xD
nice, i find that music always helps

Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 5:01 pm
by eatcomics
Close enough to update time, what's two minutes
mk so I realized the way I was doin it wasn't gonna work, so I came up with a quick solution and all is well. Right now there's nothing visible but the underlying structure is there, so next update should be a big one, I'm not sure but I figure I'll have to go pick up my brother soon, or maybe he won't come home till around 10 IDK either way I'll probably go to DQ for some food... cause I'm starving and there's nothin to eat here.... I'm hoping to have tiles in by next update, so it should look like an actual platformer
be prepared y'all
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 5:02 pm
by ZOMBIE!!!
8 bit music == The best coding music IMHO.
http://www.youtube.com/watch?v=L9ilV-BJ2ig
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 5:59 pm
by eatcomics
I like I fight dragons
http://www.ifightdragons.com/album/cool ... mber-ep-1/ and other music
Edit: I should prolly mentioned ginto showed me that, may i also suggest Killers like candy by I am ghost
Re: The Dev-athon begins!
Posted: Sat Sep 04, 2010 6:13 pm
by LeonBlade
Why is this still in your signature...

>March