Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Hot_Dog on January 11, 2011, 02:17:52 am
-
Here's a preview of the area of Korhal IV, displaying the capabilities of Map Mode and using string variables. (I was totally blown by how fast this map can scroll, and I hope you are too!)
There are some graphic errors, but I assure you that they are mistakes I made in making the tilemap data. They are not Correlation-related errors. :angel:
int(KORHALIV
ZoomSto
0->A
0->B
60->Thetastep
Lbl 0
getKey->K
If K=24
A+16->A
If K=25
B+16->B
If K=26
A-16->A
If K=34
B-16->B
If K=0
Goto 0
ë^(B,A,Str0
Goto 0
-
That looks really awesome! =) 15 MHz I assume?
-
Nice so far :D
-
That looks really awesome! =) 15 MHz I assume?
6 Mhz, unless Wabbitemu is inaccurate
-
It depends on which rom you are using, but i believe wabbit always runs a bit on the faster side. That being said, this looks awesome! :O
-
Wow, that's really fast if it's only running at 6 MHz! :o
-
Nice, I wonder how fast games will be with 200+ sub-programs and 2 KB of free RAM...
-
darn, when I saw the words 'eye candy' I was thinking of something more sexually appealling. Though those screenies are kinda smexy :3
Looks great, assembly methinks?
-
IS this basic? If yes, awesome. If not, still good ;D
-
Correlation, its a proof of concept. ;)
I wish we could do that in BASIC. :P
-
IS this basic? If yes, awesome. If not, still good ;D
Ti-Basic with the help of Correlation.
-
So, how good at on-the-fly font-switching is correlation? Of course, you could use just the Graph screen, and only use the regular 3x5 text for when you need words :P
-
So, how good at on-the-fly font-switching is correlation? Of course, you could use just the Graph screen, and only use the regular 3x5 text for when you need words :P
Yeah, you can always use Text( and Output( when you want to use words. Correlation is pretty good at on-the-fly font switching, but only if you don't abuse it. Switching a font constantly inside of a for-loop is not recommended.
-
darn, when I saw the words 'eye candy' I was thinking of something more sexually appealling. Though those screenies are kinda smexy :3
Looks great, assembly methinks?
You wanted Starcraft porn? ?????????
-
After finally fixing an annoying bug, here's Zertaul moving around, on a 6 MHZ calculator. I apologize for Zeratul being messed up when he moves right, I made a slip-up converting the sprite to be drawn using white, black and transparent.
-
Wow, looks good!
He looks kinda depressed though; his head is hanging down.
-
holy....So this is the future of hybrid BASIC tilemapping O.O Excellent work Hot_Dog!
-
O.O
-
Awesome!!!!!! I want it already :P
-
AMAZING.
I want to beta test for Correlation. O.O
-
Wow, looks good!
He looks kinda depressed though; his head is hanging down.
Lol! I did this using old Starcraft sprites, and his head is hanging down there as well. I guess his neck just grew into place like that
-
Glad to hear it's fixed. This looks nice so far too. :D
-
I got cutscenes working, a demonstration of using Word Wrap to the fullest. Screenshot below. There are NO SPOILERS: What you see is an introductory mission having nothing to do with the plot.
I also included the source code, but most of it is hard to understand without context. So I bolded and commented the Correlation-related code.
;ThetaMax is how far to the right to draw text in Word Wrap Mode.
;TMax is how far down to draw text.
96->Thetamax
59->Tmax
0->Xmin
94->Xmax
-62->Ymin
0->Ymax
ZoomSto
4->W
0->E
0->F
32->G
1->D
sub(Str0,W,G)->Str9
;Set Wrap Mode, meaning text drawn too far to the right is wrapped to the next line. M1 = Mode 1.
int("M1
int(ZECUTSCN
;Draws the cutscene "text" (graphics)
e^(E,F,Str9)
W+G->W
;Update the screen. DD doesn't mean anything, but I'm using it
;cause it stuck in my head as "the command to use"
int("DD
For(Z,1,600
End
For(Z,-44,-62,-1
Line(0,Z,95,Z,0
End
Line(0,-43,95,-43
Line(18,-43,18,-63
ListCUTSC(D+2)->Z
While W<=length(Str0)
int("M1
;The next command tells Correlation that "M" and "W" are wider
;than the rest of the characters used for text. WY stands for
; WMMode Yes
int("WY
ListZTEXT(Z)->Theta
Z+1->Z
sub(Str0,W,1)->Str9
int(ZEPORTRA
;Displays a portrait of the character that is talking
e^(46,1,Str9
W+1->W
sub(Str0,W,Theta)->Str9
W+Theta->W
;Word Wrap Mode. M2 is Mode 2.
int("M2
int("ZERATULT
e^(45,20,Str9
End
-
Wow looks great! It will make development of BASIC games so much easier. My favorite part is really word-wrapping. Could you post the strings content too so it's easier for people to know what is displayed by the code?
-
Yeah, I like the word wrapping, although I still have a few touchups to put on it. You can thank Rebma Boss...I was using word wrapping for S.A.D., and he was telling me "You know, why don't you incorporate Word Wrapping into Correlation? I know that some people are frustrated having to display text one line at a time"
Anyways, here's the string. The token "and" means Pause, and the token "Theta" means stop displaying the string. Basically you can display text using several "and"s, allowing the user to press enter in between text.
-
That looks awesome! I really don't regret choosing this for an interview! *Hint* :P
-
That looks awesome! I really ... interview! *Hint* :P
Lol, why don't you throw in a brass band while you're at it :P
-
wait--it was RPG? O.O
-
Nice Hot dog, but what's with all the random stuff before the text? ???
-
Nice Hot dog, but what's with all the random stuff before the text? ???
Cutscene Data. I have a font dedicated to cutscene graphics, so there's a 32 character string telling Correlation what to display
-
I see. Now the image is gone, though, and I forgot what was the random stuff, but wasn't it tokens like >DMS or Shade(? If so, then does it means in Correlation we can even use tokens for font data, not just single characters?
You should probably re-upload the images, since all attachments from last week were lost :(
Also you might want to fix this sub-forum order, because they aren't ordered by last post date. D:
-
YES STARCRAFT :evillaugh: :crazy: :w00t: :love: :hyper: ._.
-
I see. Now the image is gone, though, and I forgot what was the random stuff, but wasn't it tokens like >DMS or Shade(? If so, then does it means in Correlation we can even use tokens for font data, not just single characters?
You should probably re-upload the images, since all attachments from last week were lost :(
Also you might want to fix this sub-forum order, because they aren't ordered by last post date. D:
I see. Now the image is gone, though, and I forgot what was the random stuff, but wasn't it tokens like >DMS or Shade(? If so, then does it means in Correlation we can even use tokens for font data, not just single characters?
Did you check out this link? http://www.omnimaga.org/index.php?action=dlattach;topic=5750.0;attach=5243 You can use tokens, and the table shows everything you can use.
The text data is below. Also is 2 screenshots for steelm who had to miss some:
-
Cool, thanks for re-uploading them. :D
-
Those screenies are looking great, Hot Dog. ;D
-
Thanks, ztrumpet! And it's good to hear from you again!
-
He wasn't away actually O.O
I guess he probably didn't check here much, like me (I often catch up on 1 week of unread posts X.x)