The Dev-athon begins!
Moderator: PC Supremacists
The Dev-athon begins!
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!
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: The Dev-athon begins!
Well... then it looks like I get to do what I do best here: BITCH.
GET BACK TO WORK!
GET BACK TO WORK!
Re: The Dev-athon begins!
Cool, can't wait to see what comes out of this.
Re: The Dev-athon begins!
And now it begins
- Trask
- ES Beta Backer
- Posts: 738
- Joined: Wed Oct 29, 2008 8:17 pm
- Current Project: Building a 2D Engine
- Favorite Gaming Platforms: Sega Genesis and Xbox 360
- Programming Language of Choice: C/C++
- Location: Pittsburgh, PA
- Contact:
Re: The Dev-athon begins!
Bad ass, enjoy and I can't wait to read the updates.
Dear god, they actually ported ES to a piece of celery!MarauderIIC wrote:You know those people that are like "CHECK IT OUT I just made Linux run on this piece of celery [or other random object]!!"? Yeah, that's Falco, but with ES.
Martin Golding wrote: "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
Re: The Dev-athon begins!
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 >.>
Edit: my post time is an hour off, go figure >.>
Re: The Dev-athon begins!
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
I also get an error about the ending curly brace on Game::~Game(){
} it says "Expected '}' at end of input but its like... there...
g++ keeps telling me that I can't overload my constructor for my Game class... but I'm not overloading it
classes.h
Code: Select all
class Game;
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();
}
} it says "Expected '}' at end of input but its like... there...
- Trask
- ES Beta Backer
- Posts: 738
- Joined: Wed Oct 29, 2008 8:17 pm
- Current Project: Building a 2D Engine
- Favorite Gaming Platforms: Sega Genesis and Xbox 360
- Programming Language of Choice: C/C++
- Location: Pittsburgh, PA
- Contact:
Re: The Dev-athon begins!
You're missing a } after your Void flip declaration under your public class section.
Dear god, they actually ported ES to a piece of celery!MarauderIIC wrote:You know those people that are like "CHECK IT OUT I just made Linux run on this piece of celery [or other random object]!!"? Yeah, that's Falco, but with ES.
Martin Golding wrote: "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
Re: The Dev-athon begins!
oh jesus... thanks
Re: The Dev-athon begins!
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
- WSPSNIPER
- Chaos Rift Regular
- Posts: 145
- Joined: Sun Jan 03, 2010 6:19 pm
- Current Project: top down shooter
- Favorite Gaming Platforms: ps3
- Programming Language of Choice: c++
Re: The Dev-athon begins!
nice, i find that music always helpseatcomics 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
Re: The Dev-athon begins!
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
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!
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
Edit: I should prolly mentioned ginto showed me that, may i also suggest Killers like candy by I am ghost