Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Geekboy1011 on May 16, 2011, 02:58:04 pm

Title: Twitch
Post by: Geekboy1011 on May 16, 2011, 02:58:04 pm
Thanks to an Idea from a member on Omnimaga I decided to remake the game



Kirby's QuickDraw = Im calling it Twitch though 

Basically you face off against an opponent in a game of reaction time first person to hit the button wins!

yeah so far I have a title screen and some psuedo code layed out to coding I go!

(http://img.removedfromgame.com/imgs/0-twitch2.gif)

(http://img.removedfromgame.com/imgs/twitchicon.gif)
Title: Re: Twitch
Post by: DJ Omnimaga on May 16, 2011, 03:04:04 pm
Hmm I never played that game before. I'll have to check on Youtube for it. It seems interesting though. How far is the gameplay progress?

Also nice '90s style calculator game title screen :P
Title: Re: Twitch
Post by: Geekboy1011 on May 16, 2011, 03:12:55 pm
Code: [Select]
Error: Argument '(xen),$4E' (for 'ld') not understood. [zztemp.asm:132]
Error: Argument '(xu),48' (for 'ld') not understood. [zztemp.asm:133]
Error: Argument '(xen),b' (for 'ld') not understood. [zztemp.asm:141]
Error: Argument '(xu),b' (for 'ld') not understood. [zztemp.asm:151]

Code: [Select]
ld (xen),$4E ;load enimies xpos 78 /$4E
ld (xu),48


intro:
push bc        ;store b for the loop
ld a,(xen) 
ld b,a        ;dec a store back into xen
dec b
ld (xen),b             
ld ix,them   ;load sprite data into ix
ld bc,$1010
ld l,1
call ilargesprite


ld a,(xu)
ld b,a
inc b            ;inc xu
ld (xu),b
ld ix,you
ld bc,$1010
ld l,48
call ilargesprite
pop bc
djnz intro

Yeah some one mind pointing me in the right direction?
Title: Re: Twitch
Post by: Geekboy1011 on May 16, 2011, 04:36:01 pm
so far its still in coding phase and no game play has been coded

But we got some gfxs

(http://img.removedfromgame.com/imgs/twitchgfx3.gif)
Title: Re: Twitch
Post by: ztrumpet on May 16, 2011, 05:50:34 pm
Nice.  Is this going to be link based or will it have an AI?
Title: Re: Twitch
Post by: Geekboy1011 on May 16, 2011, 09:55:59 pm
It intends to have an Ai I am toying with the idea of setting it up for GCN atm
Title: Re: Twitch
Post by: DJ Omnimaga on May 16, 2011, 10:07:21 pm
Looks nice Geekboy. Also for ASM help I would recommend using a separate thread, as many ASM guys do not check project threads, but rather the help section.
Title: Re: Twitch
Post by: Geekboy1011 on May 16, 2011, 10:09:33 pm
Yeah I managed to prod kerm enough for some help turns out the keypad resets it self each time you call it go figure it works now tough ^_^

Now to coding in the user keyinput speed detector thingie wahoo
Title: Re: Twitch
Post by: Geekboy1011 on May 20, 2011, 10:05:37 pm
KERBUMP


new screenie yay

(http://img.removedfromgame.com/imgs/twitchr2.gif)

Just shows the Phase screen and a short couple rounds of in game not done yet though more effects to add and stuff ^_^
Title: Re: Twitch
Post by: Munchor on May 20, 2011, 10:10:39 pm
Geekboy, you're learning ASM faster than me! :P The effects are looking really nice :)
Title: Re: Twitch
Post by: Geekboy1011 on May 20, 2011, 10:15:04 pm
Lol scout i would not say that the source code is atrocious xD and asm just seems to come easy to me i will gladly send you the source if you want to see and poke fun at me :P


(http://img.removedfromgame.com/imgs/stfd.gif)

olook a screen that yells at you for twitching to much maybe that 17th cup of coffee was a bit to much godot eh :P </end videogames taking over my life>

also new highscore 11 my best is 1 though which was an accident :P
Title: Re: Twitch
Post by: yunhua98 on May 20, 2011, 11:33:28 pm
lol nice, how'd you get a 1 by accident?   :P
Title: Re: Twitch
Post by: Geekboy1011 on May 20, 2011, 11:35:06 pm
was testing it out and hit shift literally just as the code jumped to the who hit the key fastest part and i got a 1!! i took a screenie of it as well xD

(http://img.removedfromgame.com/imgs/omgwtf1.gif)
Tis only a still though cause I was just testing code ;.;
Title: Re: Twitch
Post by: DJ Omnimaga on May 21, 2011, 01:07:17 am
Nice Geekboy lol. :D
Title: Re: Twitch
Post by: Geekboy1011 on May 21, 2011, 06:38:40 pm
Ok now I am in the need of sprites, The main part of the engine is done and all its just adding in phases and a few other things...BUT I need sprites first so.
Can I get some 16x16pxl sprites for enemies and 1 16x16pxl sprite for the actual player?

If some one feels like spriting the original Kirby characters that would be awesome as well :P

ScreenShot: shows every thing I have done so far

(http://img.removedfromgame.com/imgs/twitchf.gif)
Title: Re: Twitch
Post by: Deep Toaster on May 21, 2011, 06:41:51 pm
Code: [Select]
Error: Argument '(xen),$4E' (for 'ld') not understood. [zztemp.asm:132]
Error: Argument '(xu),48' (for 'ld') not understood. [zztemp.asm:133]
Error: Argument '(xen),b' (for 'ld') not understood. [zztemp.asm:141]
Error: Argument '(xu),b' (for 'ld') not understood. [zztemp.asm:151]

Code: [Select]
ld (xen),$4E ;load enimies xpos 78 /$4E
ld (xu),48


intro:
push bc        ;store b for the loop
ld a,(xen) 
ld b,a        ;dec a store back into xen
dec b
ld (xen),b             
ld ix,them   ;load sprite data into ix
ld bc,$1010
ld l,1
call ilargesprite


ld a,(xu)
ld b,a
inc b            ;inc xu
ld (xu),b
ld ix,you
ld bc,$1010
ld l,48
call ilargesprite
pop bc
djnz intro

Yeah some one mind pointing me in the right direction?

You can't load a value straight into a location, unfortunately. Neither can you load into a location with B, C, or any other register except A and HL. Literally every valid instruction is listed in tasm80.tab or here (http://clrhome.co.cc/resources/table/) (hope you don't mind the ad).

The graphics look awesome! Is this your first ASM game?
Title: Re: Twitch
Post by: Geekboy1011 on May 21, 2011, 06:43:11 pm
Lol i had that solved a while ago Deep :P if i did not you wouldn't see the animations you see in the screenie xD
Title: Re: Twitch
Post by: Deep Toaster on May 21, 2011, 06:44:05 pm
Lol I know, but just in case you guess/checked and were still wondering :D
Title: Re: Twitch
Post by: Geekboy1011 on May 22, 2011, 01:30:25 am
(http://img.removedfromgame.com/imgs/dif3.gif)

Screenie Goodness yay!!

Every thing works! except the help Button which is probably going to give some really bad advice so :P
should probably add in a label that tells you how to exit though xD


Did not have a losing screen in that screenie so here it is!
(http://img.removedfromgame.com/imgs/lost.gif)
Title: Re: Twitch
Post by: Munchor on May 22, 2011, 12:49:49 pm
Oh my god, that was *fast*!!!

Lifes and game engine both working and a losing screen :D

Really nice game!
Title: Re: Twitch
Post by: Geekboy1011 on May 22, 2011, 01:18:24 pm
Hmm i hope people do not follow these instructions 100% literally.....

(http://img.removedfromgame.com/imgs/halp.gif)

wait who am I kidding it makes it more fun
Title: Re: Twitch
Post by: Geekboy1011 on May 22, 2011, 10:52:55 pm
DOUBLE POSTS ARE BEAST


why you ask cause in this particular case they come with game releases ;)

and look a readme!! cause we all know no one is going to actually open that text file :P
Code: (Readme!!) [Select]
=====================
=======TWITCH========
=====================
=Coded By:Tim Keller=
=====Geekboy1011=====
=====================


How to Play:
When the ! appears you hit the [2nd] key as fast as possible

Controls:
[2nd] to start game. Then 1-3 to select Difficulty
[Mode] To see the help Screen
[Del] To delete scores
[Y=] to quit from main menu


Change log:

                 ==v1==
first public release every thing should be done




Todo:

CalcNet GOGOGOGOGOGOGOGOGO!!!!!










Other Crap:
Thank you Omnimaga,Cemetech as with out ya there would be no one to play this GAME >:E


Runer112: For taking the time to put up with me as I spew crap and lies about my own code in a horrid attempt at debugging it

Iambian Zenith: For being the person to actually push me over the edge to start learning asm :P

Every One Else: Um Thanks? You all rule?[/quote]

Game can be Found here
http://www.omnimaga.org/index.php?action=downloads;sa=view;down=672
Title: Re: Twitch
Post by: DJ Omnimaga on June 07, 2011, 02:10:58 am
I'm glad it's released and you made your first game too. :D

Also in the description you should tell people to avoid drinking too much energy drinks! O.O