This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - NanoWar
16
« on: February 03, 2013, 12:39:46 pm »
So these work only with rectangle width W where W modulo 8 = 0 and W >= 8 ?
Any chance of a generic rectangle routine?
17
« on: January 31, 2013, 01:04:56 pm »
Made these a few years ago  .
18
« on: January 29, 2013, 09:50:48 am »
Hey, I need some more advice on balancing. I updated the game at ticalc. Saving the spell setup is now automatically done. I don't know, it seems that there is no real "market" for two player games. When I first came up with the idea I playtested my early versions with a friend and we had a lot of fun! So please test it for me and tell me what you think  .
19
« on: January 22, 2013, 05:21:21 pm »
BTW is Mimas bootstrapped?  Just wondering...
20
« on: January 15, 2013, 01:24:07 pm »
Very good. I think this should be kept for as long as possible  . Thanks Burr.
21
« on: January 14, 2013, 04:31:06 pm »
Ti-Story is really helpful. This should be kept forever. Like http://wikiti.brandonw.net.
22
« on: January 14, 2013, 04:29:10 pm »
I always loved mini games for the TI. So you could play a few Zelda games and port some of those awesome puzzles! That's kind of what I did with Sky  /shameless plug
23
« on: January 13, 2013, 04:49:19 pm »
Logging in does not change anything, because it's a wikidot global login. I messaged burr about this a few days ago.
24
« on: October 22, 2012, 04:04:07 pm »
(I dont think anyone has a copy of a demo, except for those who have been given one.)
25
« on: October 17, 2012, 09:53:27 am »
I might have a few test releases laying around somewhere on older computers  I hope so much that he will come back one day...
26
« on: August 16, 2012, 02:09:18 pm »
Downvotes really add nothing to the page IMO. Refactoring is always good  .
27
« on: August 12, 2012, 08:02:04 am »
Some wall, doors, floor, alien and character sprites:
28
« on: July 19, 2012, 07:42:36 pm »
Ah cool thanks. This was a bit off topic I guess
29
« on: July 18, 2012, 03:59:28 am »
Oh it should be a filled rect routine  .
30
« on: July 12, 2012, 06:02:41 pm »
Has anybody got a good rectangle function? It should use variable width by pixel, not byte... Here's my ugly code: rectangle ;inputs: l=Y, a=X, b=height, c=length ;save coords & stuff h, a push hl push bc call rectangle.calc ;below pop bc pop hl rectangle.display ; inputs: h=X, l=Y, b=height ld a, h ld e, l ld h, $00 ld d, h add hl, de add hl, de add hl, hl add hl, hl ;l*12 ld e, a srl e srl e srl e ;x/8 add hl, de ld de, gbuf add hl, de rectangle.display.loop: push bc push hl ld a, (hl) ld c, a ld a, (rectangle.scanline1) ; somewhere in ram... xor c ld (hl), a inc hl ld a, (rectangle.scanline2) or a jr z, rectangle.display.noloop2 ld b, a rectangle.display.loop2: ld a, (hl) xor $FF ld (hl), a inc hl djnz rectangle.display.loop2 rectangle.display.noloop2: ld a, (hl) ld c, a ld a, (rectangle.scanline3) xor c ld (hl), a pop hl pop bc ld de, 12 add hl, de djnz rectangle.display.loop ret
rectangle.calc ;inputs: ; a = x ; b = height ; c = length ld d, a ld a, $FF ld (rectangle.scanline1), a xor a ld (rectangle.scanline2), a ld (rectangle.scanline3), a ld a, d and 7 ld d, a or a jr z, rectangle.skipShift1 ld e, $FF rectangle.shift1 srl e dec a or a jr nz, rectangle.shift1 ld a, e ld (rectangle.scanline1), a rectangle.skipShift1 ld a, d ; a = shift right ld h, a ; save add a, c ; a + c ld b, a ; save b = a + c and 7 ; /8 Rest? ld d, a ; Rest ld a, 8 sub d ; 8 - Rest ld d, a ; = d ld e, $FF rectangle.shift2 sla e dec a or a jr nz, rectangle.shift2 ld a, e ld (rectangle.scanline3), a ld a, 16 ld e, h ; a sub e ; 16 - a sub d ; -d srl a srl a srl a ld d, a ; ld a, c srl a srl a srl a ; /8 sub d ld d, a ld a, (rectangle.scanline2) add a, d ld (rectangle.scanline2), a ; ld a, b and %11111000 or a ; if (shift_right + length)<8, do (rectangle.scanline1 & rectangle.scanline3) ret nz ld a, (rectangle.scanline1) ld d, a ld a, (rectangle.scanline3) and d ld (rectangle.scanline1), a xor a ld (rectangle.scanline2), a ld (rectangle.scanline3), a ret How bad is it?
|