WWII Smackdown

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

Larz Olfen
New Member
Posts: 13
Joined: Thu 16 Mar, 2006 12:23 am

WWII Smackdown

Post by Larz Olfen »

You read it right. World War Two Smackdown. An arcade fighting game between the world's leaders of the time. Pretty weird, huh?

Actually it goes back to my history teacher talking about germany punching out france...but anyway.

The sprites suck more or less (I'll get a screen shot of them later) but thats because i have to do at least 5 leader's (i have already done Hitler, Mussolini, Tojo, and FDR (who rides his wheel chair) and I have yet to do Charles de Gaulle (french dude) and Stalin (who I may not do))

So I have to do each of them doing left/right punches/kicks and some combos or whatever. Since this is going to be in xLib...i dont want to take up a lot of space w/ 32*32 sprites...more on this later.


Oh, P.S. I have doubts about this being completed...
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

I would like to welcome you to the forums, let you know that I would love to see this completed. If you need sprite help they have a section here (pixel art). Good luck and I hope to see a SS soon!

P.S. Are you from UTI forums?
Larz Olfen
New Member
Posts: 13
Joined: Thu 16 Mar, 2006 12:23 am

Post by Larz Olfen »

No...Im not. Why do you ask?

Aside from that, I'd really appreciate help with the art, but I wont ask for help until I actually think I'll finish this...i don't want you to waste ur time.

Here is the title screen btw...

Image
katmaster
Sir Posts-A-Lot
Posts: 252
Joined: Tue 09 Aug, 2005 9:34 pm
Location: south of the north pole
Contact:

Post by katmaster »

Sounds cool. Asm, BASIC, Basic with xLIB, Basic with some other lib?
cheese=yum
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Re: WWII Smackdown

Post by Timendus »

Larz Olfen wrote:Since this is going to be in xLib...
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Larz Olfen
New Member
Posts: 13
Joined: Thu 16 Mar, 2006 12:23 am

Post by Larz Olfen »

yeh, thanks for answering that, Timendus.

Anyway, I have a problem already, and Im not sure what causes it (since im pretty new to using xLib). I have all the "real(" things set to display the sprites, but when I run the game, they dont appear. Once I stop the game, they are on the graph screen...so does anyone know why this is? (Btw, I dont have a map behind the sprites, and I dont know if that makes a difference or not...)
User avatar
NanoWar
Extreme Poster
Posts: 365
Joined: Fri 17 Dec, 2004 6:39 pm
Location: #$&"%§!
Contact:

Post by NanoWar »

xLibs real( sprite routines copy your sprite to a graphbuffer - not to the screen (afaik). To copy the buffer to the screen use:

Code: Select all

6 - UpdateLCD 
------------- 
usage: real(6 

This function will copy the graph buffer to the LCD
Make sure you clean the buffer [real(0] before using.
Revolution Software
Larz Olfen
New Member
Posts: 13
Joined: Thu 16 Mar, 2006 12:23 am

Post by Larz Olfen »

tnx. for some reason when ive screwed around w/ xlib b4, i never needed that...
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

This sounds controversial, but still cool :). You dont always have to use the UpdateLCD option, as any function that writes to the buffer has that option built into it. Just enable it on the last function that draws to the graph buffer in your main loop.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

Yeah, just make sure you included all the syntax and it should work.
Larz Olfen
New Member
Posts: 13
Joined: Thu 16 Mar, 2006 12:23 am

Post by Larz Olfen »

I have some sprites done...as i said they kinda suck. Turns out I can only do right punch and right kick, because of the way things look (although a left kick may be possible)(no left punch, though) I've only done a kicking sprite for Hitler, so I won't post that yet.

Oh, and for most of them everything below their head is identical...


Image


(those are ears on De Gaulle that look so weird. He had some pretty weird ears.)

*GASP* :o I havent done a Churchill sprite. Don't worry, he'll be in the game...once i make his sprite...
katmaster
Sir Posts-A-Lot
Posts: 252
Joined: Tue 09 Aug, 2005 9:34 pm
Location: south of the north pole
Contact:

Re: WWII Smackdown

Post by katmaster »

Larz Olfen wrote:Since this is going to be in xLib...
Crap, sorry. It was late and I missed that sentence. Forgive me :)
cheese=yum
Image
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

If you really wanted, xLIB can flip the sprite when you change directions.
Larz Olfen
New Member
Posts: 13
Joined: Thu 16 Mar, 2006 12:23 am

Post by Larz Olfen »

yeh, I know. and that'll be especially good for the opposing AI, you know, so I dont have to draw so many sprites...

Oh, btw, I was looking at some other topic (racing game one...can't remember the name) and it mentioned Rigview for grayscale sprites. I tried it, and it worked. Here's my question: how can you get the rigview pics into a game (such as an xlib game) and is that even possible? Sorry if this is in the readme, but I haven't had much time on my comp that hasn't involved incredibly long projects for school :cry: ...
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

Well rigview is mostly for pictures, not to be used as graphics since you can't place them around. xLIB can do gs though, there are a few tutorials online. Here is one I find very good.
Post Reply