View previous topic - View next topic |
Author |
Message |
Captain Vimes Grumble Teddy
Joined: 12 May 2006 Posts: 225 Location: The City Streets
|
Posted: Thu May 28, 2009 5:30 pm Post subject: Once Again... |
[quote] |
|
Back.
Had some problems at school recently, and so I haven't been able to do any programming. And, on top of that, I lost my flash drive, which had all my programs on it.
But now the problems are solved and I have my flash drive again. Plus, graduation is two days from now, so I'll have the whole summer to do some decent coding. Then, of course, I have to go to college, and I don't know how much free time I'll have there, but still... some time is better than no time.
So... yeah.
*waves* _________________ "Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
|
|
Back to top |
|
|
Mattias Gustavsson Mage
Joined: 10 Nov 2007 Posts: 457 Location: Royal Leamington Spa, UK
|
|
Back to top |
|
|
Captain Vimes Grumble Teddy
Joined: 12 May 2006 Posts: 225 Location: The City Streets
|
Posted: Fri May 29, 2009 5:00 pm Post subject: |
[quote] |
|
Same stuff I've always been working on. Namely, anything that pops into my head. I've been having some problems getting Code::Blocks working with SDL (still), so a lot of it will probably be with Bloodshed Dev-C++, but I still haven't given up hope on getting Code::Blocks up and running. _________________ "Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
|
|
Back to top |
|
|
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
|
Back to top |
|
|
Mattias Gustavsson Mage
Joined: 10 Nov 2007 Posts: 457 Location: Royal Leamington Spa, UK
|
Posted: Sat May 30, 2009 2:06 pm Post subject: |
[quote] |
|
I you use windows, there's really no reason to use anything other than Visual Studio - the debugger alone makes it better than most other IDEs. _________________ www.mattiasgustavsson.com - My blog
www.rivtind.com - My Fantasy world and isometric RPG engine
www.pixieuniversity.com - Software 2D Game Engine
|
|
Back to top |
|
|
Captain Vimes Grumble Teddy
Joined: 12 May 2006 Posts: 225 Location: The City Streets
|
Posted: Thu Jun 11, 2009 1:19 pm Post subject: |
[quote] |
|
Sorry for not posting in so long. I've been working on the Hammer.
I finally got Sprites animated - that's been giving me trouble in the past - but now I'm trying to add a Map class. My idea is this:
The Engine class has a Map member.
The Map member holds the SpriteManagers that were previously part of the Engine, as well as an array of Tiles. This way the Map can more easily compare Sprite and Tile positions. So the Map takes over the Update and Draw functions as well as the duty of handling the Sprites.
It compiles without error, but when I try to run or debug it it says "SEGMENTATION FAULT" and cuts out. Which is weird, because I even put a breakpoint before the first line of code was executed and it still happened.
Any ideas on a) how to get rid of this thing or b) a way to improve the Map class? _________________ "Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
|
|
Back to top |
|
|
RedSlash Mage
Joined: 12 May 2005 Posts: 331
|
Posted: Fri Jun 12, 2009 1:00 am Post subject: |
[quote] |
|
Quote: | Which is weird, because I even put a breakpoint before the first line of code was executed and it still happened. |
Are you using global variables? Global variables are initialized in random order and will cause problems esp. they are dependant on other globals. Same goes with static variables.
|
|
Back to top |
|
|
Captain Vimes Grumble Teddy
Joined: 12 May 2006 Posts: 225 Location: The City Streets
|
Posted: Thu Jun 18, 2009 5:21 pm Post subject: |
[quote] |
|
Ah, thanks.
Once again, sorry for not posting. I've lost the habit of checking this site when I get online. _________________ "Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
|
|
Back to top |
|
|
Captain Vimes Grumble Teddy
Joined: 12 May 2006 Posts: 225 Location: The City Streets
|
Posted: Wed Jun 24, 2009 12:14 am Post subject: |
[quote] |
|
Still here, but I'm having trouble posting. Just saying hi again. I'm browsing the forums, but I seem to be unable to post 4 out of 5 times... so yeah. I'm reading, but not posting.
/lurk _________________ "Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
|
|
Back to top |
|
|
RampantCoyote Demon Hunter
Joined: 16 May 2006 Posts: 546 Location: Salt Lake City, Utah
|
Posted: Wed Jun 24, 2009 2:14 pm Post subject: |
[quote] |
|
Yeah, the forums are pretty broken right now.A pity. _________________ Tales of the Rampant Coyote - Old-School Game Developer talks Indie Games, RPGs, and the Games Biz
|
|
Back to top |
|
|
Flawe Slightly Deformed Faerie Princess
Joined: 29 Nov 2007 Posts: 32 Location: London
|
Posted: Thu Jun 25, 2009 9:50 pm Post subject: |
[quote] |
|
I'm a big lurker here! I really need to post more often.
|
|
Back to top |
|
|
Captain Vimes Grumble Teddy
Joined: 12 May 2006 Posts: 225 Location: The City Streets
|
Posted: Wed Jul 08, 2009 4:00 pm Post subject: |
[quote] |
|
Still here, but if this actually posts I'll faint.
Working on a game with actual animated sprites (YAY! Big step for me), but I'm having some inheritance issues. I'll let you guys know when I fix it. _________________ "Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
|
|
Back to top |
|
|
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
Posted: Wed Jul 08, 2009 7:01 pm Post subject: |
[quote] |
|
Captain Vimes wrote: | Still here, but if this actually posts I'll faint.
Working on a game with actual animated sprites (YAY! Big step for me), but I'm having some inheritance issues. I'll let you guys know when I fix it. |
Guess you fainted. :D
If you got any questions man, don't hesitate to ask me. _________________ Principal Software Architect
Rambling Indie Games, LLC
See my professional portfolio
|
|
Back to top |
|
|
Captain Vimes Grumble Teddy
Joined: 12 May 2006 Posts: 225 Location: The City Streets
|
Posted: Mon Jul 27, 2009 3:39 pm Post subject: |
[quote] |
|
Okay, I got inheritance working. So now I'm experimenting with enemy AI.
Basically, this game I'm working on is this:
You have a ship.
There are enemy ships all around you.
Kill the enemy ships.
There are more enemy ships.
Ad nauseum.
It's just practice so that I'll be able to do more complex games later. I'll let you guys know. _________________ "Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
|
|
Back to top |
|
|
Captain Vimes Grumble Teddy
Joined: 12 May 2006 Posts: 225 Location: The City Streets
|
Posted: Sat Aug 22, 2009 4:18 am Post subject: |
[quote] |
|
Back again.
I had a sudden attack of the summer college prep combined with a vicious bout of my internet connection deciding to hate on me. Between the both of these things, and the fact that I seem to be getting sick every other week, I haven't been able to work on the game at all other than creating the class for the enemy bullets.
A problem I foresee in the future, however: I've never used SDL_TTF and can't find any good tutorials for it. Can someone either point me towards some tutorials or show me an alternate way to output the player's score?
On a side note, I'm at college now. This is my first night in my dorm. And the college I'm at - University of Louisville - has student-access wi-fi all over campus. So my connection quality has just gone way up, as has the number of opportunities I have to get online in the first place. On the other hand, classes start soon, and I have no idea how much of my free time they'll suck up. So I could either come back completely soon or just go completely delete-me-from-the-database belly up. Who knows?
Double-majoring in Computer Science and Computer Engineering, by the way. The Speed School offers both of these majors as one program - and, as an added bonus, you get your master's in BOTH in just five years! I'm excited. _________________ "Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
|
|
Back to top |
|
|