Ninja

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

Moderator: MaxCoderz Staff

Toaster
Extreme Poster
Posts: 322
Joined: Tue 15 Feb, 2005 12:08 am
Location: Lost in a land of mysteries.....

Ninja

Post by Toaster »

Hey everyone Iam makeing a new game called Ninja heres a screen shot: http://toaster.t35.com (Look at bottom of page.) Or....

Image

The story line is simple you are a ninja and your task is to defeat a evil king you have your ninja sword and mabey someother weapons as well. You will fight other ninjas and creepy zombies. :p And mabey will be able to do special moves too. Any ideas are welcome.
Last edited by Toaster on Sun 06 Mar, 2005 6:42 pm, edited 1 time in total.
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr

Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
Spengo
Calc Master
Posts: 1116
Joined: Sat 15 Jan, 2005 3:56 am
Location: ooga booga land
Contact:

Post by Spengo »

Yays! That looks fun. There aren't enough platform games for the Ti's yet. (so far the only good ones are sqrxz and mario) Can you make it smooth scrolling? Also, how bout a longer sword and make it animated! Oh yeah, and make it have a lot of cool bloody fx too like the original Mortal Kombat.
bananas... o.o
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

Look nice. I hope this project will be finished. But I hope that you are not cancelling TFS for good (I made a news article about the come back of old dead RPG projects and included TFS in it so I hope it hasn't died as soon as I posted it :( )
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
User avatar
Madskillz
Calc Wizard
Posts: 745
Joined: Fri 17 Dec, 2004 10:22 pm
Location: Wandering around in the Jungle...
Contact:

Post by Madskillz »

oh...what size limits for the sprites? I have some killer 32x32 sprites done, I can also try and do some 16x16...if you want? :D
The Revolution is here...
DarkAuron
Maxcoderz Staff
Posts: 1349
Joined: Sat 18 Dec, 2004 6:53 pm

Post by DarkAuron »

Any reason why the right side of the health box and the second 0 flicker?
[Gridwars Score] - E: 1860037 M: 716641 H: 261194
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

"The Last of the Ninjas", not "The Last of the Ninja's". :)
There is no apostrophe in the plural form...

Anyway - looks great! Hope it goes well for you...
User avatar
blueskies
Calc Wizard
Posts: 553
Joined: Tue 25 Apr, 2006 2:24 pm

Post by blueskies »

Unless the title got cut off.

"The last of the Ninja's patience!"
"The last of the Ninja's ability to reason!"
"The last of the Ninja's will to KILL!!"

hehe
Mike K
New Member
Posts: 59
Joined: Sun 16 Jan, 2005 3:25 am
Location: St. Louis
Contact:

Post by Mike K »

Maybe he is lysdexic and he mean "The Ninja's Last"? :D

-Mike
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 »

Erm ... Anyway it looks cool. I really like seeing new projects sprout up ... its exciting! :).

I think the health flashes because it is updated constantly?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
DarkAuron
Maxcoderz Staff
Posts: 1349
Joined: Sat 18 Dec, 2004 6:53 pm

Post by DarkAuron »

It shouldn't have to update every frame though :)
[Gridwars Score] - E: 1860037 M: 716641 H: 261194
leofox
Calc Master
Posts: 1064
Joined: Fri 17 Dec, 2004 3:22 pm
Location: Probably playing DDR
Contact:

Post by leofox »

Looks good so far, Ninjas are always cool.
Image
Image
Toaster
Extreme Poster
Posts: 322
Joined: Tue 15 Feb, 2005 12:08 am
Location: Lost in a land of mysteries.....

Post by Toaster »

Iam still working on The Forgotten Sword. :) This is just something iam working on while iam board of working on TFS. :wink: In TFS you can now have up to 4 weapons: Sword, Battle Axe, Bow, and The Forgotten Sword. :D I may even include some armor for you to use too.

