Search found 240 matches

by Benjamin100
Thu Sep 22, 2011 8:45 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

Sorry Falco,
I wasn't quite sure where to put it. I'm new to the forum.
Anyhow, I did figure out a way to make tiles.

Thank you,

-Benjamin
by Benjamin100
Wed Sep 21, 2011 11:26 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

Okay, hopefully this is my final question on the topic;

What is a good way to set up a tile engine? Are there any online lessons about this that are good?

Thank you,

-Benjamin
by Benjamin100
Wed Sep 21, 2011 9:16 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

Of course, a destructor.
I remember reading about those once. I just forgot.
Thanks,

-Benjamin
by Benjamin100
Wed Sep 21, 2011 7:30 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

But what is the point of the second function of the class? Do I really need it?
by Benjamin100
Wed Sep 21, 2011 5:41 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

Like, can I still do

Code: Select all

 rock[i].placement.x=x
?
by Benjamin100
Wed Sep 21, 2011 5:38 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

But wouldn't I want to put the rocks in different locations? Should I have a draw function outside of the class?
by Benjamin100
Wed Sep 21, 2011 5:30 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

I think I've tried doing that but I think it came up with an error. I'll check again.
by Benjamin100
Wed Sep 21, 2011 4:58 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

Okay, now another thing... Can I create an array of objects for a certain class? I think I must be able to, how else can you create a game engine where you can put in multiple objects that are the same but in different positions at the same time? I mean, should I type out a new "rock" obje...
by Benjamin100
Tue Sep 20, 2011 8:32 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

I think I just figured out what I want to do.

I think instead of creating arrays with the objects, I should just create arrays with the rects.

Thanks for the help anyways.

-Benjamin
by Benjamin100
Tue Sep 20, 2011 8:14 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Re: Game engine, C++,SDL (I'm new.)

Thanks for the response!
I think I saw "Lusikka"'s already, as I think that is where I got my method. But I think it only worked for two objects at a time, (without lots of coding).
I think I will look more into some of those others though.

Thank you,

-Benjamin
by Benjamin100
Tue Sep 20, 2011 6:06 pm
Forum: Programming Discussion
Topic: Game engine, C++,SDL (I'm new.)
Replies: 30
Views: 18375

Game engine, C++,SDL (I'm new.)

I wasn't quite sure where to put this on here... I think I've become decent with C++, or at least enough so, so I decided I should learn some SDL, so I'm trying to make a little game where the character can move up,down,left, and right around the screen, and stop when touching walls, blocks, and stu...
by Benjamin100
Wed Jul 20, 2011 2:34 pm
Forum: Programming Discussion
Topic: javascript & iPhone
Replies: 7
Views: 1471

Re: javascript & iPhone

Do you need to pay to use Java for commercial purposes? I sort of thought you needed to.
by Benjamin100
Wed Jul 20, 2011 1:51 pm
Forum: Art, Music, and Design
Topic: Question about this art style
Replies: 7
Views: 2523

Re: Question about this art style

I was thinking, wouldn't that be pretty difficult?
by Benjamin100
Tue Jul 19, 2011 9:49 pm
Forum: General Gaming
Topic: I AM NOW GETTING A 3DS!
Replies: 25
Views: 5740

Oh

I remember having trouble with the ocarina game as a kid, and not getting far. I started playing again recently, and think I like it a bit better. I think I was pretty young when it came out.
by Benjamin100
Tue Jul 19, 2011 9:44 pm
Forum: Art, Music, and Design
Topic: Question about this art style
Replies: 7
Views: 2523

Re: Question about this art style

Hope you can find the information at this link;
http://www.chrissawyergames.com/faq3.htm