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

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #15 on: February 26, 2011, 12:19:45 am »
Okay, here's the answer: A game engine with scripting.  Don't worry, I'll explain it!  But the concept is similar to Game Maker or the Starcraft Campaign Editor.

With Ti-Basic, every line has to be translated and interpreted, and as you know it makes it slow.  Even if you use an ASM library or a parser hook, you have to eventually return to Ti-Basic, after which the slow speed returns.  The idea behind Correlific Mode is to keep your Ti-Basic game in ASM as long as possible. 

To start, you get to use Str0 - Str9 to hold text that uses a custom font.  This can be map data, single characters (for sprites) or strings--anything you would normally use with Correlation.  You then create a bunch of lists of numbers, numbers that tell Correlation what to do with these strings.  The numbers make tell Correlation to "make Mario jump," "move this tilemap with smoothscrolling", "have this car bump into this one", etc.  Correlation takes this data and runs a game completely in ASM, doing what you asked it to with the scripted data.  The game will go to Ti-Basic only when it must, that is, when there is something you want to do that the Correlific Game Engine cannot do.  (This is where lags come in)

I am not going to say much more for right now because I want you to keep on thinking that this will be easy.  It WILL be easy.

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 #16 on: February 26, 2011, 12:23:48 am »
* Qwerty.55 drools
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Correlation: Correlific Mode!
« Reply #17 on: February 26, 2011, 12:28:36 am »
so i was *sort of* right in my guess(at least in the analysing beforehand and doing everything via asm part)?

i am SO pumped for what this should do to the future of BASIC programming.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #18 on: February 26, 2011, 01:22:24 am »
*Candace giggle* Custom fonts.... *drools*
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #19 on: February 26, 2011, 01:26:54 am »
*Candace giggle* Custom fonts.... *drools*

Wait, is this the first time you heard of custom fonts with Correlation?  You should read this:

http://ourl.ca/7842

This is Correlation's main purpose: Custom fonts.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55934
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #20 on: February 26, 2011, 02:31:24 am »
Darn this seems interesting. Will it increase Correlation size greatly? This should hopefully make it much easier for BASIC coders to code fast games without having to deal with Axe tilemaps and the like.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #21 on: February 26, 2011, 02:34:45 am »
Darn this seems interesting. Will it increase Correlation size greatly?

Correlation is an application, so it's going to be 16 KB no matter what.  With that said, I have 12 KB of space left, more than enough. 

Unfortunately, Correlific Mode does require up to 2 KB of user RAM, but I feel that the results will be more than worth it.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55934
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #22 on: February 26, 2011, 02:39:26 am »
Ah ok, I thought it might make Correlation 2 pages if there were a lot of games libs added. Could somebody potentially even create a GameMaker/RPGMaker type program with this, making it even easier to put games together?

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #23 on: February 26, 2011, 02:42:49 am »
Ah ok, I thought it might make Correlation 2 pages if there were a lot of games libs added.

Ok, that makes sense

Quote
Could somebody potentially even create a GameMaker/RPGMaker type program with this, making it even easier to put games together?

You bet!  It will be that easy.  I'm hoping somebody will want to once Hover demonstrates the potential.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55934
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #24 on: February 26, 2011, 02:44:00 am »
Nice, and another thing: will the entire data be stored into archive?

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #25 on: February 26, 2011, 02:45:20 am »
Nice, and another thing: will the entire data be stored into archive?

Data is stored in lists.  That means you need a Ti-Basic program or something.  It may require space, but it makes things so much easier for those programming directly on a calculator

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55934
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #26 on: February 26, 2011, 02:52:27 am »
Yeah but I mean can the lists be archived? Also for some data will it be possible, for example,  to put several data parts in one list elements such as {2,7,3,8,1,8,2,7,3,9} instead of {27381,82739} to save space? (since one list element is 9 bytes large no matter the content)
« Last Edit: February 26, 2011, 02:53:04 am by DJ_O »

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #27 on: February 26, 2011, 02:54:38 am »
I'm actually going to come up with some other form of storage, cause you have a point

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55934
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Correlation: Correlific Mode!
« Reply #28 on: February 26, 2011, 02:59:35 am »
One thing that could be used are actual programs, but then you would need to make sure it's user-friendly enough.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation: Correlific Mode!
« Reply #29 on: February 26, 2011, 03:06:21 am »
An AWESOME idea.  Then they can be archived.  However, Correlific will still need up to (but maybe less than) 2 Kb of RAM