Author Topic: Good game [and program] design  (Read 14938 times)

0 Members and 1 Guest are viewing this topic.

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Good game [and program] design
« Reply #30 on: March 23, 2011, 05:28:08 am »
* For selecting, use BOTH 2nd and Enter. That way, you don't have any crazy confusion.
Use this myself too, seconded ^^
For those BASIC programmers out there, here's what I do every time:
Code: [Select]
ClrHome
FnOff
AxesOff
ClrDraw
"You're done! Have fun coding! :)
"(code goes here)
"OK, time to give the user their graph back!
ClrDraw
AxesOn
ClrHome
FnOn
ClrHome
You don't have to set things back by hand, TI-basic has a built in function for that, this is what I use:
My own default basic design, ofcourse, edited differently with every program, but usable everywhere:
Code: (TI-Basic) [Select]
::"My MOS header
:StoreGDB GDB1 (or any other GDB0-9)
:FnOff
:AxesOff
:ClrHome
:ClrDraw
:ZStandard
:RectGC
:CoordOff
:GridOff
:LabelOff
:ExprOff
:Normal
:Fix 0
:Degree
:Func
:Connected
:Simul
:Real
:Full
:"Your code
:RecallGDB GDB1 (again 0-9)
And this basically reverts all the user's options to the settings that were there before.
Again, not all the options are needed, but some might seriously screw up your game.

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

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: Good game [and program] design
« Reply #31 on: March 23, 2011, 11:54:34 am »
That's why I keep my programs in groups. That way, if something gets messed up, the user can always restore it, provided, of course, that they didn't delete the group.
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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Good game [and program] design
« Reply #32 on: March 23, 2011, 12:22:04 pm »
That's why I keep my programs in groups. That way, if something gets messed up, the user can always restore it, provided, of course, that they didn't delete the group.

The problem with groups though is that they're by far the most easily corrupted, and the least compatible between different linking software. TI-Connect for Windows, TI-Connect for Mac, and TiLP each use a different filetype for a TI group.

So for groups I suggest keeping them grouped while on your calc but releasing them as separate variables.
« Last Edit: March 23, 2011, 12:22:22 pm by Deep Thought »




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: Good game [and program] design
« Reply #33 on: March 23, 2011, 12:28:51 pm »
Huh. Why are they so easily corrupted?
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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Good game [and program] design
« Reply #34 on: March 23, 2011, 12:38:21 pm »
In certain conditions (such as when some header in the group happens to sit on the border between two pages, the group can't be ungrouped, giving you either ERR:VERSION, ERR:MEMORY, or ERR:BAD ADDRESS (all of which don't apply). Apparently, it's caused by some bad coding mistakes in the operating system, as thepenguin77 found here. Basically, it's TI's fault.

All the major bugs (and some patches courtesy of the penguin) are listed in this thread.




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: Good game [and program] design
« Reply #35 on: March 24, 2011, 03:54:39 am »
Yeah I would advise against using groups. In fact I wonder if some of the typos in my english RPG translations didn't come from group corruption. I remember trying Mana Force 2 years after making it and one of the program gave me an ERR:SYNTAX. In worst cases, you lose an entire program.

Some people use GroupTools, but I heard it wasn't always reliable either. The best thing to do is to backup on a computer.

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Good game [and program] design
« Reply #36 on: March 24, 2011, 03:55:56 am »
I lost my Splut source once due to group corruption, luckily I had a backup on my pc from about 2 weeks ago ^^
Backups will help you win the game.
« Last Edit: March 24, 2011, 03:56:06 am by Ikkerens »

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

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: Good game [and program] design
« Reply #37 on: March 24, 2011, 04:02:05 am »
Damnit I lost. X.x

But yeah, another thing is that group formats are different between TI linking softwares. A group transfered from the calc to the computer using TI-Graph Link will not work fine if sent back with TI-Connect 1.5 or higher.

Even a TI-Connect 1.2 group will not send fine with TI-Connect 1.5.
« Last Edit: March 24, 2011, 04:02:31 am by DJ_O »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Good game [and program] design
« Reply #38 on: March 24, 2011, 07:54:47 pm »
Some people use GroupTools, but I heard it wasn't always reliable either. The best thing to do is to backup on a computer.

Yeah, sometimes the group itself is corrupted, so you lose all your data.