The health is updated every time so I will just change it so it does not update every time only when you get hurt or heal yourself. The P(Power) is for your moves if you run out you have to wait till it charges up. Does anyone know a fast line drawing routine because the entire program slows down when I use ILine. I cant really make the sword longer unless I make the sprite wider. :(

Edit: Tr1p1ea Iam useing LUT's! :wink: I dont know if you can really tell or not but there's some sorta animation for walking. :roll:
Last edited by Toaster on Sun 06 Mar, 2005 6:50 pm, edited 1 time in total.
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr

Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

Well if it is just horizontal theres a good one in program help.
But if you need to draw any kind of a line, I wrote one that seems to be one of the fastest.
http://www.ticalc.org/archives/files/fi ... 34642.html
Image
Toaster
Extreme Poster
Posts: 322
Joined: Tue 15 Feb, 2005 12:08 am
Location: Lost in a land of mysteries.....

Post by Toaster »

Thanks Jim e. :bow: :bow: (Where's the bow emoticon???)
I will try to add the code to my game right now. (I will include you in the credits!)

Edit: Okay I need some help with that line drawing routine. :P

Code: Select all

                ;Draws power
                ;Draws First Line
	ld      d,36
  	ld      e,60			
	ld a,(power)
	add a,36 
 	ld      h,a	
 	ld      l,60		
	call line                  ;Draw a line with above coordinates

Code: Select all

line:
	ld a,h
	cp d
	jp nc,noswapx
	ex de,hl
noswapx:

	ld a,h
	sub d
	jp nc,posx
	neg
posx:
	ld b,a
	ld a,l
	sub e
	jp nc,posy
	neg
posY:
	ld c,a
	ld a,l
	ld hl,-12
	cp e
	jp c,lineup
	ld hl,12
lineup:
	ld ix,xbit
	ld a,b
	cp c
	jp nc,xline
	ld b,c
	ld c,a
	ld ix,ybit
xline:
	push hl
	ld a,d
	ld d,0
	ld h,d
	sla e
	sla e
	ld l,e
	add hl,de
	add hl,de
	ld e,a
	and %00000111
	srl e
	srl e
	srl e
	add hl,de
	ld de,gbuf
	add hl,de
	add a,a
	ld e,a
	ld d,0
	add ix,de
	ld e,(ix)
	ld d,(ix+1)
	push hl
	pop ix
	ex de,hl
	pop de
	push hl
	ld h,b
	ld l,c
	ld a,h
	srl a
	inc b
	ret

Xbit:
 .dw drawX0,drawX1,drawX2,drawX3
 .dw drawX4,drawX5,drawX6,drawX7
Ybit:
 .dw drawY0,drawY1,drawY2,drawY3
 .dw drawY4,drawY5,drawY6,drawY7
	
DrawX0:
	set 7,(ix)
	add a,c
	cp h
	jp c,$+3+2+1
	add ix,de
	sub h
	djnz DrawX1
	ret
DrawX1:
	set 6,(ix)
	add a,c
	cp h
	jp c,$+3+2+1
	add ix,de
	sub h
	djnz DrawX2
	ret
DrawX2:
	set 5,(ix)
	add a,c
	cp h
	jp c,$+3+2+1
	add ix,de
	sub h
	djnz DrawX3
	ret
DrawX3:
	set 4,(ix)
	add a,c
	cp h
	jp c,$+3+2+1
	add ix,de
	sub h
	djnz DrawX4
	ret
DrawX4:
	set 3,(ix)
	add a,c
	cp h
	jp c,$+3+2+1
	add ix,de
	sub h
	djnz DrawX5
	ret
DrawX5:
	set 2,(ix)
	add a,c
	cp h
	jp c,$+3+2+1
	add ix,de
	sub h
	djnz DrawX6
	ret
DrawX6:
	set 1,(ix)
	add a,c
	cp h
	jp c,$+3+2+1
	add ix,de
	sub h
	djnz DrawX7
	ret
DrawX7:
	set 0,(ix)
	inc ix
	add a,c
	cp h
	jp c,$+3+2+1
	add ix,de
	sub h
	djnz DrawX0
	ret

DrawY0_:
	inc ix
	sub h
	dec b
	ret z
DrawY0:
	set 7,(ix)
	add ix,de
	add a,l
	cp h
	jp nc,DrawY1_
	djnz DrawY0
	ret
DrawY1_:
	sub h
	dec b
	ret z
DrawY1:
	set 6,(ix)
	add ix,de
	add a,l
	cp h
	jp nc,DrawY2_
	djnz DrawY1
	ret
DrawY2_:
	sub h
	dec b
	ret z
DrawY2:
	set 5,(ix)
	add ix,de
	add a,l
	cp h
	jp nc,DrawY3_
	djnz DrawY2
	ret
DrawY3_:
	sub h
	dec b
	ret z
DrawY3:
	set 4,(ix)
	add ix,de
	add a,l
	cp h
	jp nc,DrawY4_
	djnz DrawY3
	ret
DrawY4_:
	sub h
	dec b
	ret z
DrawY4:
	set 3,(ix)
	add ix,de
	add a,l
	cp h
	jp nc,DrawY5_
	djnz DrawY4
	ret
DrawY5_:
	sub h
	dec b
	ret z
DrawY5:
	set 2,(ix)
	add ix,de
	add a,l
	cp h
	jp nc,DrawY6_
	djnz DrawY5
	ret
DrawY6_:
	sub h
	dec b
	ret z
DrawY6:
	set 1,(ix)
	add ix,de
	add a,l
	cp h
	jp nc,DrawY7_
	djnz DrawY6
	ret
DrawY7_:
	sub h
	dec b
	ret z
DrawY7:
	set 0,(ix)
	add ix,de
	add a,l
	cp h
	jp nc,DrawY0_
	djnz DrawY7
	ret
Everything Compiled okay I just dont see a line. :( Do I have to use negative 60?
Thanks for any help. :)
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr

Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
Spengo
Calc Master
Posts: 1116
Joined: Sat 15 Jan, 2005 3:56 am
Location: ooga booga land
Contact:

Post by Spengo »

For the sword, how bout making the sword a seperate sprite? That way, you could make it so the sword is bigger and has more animation, and also, you could make it so that only hitting people with the sword kills them(instead of just have the ninja with the sword out killing them). Then bad guys could still kill you if they got you from behind/above.
bananas... o.o
Post Reply