Author Topic: Correlation: Correlific Mode!  (Read 34656 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #30 on: February 26, 2011, 03:07:56 am »
Cool, no problem I guess. I also thought about hex, but then this makes data much harder to edit.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #31 on: February 26, 2011, 08:31:20 am »
This sounds really sweet. I'm looking forward to seeing this in action! =)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #32 on: February 28, 2011, 03:52:16 am »
I needed a study break, so I put a list of scripting commands I have so far (meaning more to come).  Remember, this topic is up in case anyone has ideas or thoughts.

By default, the 10 strings, Str1-Str0, are treated as sprites with Correlation in Correlific Mode.  However, you can place a map (tilemap) in Str0, and use Str9 for a sprite that will be displayed several times on the screen, such as for firing a weapon.  You MUST pick ONE sprite method (XOR, OR, etc.) for each string.

During Correlific Mode, you assign a list of commands to each string.  Correlation will read each list, one element at a time for each list (and then repeating the process) to make things happen to the sprites.  Here's my list of commands so far:

Move a sprite (or a map) in one of eight directions a number of pixels
Check for Collision with the map
Check for Collision with other sprites
If Collision, Goto spot in List
If no Collision, Goto spot in List
If Certain Key pressed/held, goto spot in list
If Certain Key not pressed/held, goto spot in list
Change String (To modify a sprite or a map)
Goto Label in program.  The label must be a number, and this is done when you want to do something that the Correlific game engine cannot do

By the way, animated tiles and other stuff work normally in Correlific Mode, except that you cannot assign Word Wrap, Map Mode, Clip or Wrap.  These are done automatically.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #33 on: March 02, 2011, 01:54:25 am »
Interesting. I wonder how the commands will look like, especially the ones requiring arguments?

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: Correlation: Correlific Mode!
« Reply #34 on: March 02, 2011, 02:00:45 am »
So, will Correlific use the Correlation fonts for sprites, or will it have hex sprites? Also, with all that extra space in the app, any chance for an on-calc font editor? :D

BTW love the sound of this. There's a point where a project is just too big for me to remember all my pointers in axe, and I need something that's not BASIC :P will it be semi-stable, or crash if you type wrong?

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: Correlation: Correlific Mode!
« Reply #35 on: March 02, 2011, 02:03:28 am »
Perhaps they'll look like dim(29,46,3,1,54/"4C4C4F2057",23,"H./5G4870",/*/+.ABC./\4F*52_4C_44,48,69 ,45

By the way, that should print "Hello World" :P
« Last Edit: March 02, 2011, 02:03:54 am by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #36 on: March 02, 2011, 02:25:29 am »
Perhaps they'll look like dim(29,46,3,1,54/"4C4C4F2057",23,"H./5G4870",/*/+.ABC./\4F*52_4C_44,48,69 ,45

By the way, that should print "Hello World" :P

I hope not O.O

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #37 on: March 02, 2011, 02:33:32 am »
@willrandship All sprites will use the fonts and strings used for a normal correlation game.  The only difference is that you are limited to the 10 Strings rather than having temporary strings in quotation marks.  About the on-calc font editor, I don't have time to make one, but two other people are. 

Also, I'm pretty sure games will run quite stabely unless you try to crash the calculator on purpose.  This is because Correlific Mode runs on a should-be-stable game engine.

@DJ and Qwerty.55 I haven't finalized everything, but I know that I'm going to provide a table of values for scripting commands, using DECIMAL values from 00 to 99.  A small portion of a list (without commands as to which data goes to which sprite) might look something like this:

00050001039901020304

The Correlific Manual is going to highly recommend that you plan your game on paper (writing events in English) so that when you put the program on your calculator it will be easily to look at the table and punch in numbers.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #38 on: March 02, 2011, 02:37:09 am »
I see. There will definitively be a need for a table of all commands and maybe some sort of list editor to make list editing more user-friendly.

As for planning on paper, no problem, as this is what I did with large games starting in 2003.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #39 on: March 02, 2011, 02:46:01 am »
I see. There will definitively be a need for a table of all commands and maybe some sort of list editor to make list editing more user-friendly.

A list editor will be a definite must for a program aimed at creating Correlific games, but trust me when I say it won't be necessary for making games directly on your calculator.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #40 on: March 02, 2011, 03:10:43 am »
Hmm I am confused. You say it will be a must to create games, but then you say it won't be necessary. Does it means you will have to use a computer to use Correlefic mode? ???

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #41 on: March 02, 2011, 03:13:40 am »
Ugh, I'm not doing a good job explaining *slaps hand into forehead*

Okay, if you want to make Correlific games using nothing except for a calculator, you will not need a list editor, it will be very easy to enter lists in the program editor.  If you want to make Correlific games using a potential computer aid, list editors are a big help.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #42 on: March 02, 2011, 03:14:53 am »
No problem. :D There's also the fact english is not my native language :P

And I see now. :D

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: Correlation: Correlific Mode!
« Reply #43 on: March 03, 2011, 09:15:04 pm »
Is there any chance matrices could be used as well? lists are great, but adding matrices gives you 6-7 (can't remember :P) more vars to use.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #44 on: March 03, 2011, 10:04:12 pm »
Is there any chance matrices could be used as well? lists are great, but adding matrices gives you 6-7 (can't remember :P) more vars to use.

We're not talking standard Ti-83+ lists.  We're talking another kind of list.
« Last Edit: March 03, 2011, 10:04:37 pm by Hot_Dog »