Show Posts

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 - Eeems

Pages: 1 ... 169 170 [171] 172 173 ... 370
2552
General Calculator Help / Re: Game Design Documents
« on: January 02, 2011, 10:45:48 pm »
That sucks :/
Can't wait for some design docs, you have some great ones :)

2553
Ash: Phoenix / Re: [A:P] Demo Release/Discussion
« on: January 02, 2011, 09:00:58 pm »
I gave it a little go didn't get too far, but I noticed that you move a little slow, is there a way to speed it up? Maybe add a run feature or something?
I've got to say, the graphics are amazing in this game, good job :D

2554
ASM / Re: [Routine] Monospaced Text
« on: January 02, 2011, 04:31:37 am »
Letters. Words would require a much larger routine.

2555
ASM / Re: [Routine] Monospaced Text
« on: January 02, 2011, 02:36:20 am »
Thanks :) I hope someone has some use for it, or some ways to make it better :P

edit: oh and I forgot to mention, it also wraps the text when it reaches the edge of the screen :)

2556
ASM / [Routine] Monospaced Text
« on: January 02, 2011, 02:25:53 am »
Here is a monospaced text routine I made :)
Code: [Select]
;Monospaced text
;inputs: penRow=y, penCol=x, hl=pointer to null (0) terminated text
DrawMonospaceString:
ld a, (hl)
inc hl
cp '\n'
jr z, monoWrapLine
cp '\r'
jr z, monoWrapLine
cp '\t'
jr z,monoTab
or a
ret z
push af
ld a,(penCol)
ld b,a
pop af
push bc
b_call _VPutMap
pop bc
ld a,b
add a,6
ld (penCol),a
cp 92
jr nc,monoWrapLine
jr DrawMonospaceString
monoTab:
ld a,(penCol)
add a,12
ld (penCol),a
cp 55
call nc,Newline
jr DrawMonospaceString
monoWrapLine:
call Newline
jr DrawMonospaceString
;newline, wrapps screen if necessary
;preserves af
Newline:
push af
xor a
ld (penCol),a
ld a,(penRow)
add a, 6
cp 55
jr nc,NewLine_top
ld (penRow),a
pop af
ret
NewLine_top:
xor a
ld (penRow),a
pop af
ret
It also parses \n and \r as a newline, which it wraps to the top of the screen if you go off the edge. \t is replaced with a double space as well. Hope some people find this useful :)
(Oh and credit goes to SirCmpwn because I got a bunch of the code from KOS, but it is modified for TI-OS's font and to make it monospaced. I use this in TBP for text input)

2557
Hey that's no problem :)
Yeah I know it can be annoying :/

EDIT: oh and before I forget;

:) 11 character limit :)

2558
It's monospaced, so m takes up more space. each character is 6 spaces and m takes up the full amount so it gives the illusion of no space between 4 and 5 even though there is the same amount of space between them. Most characters only take up 3 pixels.

2559
Miscellaneous / Re: Programmers Heirarchy
« on: January 01, 2011, 08:01:33 pm »
Qwerty.55 HTML is just a markup language, so it's not even programming, but I know what you mean :P
Assembly, JavaScript, C++, tiny bit of python, PHP, TI-BASIC and...erm probably more that I forgot...

2560

:)

EDIT: yes I know it says 5 char limit, it should say 8

2561
Miscellaneous / Re: Programmers Heirarchy
« on: January 01, 2011, 05:48:51 pm »
haha, yeah it's funny how we dislike elitists but when we think about it, in some ways we kinda are ourselves about some of the languages we know. Helps to have something remind us to be humble.

2562
Miscellaneous / Re: Programmers Heirarchy
« on: January 01, 2011, 04:47:02 pm »
I'm pretty spread out too :)
For a little while I thought HTML was a programming language, but I've since learned better :)

2563
Miscellaneous / Re: Programmers Heirarchy
« on: January 01, 2011, 04:32:44 pm »
I know :) Most of it is so true too :P

2564
Miscellaneous / Programmers Heirarchy
« on: January 01, 2011, 04:16:47 pm »
http://pages.cs.wisc.edu/~driscoll/heirarchy.png
where do you fit?
My sister found this for me, I've got to say I lol'd.
It's too bad they didn't include TI-BASIC eh?

2565
WabbitStudio Software Suite / Re: WabbitStudio Software Suite
« on: December 31, 2010, 09:37:58 pm »
For some reason, after running the update on wabbitcode, it wont start anymore, just crashes without a window even showing up.

Pages: 1 ... 169 170 [171] 172 173 ... 370