Author Topic: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.  (Read 17420 times)

0 Members and 1 Guest are viewing this topic.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #45 on: March 26, 2010, 08:19:15 am »
Map data needs to be stored in strings.
Faster. More efficient. Easier parsing.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #46 on: March 26, 2010, 09:13:43 am »
Strings are fast?  Since when? O.o I have always had a much slower time accessing strings than matrices or lists, it can make collision detection a real pain too.  I would think for a game as dependant on speed as this, matrices might want to be your final destination, even if the maps are stored as strings in the program

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: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #47 on: March 26, 2010, 09:36:52 am »
yeah strings are much slower when it comes to accessing its data, especially during collision detection when there are both multiple solid and multiple non-solid tiles.

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #48 on: March 26, 2010, 10:03:17 am »
Also, I think xLib will need Matrix to draw the tile map, right? So you would need the matrix anyways, so why not use it?


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #49 on: March 26, 2010, 10:18:07 am »
Agreed.  I kinda figure more people will use Xlib than Celtic III (no offense Iambian, it's just that Xlib has been around for a while), and that requires matrices for the tilemap. 

HOWEVER, the actual tile and map data will be stored in appvars or asm programs so that they can be archived and save space.  (I'll either use appvar 1.0 or asm programs).  No worries, that's code that I will be working on.

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: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #50 on: March 26, 2010, 05:46:21 pm »
Agreed.  I kinda figure more people will use Xlib than Celtic III (no offense Iambian, it's just that Xlib has been around for a while), and that requires matrices for the tilemap.  

There's also the fact Celtic III programs will not run with xLIB, while xLIB ones (and even certain Omnicalc ones) will run with Celtic III (despite maybe a few minor glitches when using small rectangles or the very last row of pixels on a pic for sprite storage), and some people opts for maximum compatibility
« Last Edit: March 26, 2010, 05:48:57 pm by DJ Omnimaga »

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #51 on: March 28, 2010, 01:32:26 am »
Here's some files for you, Prophets.  I was going to tell you everything you needed to know, but I was getting too confusing.  So instead, let's go about this little by little, and I'll answer any questions you need, at any time.  It doesn't matter how many questions you have, I'll answer them   :D For example, I've included a file answering your question about the UI.

The following files are also included:

The picture variables you'll need (for right now)
The map data, one number per element in a 30 x 30 array
Building Stastics
Information on units that has changed from what I posted on this website

Like I said, this may be best if we go about this little by little.  So I'd recommend starting with displaying the tilemap, moving it with the arrow keys, and drawing the cursor, located in Pic7 (the cross).

Thx for your help, it's appreciated

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: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #52 on: March 28, 2010, 12:42:05 pm »
yyeah it's better to not do too much at a time and start small, else the project becomes a chore x.x

Also given the large map size, and the fact you can't use strings due to the slower collision detection, especially with that many walk-onable tiles, you will have to abuse the "real(10" function A LOT.
« Last Edit: March 28, 2010, 12:43:17 pm by DJ Omnimaga »

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #53 on: April 18, 2010, 04:03:55 pm »
After the good news I gave about S.A.D. builds becoming public, I hate to follow up with bad news:  I'm putting the turn-based version of S.A.D. on hold, though I don't know yet if it will be indefinitely or not.  Prophets is not able to help anymore, I had things add up to allow only enough time to do the RTS version, and the public builds means people can play with S.A.D. without having to wait until it's finished.

Ztrumpet, if S.A.D. is put on hold indefinitely, I'll still give you what I offered for signing up for the project.

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: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #54 on: April 18, 2010, 04:21:36 pm »
Sorry to hear about that. To be honest I kinda expected it, though. After Silver Shadow wiped all his sprites (which is partially my fault due to the argument we had), Raylin announcing he can no longer help for SAD a few days ago on IRC and Ztrumpet being away often, it seemed like it was dying. I hope Ztrumpet will resume dev once he finished Elmgon and his other projects, or someone else.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #55 on: April 18, 2010, 04:39:27 pm »
I hope Ztrumpet will resume dev once he finished Elmgon and his other projects, or someone else.

Actually, I haven't developed anything on it yet.  I doubt there's enough for someone to continue it.  However, I feel that putting time into the real-time version is more important than trying to split the difference between the real-time and turn-based versions
« Last Edit: April 18, 2010, 04:42:18 pm by Hot_Dog »

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: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #56 on: April 18, 2010, 04:44:20 pm »
yeah I agree, altough i would like to see the TBS one too, but I can't wait for RTS version so it might be best to focus on one project at a time, not to mention it was the first one to start IIRC.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #57 on: April 18, 2010, 04:53:23 pm »
yeah I agree, altough i would like to see the TBS one too, but I can't wait for RTS version so it might be best to focus on one project at a time, not to mention it was the first one to start IIRC.

Yes, the RTS was the first one

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: An idea for a Ti-Basic/Xlib Turn-Based Version of S.A.D.
« Reply #58 on: April 22, 2010, 04:39:47 pm »
Aaah ok, I was unsure since the original S.A.D versions used to use xLIB and Celtic too