Nestix: Graphics

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Nestix: Graphics

Post by JS Lemming »

It would probably be best to divide once again. Who knows, we might end of with a music topic and a design topic as well.
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Falco Girgis
Elysian Shadows Team
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:

Post by Falco Girgis »

I sorta consider the original the "Design" topic, but yeah, I could see a sound one being started in here, and we already have us a programming one in t3h programming forum.
User avatar
Falco Girgis
Elysian Shadows Team
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:

Post by Falco Girgis »

How's the overworld template going also?
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Overworld template? I haven't even been thinking about it. Would it not be wise if we make a simple top down view design first? Like of the entire hang area. Then we can make a template of the actuall 3d-ish roomz. How else would you do it without knowing where doors and such would be.
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Falco Girgis
Elysian Shadows Team
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:

Post by Falco Girgis »

Yep yep, good idea.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Post by MarauderIIC »

Do we have to do sheets? Wouldn't it be faster (since you don't have to cut images out of a sheet), easier (since you can change stuff) and more organized if we did things such as /player/walk/frame1.png /player/walk/frame2.png ?
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Falco Girgis
Elysian Shadows Team
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:

Post by Falco Girgis »

Yeah, I guess that we could do that. JSL doesn't want to though... To tell you the truth, I don't really care. :?

What do you think, JSL?
User avatar
Falco Girgis
Elysian Shadows Team
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:

Post by Falco Girgis »

Assuming that we're doing it JSL's way, how would we do Gemini Man's stage from MegaMan 3?

It is like a disco or something, all of the tiles are animated and flash pretty colors... Would that go onto the main level sheet, or its own seperate "whatever_tile_sheet.png"?
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Stick with sheets people, you will hate yourself if you do otherwise. (heh, my editor is designed for sheets :mrgreen:)

Dang, I never thought about the Gemini Man's stage. But it is do-able. It will require us to design the sheet so that the program can actually change the data of the level durring game play to iterate through the the same tiles (but with different colors). Hmm. How many different colors are we talking about?
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Falco Girgis
Elysian Shadows Team
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:

Post by Falco Girgis »

It seems like everything in that stage has a good 3 frames of animation (backgrounds, tiles, etc.)


It's got a red, blue, and sorta brown yellow.
User avatar
Falco Girgis
Elysian Shadows Team
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:

Post by Falco Girgis »

Slan45, how's that character coming?
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Nestix: Graphics

Post by MarauderIIC »

I'm confused. Why would we hate ourselves for having an organized, easily editable directory structure instead of a hard-defined size of an image in a spritesheet?
JS Lemming wrote:Do you know what that would cost!?! We would have to type in the load image function like a bazzion times!! If you are worried about the splicing of a sheet, don't be. I can handle that. Plus, you would only load a sheet like once a level, which would not kill processing time yo.
No.. you wouldn't. At least, not any more than you would have to tell it to splice. The spritesheets don't allow us flexibility, and there's no big bonus to doing a sheet, that I can see, whereas if we do separate images we can easily change one frame w/o having to recode the splice, and since the size is autodetected (at least, in OpenGL. SDL should be no different), I don't see why we should do it a potentially aggravating way.

You could also easily add frames, doing something like this:

Code: Select all

class Player {
    vector<Texture*>frames;
// ...
};

class Texture {
    string imageFile;
// ....
};
/players/walk.dat:

Code: Select all

/players/frames/one.png
/players/frames/two.png
/players/frames/three.png
/players/frames/oopsiwantanotherframe.png
/players/frames/four.png
Which you can't do as easily with a sheet, since everything in a sheet is locked in place.
Last edited by MarauderIIC on Tue Oct 12, 2004 3:40 pm, edited 2 times in total.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Falco Girgis
Elysian Shadows Team
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:

Post by Falco Girgis »

:rofl:
I'm just going with whatever...

Mar, JSL, what about enemies?
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

When you talk of flexibility, do you mean having to add a sprite into a sheet as being difficult or adding in a sprite during program run? I don't see how you could possibly think a million seperate images is better then WELL ORGANIZED sheets....

Also, we would only need 1 splicing function!
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
Guest

Nestix: Graphics

Post by Guest »

I am clueless....

Lets say the below is terrain:

Code: Select all

 _
/=\
and you wanted it bigger:

Code: Select all

 _____
/=====\
It would just be a matter of using multiple of the middle square on a split sheet, but using several images in a directory, how would you do that? Would you just save the big one and the small one as differnt imges? If so, wouldn't that make the size of the game HUGE?

But, as already said, it would be much easier using organized directories than a split sheet when making the charactor, wouldn't it?

So I dunno, which should we use? Do we like, vote? O.o
Should we add a poll to this topic for 5 days?
Last edited by Guest on Tue Oct 12, 2004 8:36 pm, edited 6 times in total.
Post Reply