Author Topic: Starcraft: Zertaul -- Eye Candy  (Read 10392 times)

0 Members and 2 Guests are viewing this topic.

Offline qazwsx988

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +7/-0
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #15 on: January 22, 2011, 05:15:15 pm »
Wow, looks good!
He looks kinda depressed though; his head is hanging down.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #16 on: January 22, 2011, 05:17:48 pm »
holy....So this is the future of hybrid BASIC tilemapping O.O Excellent work Hot_Dog!

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #17 on: January 22, 2011, 05:28:37 pm »
 O.O
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #18 on: January 22, 2011, 05:32:11 pm »
Awesome!!!!!! I want it already :P

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #19 on: January 22, 2011, 05:47:29 pm »
AMAZING.

I want to beta test for Correlation.  O.O

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #20 on: January 22, 2011, 07:48:47 pm »
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

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Starcraft: Zertaul -- Eye Candy
« Reply #21 on: January 24, 2011, 03:57:54 am »
Glad to hear it's fixed. This looks nice so far too. :D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #22 on: February 06, 2011, 03:32:02 am »
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.

Quote

;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


« Last Edit: February 06, 2011, 03:32:36 am by Hot_Dog »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Starcraft: Zertaul -- Eye Candy
« Reply #23 on: February 06, 2011, 04:28:21 am »
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?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #24 on: February 06, 2011, 04:38:00 am »
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.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #25 on: February 06, 2011, 07:55:12 pm »
That looks awesome!  I really don't regret choosing this for an interview!  *Hint*  :P

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #26 on: February 06, 2011, 09:55:14 pm »
That looks awesome!  I really ... interview!  *Hint*  :P

Lol, why don't you throw in a brass band while you're at it :P

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #27 on: February 06, 2011, 10:45:13 pm »
wait--it was RPG?  O.O
Sig wipe!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Starcraft: Zertaul -- Eye Candy
« Reply #28 on: February 07, 2011, 03:01:33 pm »
Nice Hot dog, but what's with all the random stuff before the text? ???
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Starcraft: Zertaul -- Eye Candy
« Reply #29 on: February 07, 2011, 05:48:04 pm »
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