Search found 98 matches

by StoveBacon
Sat Jan 01, 2011 11:51 am
Forum: General Gaming
Topic: Starcraft 2 Officially out!!
Replies: 62
Views: 10152

Re: Starcraft 2 Officially out!!

I've used it a little bit before, i think it would be more fun just to play with a real person.
by StoveBacon
Fri Dec 31, 2010 11:19 pm
Forum: General Gaming
Topic: Starcraft 2 Officially out!!
Replies: 62
Views: 10152

Re: Starcraft 2 Officially out!!

I just got starcraft 2 for christmas and i would really love it if someone could help me learn build orders and stuff...IDK if anyone is good with protoss but i really like playing as them. i really like zerg too.
by StoveBacon
Fri Dec 31, 2010 10:05 pm
Forum: Programming Discussion
Topic: Question on game structure?
Replies: 16
Views: 1564

Re: Question on game structure?

Both of you have different ideas...how about you share how exactly you manage all of your images?
by StoveBacon
Fri Dec 31, 2010 3:20 pm
Forum: Programming Discussion
Topic: Question on game structure?
Replies: 16
Views: 1564

Re: Question on game structure?

I'm still confused on how this is implemented.
by StoveBacon
Fri Dec 31, 2010 3:15 pm
Forum: Programming Discussion
Topic: Question on game structure?
Replies: 16
Views: 1564

Re: Question on game structure?

ImageManager* Mgr;

i'm confused, wouldn't that create an imageManager?
by StoveBacon
Fri Dec 31, 2010 2:23 pm
Forum: Programming Discussion
Topic: Question on game structure?
Replies: 16
Views: 1564

Re: Question on game structure?

Code: Select all

struct ImageObject {
    // image manager used for image handling
    ImageManager* Mgr;
    
    ImageObject(ImageManager& mgr) : Mgr(&mgr) {}
};
Wouldn't that make a new image manager for every class that inherits it then?
by StoveBacon
Fri Dec 31, 2010 1:44 pm
Forum: Programming Discussion
Topic: Question on game structure?
Replies: 16
Views: 1564

Re: Question on game structure?

Can someone tell me the best way to get the pointer of the imageManager to my base object? and were should i create the imageManager?
by StoveBacon
Fri Dec 31, 2010 10:44 am
Forum: Programming Discussion
Topic: Question on game structure?
Replies: 16
Views: 1564

Re: Question on game structure?

http://img513.imageshack.us/i/classstruct.png/ So i have a base object class that has x,y,w,h and other basic stuff. Most things that have sprites will inherit this class. The player and enemy do. I Want to have the baseObject class have access to the image manager so at anytime any inherited class...
by StoveBacon
Thu Dec 30, 2010 6:29 pm
Forum: Programming Discussion
Topic: Question on game structure?
Replies: 16
Views: 1564

Re: Question on game structure?

Were would I pass the pointer from?

Edit: ALSO how can i do something like have an input class go to my game system class in case I want to toggle full screen but my buffer is in my image manager, neither of witch have any connection with each other?
by StoveBacon
Thu Dec 30, 2010 3:17 pm
Forum: Programming Discussion
Topic: Question on game structure?
Replies: 16
Views: 1564

Question on game structure?

I'm working on my first big game, and I have a question on how I can give multiple classes access to a single class. I want to make an image manager class but I can't see how each thing that has its own image would have access to this class. like, is there a way to get all the classes I need to be a...
by StoveBacon
Tue Dec 28, 2010 10:31 pm
Forum: Reviews
Topic: Minecraft Review
Replies: 52
Views: 35677

Re: Minecraft Review

Me and my friend have been trying to do multiplayer but my internet is FUBAR and it only lasted like 2 hours and now I can't even ping to his ip address.
by StoveBacon
Sun Dec 05, 2010 3:09 pm
Forum: Art, Music, and Design
Topic: Question about this art style
Replies: 7
Views: 2523

Question about this art style

I don't know if anyone has played it, but rollercoaster tycoon 2 has an awesome art style.
It's isometric but it looks like a 3d model that was like hand drawn....I want to know how they did it..
heres a picture: Image
by StoveBacon
Wed Dec 01, 2010 5:06 pm
Forum: Programming Discussion
Topic: Slowly losing motivation...
Replies: 7
Views: 829

Slowly losing motivation...

i'm kind of ok at game programming but recently i've just not been doing it because i've lost my motivation. I have to many problems with my current project that i put it on hold. Is there anything thats kind of easy to make but will help me learn?
by StoveBacon
Sat Nov 13, 2010 9:28 pm
Forum: Programming Discussion
Topic: Many object w/ vector?
Replies: 7
Views: 678

Re: Many object w/ vector?

but how would you check for collision? the original way i did it was something like it iterates through it, and then it iterates through another one and it checks if the y of the first is equal to the y over the other one minus the height of the blocks.... this worked fine but when there were like 1...
by StoveBacon
Sun Nov 07, 2010 6:27 pm
Forum: Programming Discussion
Topic: Many object w/ vector?
Replies: 7
Views: 678

Re: Many object w/ vector?

how would you do something like checking for collision like in tetris were the blocks under it stop it from moving?
i got one way to work but it sucked.
i had the for loop but then i had another for loop that checked them against each other but it didn't work.