Author Topic: Xlib Guru  (Read 19796 times)

0 Members and 4 Guests are viewing this topic.

Dragon__lance

  • Guest
Xlib Guru
« on: July 05, 2006, 03:12:00 pm »
xlib guru can now be found http://xlib.revsoft.org/index.php?title=Tutorial

Well, i've decided to carry on Necro's proposed idea of the Xlib Guru, a tutorial to help BASIC programmer's learn how to use xlib. I would really like to see this as a community project, contributed to by all members of the Calc programming society,not just omnimaga :)smile.gif If you would like to add in your own section,please just post it here,or pm/email me.

I am also looking for someone to help with formatting the tutorial, as i would like to see it in HTML, (but seeing it as i know crap about html),i'll need some major help there...if you can help out please pm/email me :)smile.gif


The plan of this tutorial-
 -written explanation of all xlib functions
 -grayscale?
 -tips and tricks
 -map making,scrolling,etc...

Anyways, i hope for this to be a tutorial written just not by me, but by many,and be a community project! :)smile.gif

btw, if you're wondering why i decided to write this,tr1p1ea included me in the credits of xlib, and i felt very undeserving of that, so i hope to help out in my small way :)smile.gif

Well here's the first part that explains sprite usage and detailed explanation of the sprite command of xlib.I plan on adding some more tips and tricks with the sprite command, so expect more!

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
Xlib Guru
« Reply #1 on: July 06, 2006, 01:30:00 am »
neat! I think I'll contribute some things...
As for making it html: I normally write in Word and then just paste paste it into my online blog editor ^^
Apparently it automatically converts it into html, it always worked.

I'd like to help as much as I can. :)smile.gif

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Xlib Guru
« Reply #2 on: July 06, 2006, 01:33:00 am »
You get me a .txt, divided in sections, I will get you an html document, useable on the web, and as a zipped commponent. ;)wink.gif  That is one of the few things I am good at. ;)wink.gif
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
Xlib Guru
« Reply #3 on: July 06, 2006, 01:41:00 am »
Now THAT is a kewl offer ^_^  

Dragon__lance

  • Guest
Xlib Guru
« Reply #4 on: July 06, 2006, 04:06:00 am »
thanks guys! That would be great tifreak8x :)smile.gif If there is any particular subject anyone wants to write a tutorial on,just post it here,ex: grayscale,scrolling tilemaps,etc... :)smile.gif

Zeromus

  • Guest
Xlib Guru
« Reply #5 on: July 06, 2006, 07:44:00 am »
http://cdi.calcgames.org/gstut.zip GreyScale tut you can use

Dragon__lance

  • Guest
Xlib Guru
« Reply #6 on: July 06, 2006, 07:54:00 am »
thanks! I'll take a look at it :)smile.gif did the file i sent you for Pure come out ok? Anyways,here's most recent version, i added some more to sprites!  

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
Xlib Guru
« Reply #7 on: July 06, 2006, 08:08:00 am »
As for the sprite creating part, you could subsitute this with a link to Draw 'n Map once it's done, which should be soon XDsmiley.gif

Dragon__lance

  • Guest
Xlib Guru
« Reply #8 on: July 06, 2006, 09:30:00 am »
aye, that'd be great! I'll definitely add recommend users to use map 'n draw, i tried out the program, i think it's awesome! :thumb:thumb.gif Can't wait till it's release! :)smile.gif

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
Xlib Guru
« Reply #9 on: July 06, 2006, 11:07:00 am »
QuoteBegin-Dragon__lance+Jul 6 2006, 10:30 PM-->
QUOTE (Dragon__lance @ Jul 6 2006, 10:30 PM)
Can't wait till it's release! :)smile.gif

 That depends how long lolje needs to upload his version after I uploaded mine, so I can see what changes he did. :lol:laugh.gif

BCTurk

  • Guest
Xlib Guru
« Reply #10 on: July 12, 2006, 07:13:00 am »
I can do alot of the lesser sections (including Everything from change contrast (5) to getkey (8), and CalcVersion (11) and Ram (14))

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Xlib Guru
« Reply #11 on: July 12, 2006, 12:35:00 pm »
I could give you a tutorial for grayscale that has a guy moving around with hit detection on a grayscale map if you want me to. :)smile.gif
There are 10 types of people in this world-- those that can read binary, and those that can't.

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
Xlib Guru
« Reply #12 on: July 12, 2006, 01:10:00 pm »
wow I missed this topic completly o.oblink.gif I need to stop only using today active topic function >.<

glad you started working on this :)smile.gif It will become the biggest xlib ressource for programmers, anyone is free to convert my omnicalc grayscale tutorial to xlib btw if you want to add more stuff in CDI's (altough imo CDI is alerady nice)

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Xlib Guru
« Reply #13 on: July 13, 2006, 11:45:00 am »
Also I have something that I think no one has ever done. Made a number converter that converts a variable to make it come out as sprites with numbers you create if you want the code i could give it too you because it uses Xlib
There are 10 types of people in this world-- those that can read binary, and those that can't.

Demon

  • Guest
Xlib Guru
« Reply #14 on: July 13, 2006, 11:50:00 am »
I have something close to that in my sprite editor.  It's a XPSE plugin that lets you select a sprite and it will generate the code for you when you run the plugin.
Screenshots are here.
http://omnimaga.dyndns.org/index.php?showtopic=420

As for XLib Guru, I could make some animations of the functions you can add to the HTML version...