Author Topic: next version of xlib features  (Read 20458 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
next version of xlib features
« Reply #15 on: July 09, 2006, 02:03:00 pm »
like in my map editor?


welcome here btw I think I saw you on IRC a few times, I see you like metroid (by your avatar) ^^

tenniskid493

  • Guest
next version of xlib features
« Reply #16 on: July 09, 2006, 02:05:00 pm »
there are other tools you can use that will do that for you

search ticalc.org for map editor and you'll prob. get a ton of programs that will work

CureDesu

  • Guest
next version of xlib features
« Reply #17 on: July 09, 2006, 02:10:00 pm »
Ah, I'll have to check one of those out.

*And yes, I love metroid.

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
next version of xlib features
« Reply #18 on: July 09, 2006, 03:17:00 pm »
*xlibman

Demon

  • Guest
next version of xlib features
« Reply #19 on: July 10, 2006, 07:51:00 am »
Here are a bunch of random ideas:

Vertical flipping.

36-degree rotation (you would be able to place a sprite on the screen rotated by some number of degrees.

Ability to open MirageOS and ION program from BASIC progs.

The ability to be able to read and write to parts of a program (this would be really nice, especially if you want to put detection of levels, etc in your games, or something, or save info in a program... etc.)

Access to those special characters (like the "icons" used in the TIOS) that we can't type in.

Ability to read and write to AppVars.

A circle library that can make all the kinds of circles that the rectangle library ( real(12,x) ) can do (e.g., outline, filled, inverted).  It would be way faster than what the TIOS does, even with the the "fast circles" flag set (Why'd TI not enable that by default?).

Command to make the calc standby.

Something like Omnicalc's PLAY command ( real(31,"") ), useful if you want sound in your game.
Even better, with multi-channel sound (like CalcMod) - would be really cool to make stereo music with more than one channel...

A mouse command.  It would put a mouse on the screen and return the coordinates when "clicked".
Way more convinienct than a BASIC mouse (I know from trying :Ptongue.gif ).

Dialogbox (with buttons) / Menu (that you can put as many items in as your memory can take) / Alert libraries.
Menu:
"Title:Item A:Item B:Etc": real(n[,X,Y] (X and Y would be where you want it to display at)
Dialog:
"Title:Button A:Button B:Button C": real(n
Alert:
"[Title:]Alert Text": real(n

Kind of like the way mine work but would be way faster since you could parse faster in ASM than in BASIC...

*pyro_xp2k : [thinks of more ideas...]

Oh, and plug-in support so if somone wants to add a feature to XLIB, then they can do it themselves.

That's all the ideas I can think of so far...

EDIT:  And linking - caple of letting you transer other programs, pics, and whatever else from calc to calc from a program so you dont' have to use the link menu (since this don't work: GetCalc(prgmTEST) )

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
next version of xlib features
« Reply #20 on: July 10, 2006, 12:46:00 pm »
*xlibman

Demon

  • Guest
next version of xlib features
« Reply #21 on: July 17, 2006, 08:17:00 am »
Thought of two new ideas:

- Allow you to put a sprite in a matrix and vise versa and be able to draw what's in the marix on the screen (ie:
[[10000001]
[01000010]
[00100100]
[00011000]
[00011000]
[00100100]
[01000010]
[10000000]] can be put on on the screen without having to use any for loops.  Or an image on the screen can be converted back to binary data without any for loops.

- xLib plug-ins.  This way, you can keep the essential features of xLib, and put extra xLib features in plug-ins that people can install (to their RAM or Archive).  That way if more featues are needed (like all these suggestions I'm giving) you can just put them in a plug-in so that xLib stays small and all you have to do is add the plug-in(s) if a program you're working on or playing needs it),.

Dragon__lance

  • Guest
next version of xlib features
« Reply #22 on: July 17, 2006, 08:52:00 am »
wow, great ideas! Plug-Ins would be Sweet!!! but as for the sprite matrix idea, that'd take a lot of room, and i'd just rather store it in a pic.As far as that gos,can tr1pl1ea implememnt compressed pics?

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
next version of xlib features
« Reply #23 on: July 17, 2006, 09:06:00 am »
plugins would be a great idea, as long as they don't have to be in RAM. :)smile.gif
I suggest that plugins be named
XPLUG000
XPLUG001
etc.
with corresponding real commands
real(20,(syntax of plugin)
real(21,(syntax of plugin)
etc.

THAT WOULD PWN!
and it would also allow other programmers to make stuff xLib can work with, which should give tr1p1ea more free time! :lol:laugh.gif
(hey, that guy has made one of the best Apps in TI history, he shuld have some time to realx, too ;)wink.gif)

Demon

  • Guest
next version of xlib features
« Reply #24 on: July 18, 2006, 11:11:00 am »
I'm not sure of the pointlessness of this idea I'm about to present yet, but what if he could make it also accept special plug-ins written in BASIC?  Or even better, a custom version of BASIC (it would have to interpert some commands)...

Offline josephmarin

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 186
  • Rating: +0/-0
  • Shiny, lets be bad guys
    • View Profile
next version of xlib features
« Reply #25 on: July 19, 2006, 10:11:00 am »
One thing I personally would love to see is an ExecAsm command like in Omnicalc. I used that function more than anything else in Omnicalc
Burn the land, boil the sea, you can't take the sky from me

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
next version of xlib features
« Reply #26 on: July 19, 2006, 10:39:00 am »
yea it would pwn

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
next version of xlib features
« Reply #27 on: July 19, 2006, 10:46:00 am »
Well that Exec would be great, as you can write a entire asm program into hex and run it via xLIB. Or it would be easy to add a plugin feature, where you could just have asm programs to use.

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
next version of xlib features
« Reply #28 on: July 19, 2006, 11:40:00 am »
if only cirrus tigalaxy was still up, there was  an online disassemble that  showed hex code for asm programs so you could type them on your calc

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
next version of xlib features
« Reply #29 on: July 19, 2006, 12:00:00 pm »
Well you can still ask a asm coder to convert it :Ptongue.gif, also I made a post on MC:

QuoteBegin-"kalan_vod"+-->
QUOTE ("kalan_vod")
I was also thinking of level compression, where one would have a list that has the compression format and it would be an option to decompress it. Like when you do Real(2 for a tile map, 0 would be nothing, and 1 would make it convert the list into a matric and then load the matric into the map.

I have been working on compression in my games lately and found that I am getting greater compression percentages with my way over RLE. Also I think it would be great just having any type of compression, where the user would have to run a program to convert the matric into a compressed list and xLIB would decompress it (did I make any sense?).