Search found 65 matches

by Scoody
Wed Aug 24, 2011 3:11 pm
Forum: Game Development
Topic: android game development?
Replies: 18
Views: 5089

Re: android game development?

His Java game development is just a ripoff from a book, so I'm guessing the rest is based on the same principle, "read out loud what's in the book". Easy ad-cash I suppose.
by Scoody
Sun Aug 21, 2011 8:47 am
Forum: Programming Discussion
Topic: Minimizing local variable declarations
Replies: 15
Views: 2422

Re: Minimizing local variable declarations

I guess looking at the disassembly would show what's going on in both cases. Althoug I guess the compiler will be able to optimize the case you describe, without basing it on any facts what-so-ever :roll:
by Scoody
Thu Aug 11, 2011 3:26 pm
Forum: General Gaming
Topic: Falco's Biweekly Game Purchases
Replies: 74
Views: 75805

Re: Falco's Biweekly Game Purchases

GyroVorbis wrote:I have to admit that I've never played this for more than a few hours... The time has come to actually beat it. :)
This game is like the holy grail of win!
by Scoody
Wed Oct 06, 2010 5:18 am
Forum: Programming Discussion
Topic: how literals are stored in memory
Replies: 19
Views: 2914

Re: question about passing string literals to functions

Since you're just passing a pointer to the string, only the pointer gets removed when the function ends.
by Scoody
Fri Sep 24, 2010 1:50 am
Forum: Programming Discussion
Topic: storing return values then using vs using directly
Replies: 2
Views: 500

Re: storing return values then using vs using directly

It hides the x,y in the parent class, so you'd have to use the scope resolution operator to access them. vector2f::x and vector2f::y.
by Scoody
Tue Sep 07, 2010 2:06 am
Forum: Programming Discussion
Topic: Homework help
Replies: 12
Views: 1797

Re: Homework help

You're missing the second half of the first instruction :)
by Scoody
Mon Aug 16, 2010 4:51 pm
Forum: Programming Discussion
Topic: [SOLVED]Class access help
Replies: 8
Views: 879

Re: Class access help

My C++ is getting a bit rusty, but I think it's because you're storing <Mesh>'es. Then it has to run the copy constructor to store it in the vector, but if you used <Mesh*>, it won't instantiate it through the copy constructor. Kinda like you can't declare an array of SomeObject someObjectArray[n]; ...
by Scoody
Fri Aug 06, 2010 1:08 pm
Forum: Programming Discussion
Topic: Linker Issues
Replies: 5
Views: 876

Re: Linker Issues

Include the header file in FBModel.cpp and use "class FBEngine;" in FBModel.h instead of including it. This is good enough as long as you're using pointers since the interpreter doesn't need to know anything about the class at that point other than that it's pointing to a class.
by Scoody
Thu Aug 05, 2010 12:59 pm
Forum: Game Development
Topic: What was your first game?
Replies: 23
Views: 5057

Re: What was your first game?

I coded tetris in C++Builder in december 2004. Didn't have any tutorials or anything, just poked around until I found what I needed; lots of digging in help files. The game worked without any problems too. Didn't have any menu though, so it was straight into game mode ...
by Scoody
Tue Jul 13, 2010 2:22 pm
Forum: Programming Discussion
Topic: A small coding question
Replies: 16
Views: 1808

Re: A small coding question

The angle will not always be 90 degrees at the player to make use of pythagoras ...
by Scoody
Thu Jul 01, 2010 12:25 pm
Forum: General Gaming
Topic: Favourite RTS and why?
Replies: 28
Views: 7889

Re: Favourite RTS and why?

As EdBoon said, Dune II. I remember seeing it the first time; the graphics just blew my mind. Liked the resource collecting part. Even made it through with all three houses. Then I got Warcraft I later which had the same principles basically. I'd use to leave the enemy's farm so I could harvest ever...
by Scoody
Mon Jun 28, 2010 1:34 am
Forum: General/Off-Topic
Topic: Java 4 Ever
Replies: 17
Views: 2574

Re: Java 4 Ever

"Where do you want to go today?" on his father's tombstone :lol:
by Scoody
Wed Jun 16, 2010 2:01 am
Forum: Programming Discussion
Topic: How can I achieve this?
Replies: 3
Views: 643

Re: How can I achieve this?

Like map?
by Scoody
Mon Jun 14, 2010 3:02 pm
Forum: Programming Discussion
Topic: random numbers
Replies: 6
Views: 838

Re: random numbers

Just seed it once, ie. in main before anything else is initialized. Don't put it in a constructor that's called more than once like your player-class, as I understand.
by Scoody
Sun May 30, 2010 6:21 am
Forum: Game Development
Topic: DRM In Your Game
Replies: 14
Views: 2108

Re: DRM In Your Game

I think putting DRM on it will cost you unnecessary and scare away otherwise potential users, so you'll lose money either way.
Look at it this way: those who pay would do so if you had DRM or not, and those who pirate will do so if you have DRM or not.