Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: squidgetx on February 20, 2011, 02:20:31 pm

Title: Specific Tutorials List (Axe)
Post by: squidgetx on February 20, 2011, 02:20:31 pm
Complete Axe Tutorial (in french) (http://www.siteduzero.com/tutoriel-3-400701-l-axe-parser.html) by kindermoumoute


General:

Learning Binary (http://ourl.ca/8858/166462) by z80man: A quick explanation on this intricate system of numbers. 101010!

Explanation of pointers (http://ourl.ca/9165/180882) by Deep Thought: An excellent post detailing the basics of pointers for people new to Axe or otherwise low-level languages.

Launching external ASM programs from an application (http://ourl.ca/8800) by squidgetx: credit goes mainly to Runer112 and FinaleTI though.

Program Flow Basics for a Platformer (http://ourl.ca/4317/80465) by Eeems: A short guide on how to setup your program so that it is easy to handle and relatively quick.


Specific Functions and Commands:

Table of Frequencies for use with the Freq() command (http://www.phy.mtu.edu/~suits/notefreqs.html) accompanied by an explanation (http://ourl.ca/7719/135692) by Floppus Maximus

Bit Manipulation (http://ourl.ca/7815) by Hot_Dog, Runer112, and nemo: A somewhat slapdash series of posts detailing how to read and write to bits.

The ** command (http://ourl.ca/6413) by nemo: a full tutorial on fixed point multiplication.

Fix command tutorial (http://ourl.ca/9292/176451) by Scout: A more indepth explanation of the Fix command than the documentation.

Interrupts Tutorial (http://www.omnimaga.org/index.php?action=dlattach;topic=8502.0;attach=7832) by Hot_Dog: A detailed PDF showing how to maximize the effectiveness of interrupts in Axe

Using Axe to its full functional form ? (http://ourl.ca/12120) by Ashbad: A nicely written tutorial on how to take advantage of many of Axe 1.0.0's new features including lambdas, getting label addresses, etc.

Lazy Evaluation (http://ourl.ca/12147) by Ashbad: Another excellent tutorial this time discussing how to implement lazy evaluation in an Axe environment.


Game Mechanics:

Physics Lessons (http://ourl.ca/4279) by Builderboy: A great collection of physics lessons explaining gravity, cellular automata, trig, and more! (Sorry Builderboy, I unstickied it for now, you can put it back up if you want)

Slope Physics Tutorial (http://ourl.ca/9987) by squidgetx: an indepth-exploration/physics lesson.

Arrays and Bullet Code (http://ourl.ca/9288) by Deep Thought: A work-in-progress on manipulating complex data structures, geared specifically towards coding bullet and ememy systems.

SHMUP tutorial (http://ourl.ca/9422) by Deep Thought: In-the-works tutorial on making a Shoot-em-up game, building further on many of the concepts from the Array tutorial.

New Tilemapping Tutorial (http://ourl.ca/9601) by yunhua98: a look at smoothscrolling tilemapping

Tilemapping Tutorial (http://ourl.ca/4550) by SirCmpwn: The first comprehensive tilemapping tutorial including tilemap detection/collision

thydowulays's Complete n00bs guide to Tilemapping in Axe (http://ourl.ca/15002) by thydowulay: Well, as the title says, a beginner's guide to tilemapping. Introduces basic concepts and sample code.

Beginner's Physics Tutorial (http://ourl.ca/11113) by Scout:  A look at physics from the beginner's point of view.

OS and Data

External Variables Tutorial (http://ourl.ca/8294) by FinaleTI: A comprehenisve tutorial on using the OS external variables such as appvars, real variables, lists, and more.

VAT tutorial (http://ourl.ca/9291/176449) by squidgetx: A tutorial showing how to go through the program table on the calc to retrieve programs/appvars

Pseudo-Huffman Compression (http://ourl.ca/7142/174162) by shmibs: A not-really-huffman compression technique that nevertheless is valid and useful.

Huffman Compression (http://ourl.ca/7142/174246) by Runer112: Runer112's response; focused on how to generate and use a Huffman compression tree.


Graphics:

Flame Graphics (http://ourl.ca/9278) by Builderboy: Simple and easy way to create awesome fire effects in games.

Axe Grayscale Tutorials by Scout (http://ourl.ca/9285) and squidgetx (http://ourl.ca/9243/175154): Two short and simple tutorials on how to use grayscale in Axe

8 level grayscale (http://ourl.ca/8214) by willrandship and kindermoumoute: O.o

Particluar Explosion Tutorial (http://ourl.ca/12298/231664) by leafiness0
Title: Re: Specific Tutorials List (Axe)
Post by: ztrumpet on February 20, 2011, 02:22:10 pm
Great job!  Index threads are great. :D
Title: Re: Specific Tutorials List (Axe)
Post by: Deep Toaster on February 20, 2011, 02:26:46 pm
Great job!  Index threads are great. :D

Agreed, and I actually made something useful :D

"The ** command by nemo: a full tutorial on decimal multiplication." should be changed to "The ** command by nemo: a full tutorial on fixed point multiplication." IMO, though.
Title: Re: Specific Tutorials List (Axe)
Post by: squidgetx on February 20, 2011, 02:35:48 pm
Fixed. (See what I did thar ;D)
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on February 20, 2011, 02:41:57 pm
Nice list ;D
Title: Re: Specific Tutorials List (Axe)
Post by: kindermoumoute on February 20, 2011, 02:49:40 pm
Hum... and my little tutorial about all the Axe langage, in french : link (http://www.siteduzero.com/tutoriel-3-400701-l-axe-parser.html)
Title: Re: Specific Tutorials List (Axe)
Post by: Deep Toaster on February 20, 2011, 04:40:37 pm
Oh, and my tutorial's geared a lot toward enemy code as well :) So not "specifically" geared toward bullet systems.
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on February 20, 2011, 04:43:05 pm
My 'Fix Command' tutorial could be added too I think.
Title: Re: Specific Tutorials List (Axe)
Post by: Deep Toaster on February 20, 2011, 04:43:21 pm
It's there already ;)
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on February 20, 2011, 04:43:48 pm
It's there already ;)

My bad, I misread it.
Title: Re: Specific Tutorials List (Axe)
Post by: Michael_Lee on February 20, 2011, 08:36:17 pm
Very cool.  I must have missed reading a few of those tutorials.
/me puts on his reading glasses
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on February 22, 2011, 12:03:04 am
Nice!
Title: Re: Specific Tutorials List (Axe)
Post by: leafy on February 22, 2011, 12:37:14 am
Hm, maybe I should write a tutorial. About particle explosions?
Title: Re: Specific Tutorials List (Axe)
Post by: kindermoumoute on February 22, 2011, 11:49:19 am
Hum... and my little tutorial about all the Axe langage, in french : link (http://www.siteduzero.com/tutoriel-3-400701-l-axe-parser.html)
Not important ? or french isn't considered ? ???
Title: Re: Specific Tutorials List (Axe)
Post by: Xeda112358 on February 22, 2011, 11:55:14 am
je ne sais pas mes je pense que je le utiliserai :D
Il me faut étudier la français... et l'Axe
Title: Re: Specific Tutorials List (Axe)
Post by: squidgetx on February 22, 2011, 03:23:03 pm
Hum... and my little tutorial about all the Axe langage, in french : link (http://www.siteduzero.com/tutoriel-3-400701-l-axe-parser.html)
Not important ? or french isn't considered ? ???

Sorry, I missed that one. Although this list is generally for specific things in Axe, not the whole language. I'll add it anyway though :P
Title: Re: Specific Tutorials List (Axe)
Post by: Deep Toaster on March 03, 2011, 08:17:27 pm
I wasn't planning for it to be a real tutorial, but apparently people find this useful: Explanation of pointers (http://ourl.ca/9165/180882) :D
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on March 04, 2011, 01:10:46 am
Darn this list got large. O.O It's good to have all tutorials linked in one place. :D
Title: Re: Specific Tutorials List (Axe)
Post by: Yeong on April 01, 2011, 07:24:24 am
Can I request one here?
-Platformer Tutorial-
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on April 19, 2011, 12:27:40 pm
Shouldn't this (http://ourl.ca/4550) be here instead?

EDIT: It is here, but not be sticked, I think there are a lot of stickies.
Title: Re: Specific Tutorials List (Axe)
Post by: Deep Toaster on April 20, 2011, 08:14:32 pm
/me agrees
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on April 21, 2011, 11:25:38 am
/me agrees

Yeah, especially cos this forum is starting to have lots of stickies :P
Title: Re: Specific Tutorials List (Axe)
Post by: PeonHero on April 23, 2011, 06:36:48 pm
Hey, if you are new to Axe, I recommend Kindermoumoute's Axe tutorial. You might have to translate it from French to English, but it is worth it. I think it's the best tutorial for beginners out there.
Title: Re: Specific Tutorials List (Axe)
Post by: AngelFish on April 23, 2011, 06:51:21 pm
I think it's getting to the point that we need a tutorials forums :P
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on April 24, 2011, 08:16:05 am
Hey, if you are new to Axe, I recommend Kindermoumoute's Axe tutorial. You might have to translate it from French to English, but it is worth it. I think it's the best tutorial for beginners out there.

It is indeed very good and full of information.

I think it's getting to the point that we need a tutorials forums :P

Perhaps that could be arranjed, but you're the moderator. I think the topic is fine though.
Title: Re: Specific Tutorials List (Axe)
Post by: ZippyDee on April 24, 2011, 08:18:50 am
I think it's getting to the point that we need a tutorials forums :P
I agree. There are quite a lot of explanatory threads out now, and I think I'd probably write a few more myself if I felt like there was a good place to put them without them sitting awkwardly amongst a heap of help topics. :P
Title: Re: Specific Tutorials List (Axe)
Post by: squidgetx on May 02, 2011, 05:35:15 pm
Shouldn't this (http://ourl.ca/4550) be here instead?

Woops, sorry, I missed that one.

Also I fixed the formatting :P
Title: Re: Specific Tutorials List (Axe)
Post by: Deep Toaster on May 06, 2011, 09:43:18 am
Looks better now. I was wondering why some where bolded more than others ;D
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on May 06, 2011, 09:45:12 am
Indeed, looking better :)
Title: Re: Specific Tutorials List (Axe)
Post by: squidgetx on May 19, 2011, 03:49:05 pm
Added Hot_Dog's interrupts tutorial and sorted by categories
Title: Re: Specific Tutorials List (Axe)
Post by: yunhua98 on May 19, 2011, 04:32:37 pm
I know there are a lot of specific tutorials, but is there one to help a beginner learn Axe?  I remember when I was trying, and it took me a while.  I basically took other people's programs and read trough it and changed it.

EDIT:  I might try writing one.  ;D
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on May 20, 2011, 03:52:51 pm
I wrote a new tutorial today, will it be updated on this list? Thanks :)
Title: Re: Specific Tutorials List (Axe)
Post by: yunhua98 on May 20, 2011, 04:10:43 pm
Done.  ;)
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on May 20, 2011, 04:21:56 pm
Done.  ;)

Thanks never thought it'd be so fast :)
Title: Re: Specific Tutorials List (Axe)
Post by: squidgetx on May 21, 2011, 12:55:58 pm
I actually had edited it in about 5 minutes after you had posted it, but then my browser crashed for some reason while it was saving :(
Title: Re: Specific Tutorials List (Axe)
Post by: Deep Toaster on May 21, 2011, 06:52:07 pm
Another great tutorial I think you should add: http://ourl.ca/10038 :)
Title: Re: Specific Tutorials List (Axe)
Post by: Munchor on May 22, 2011, 05:58:18 am
Another great tutorial I think you should add: http://ourl.ca/10038 :)

Yeah even though it's not Axe-Aimed it's quite explanatory :)
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on May 25, 2011, 04:44:45 am
Eventually there may be an entire site section where members can upload their tutorials by the way. They would still need to be posted on the forums for discussion, but basically we would be able to access all tutorials at one place. They would need to be either HTML (e-mailed to admins then uploaded by them) or BBCode (self-uploaded then approved).

They would be somewhere in a new section there: http://www.omnimaga.org/index.php?action=articles
Title: Re: Specific Tutorials List (Axe)
Post by: ztrumpet on June 08, 2011, 03:45:43 pm
I just added " Program Flow Basics for a Platformer (http://ourl.ca/4317/80465) by Eeems: A short guide on how to setup your program so that it is easy to handle and relativly quick. " to the first post. :)
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on June 08, 2011, 03:53:42 pm
Cool. I'll probably eventually make a tutorial section on the site including every existing programming tutorial on the forums that people will be able to edit. I would need to figure out how to link them to specific topics, though, through PHP X.x (The opposite, which involves fetching specific post infos from articles, would be much easier, as there's a SMF mod to do that via smaller PHP routines, but articles do not suppot HTML :/)
Title: Re: Specific Tutorials List (Axe)
Post by: squidgetx on July 18, 2011, 03:20:00 pm
Updated with Ashbad's two new tutorials
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on November 20, 2012, 04:35:32 pm
Someone should cross post those tutorials in the Omni tutorials section (using the PHP script that certain  tutorials there use to fetch content from respective forum topics) at http://www.omnimaga.org/index.php?action=articles;cat=11

Of course, to do that, though, it requires a staff member with the ability to use HTML (else you have to copy the entire tutorial content, which isn't very convenient if the original author wants to update it x.x).
Title: Re: Specific Tutorials List (Axe)
Post by: Eeems on November 20, 2012, 04:41:14 pm
I could setup some sort of script on http://tutorials.eeems.ca/ for it. It's on the same VPS as Omni so I can even grab the content straight from the most if I want. That way it always stays up to date with what the author has posted.
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on November 20, 2012, 04:52:30 pm
Actually you could maybe check the script I made for the tutorials in case you can modify it. It's actually a modified version of SMF SSI stuff, if I recall correctly. I took a new topic or news script, but modified it to only show what is needed. Also I think Juju modified it to fix broken Code tags.

THe main issue with my script is that SMF articles did not allow PHP code, so I was forced to use iframes. I never could figure out how to make iframes automatically resize with the page so I had to manually specify the height/width everytime, which causes weird tutorial layouts sometimes, such as this: http://www.omnimaga.org/index.php?action=articles;sa=view;article=91

http://www.omnimaga.org/tutorialfetch.php is the link to the script. You just add ?topic=<TOPICID> at the end, such as http://www.omnimaga.org/tutorialfetch.php?topic=13884 for the link above. It will append a link to the original topic at the bottom.
Title: Re: Specific Tutorials List (Axe)
Post by: Eeems on November 20, 2012, 05:37:40 pm
I'll take a look at the script and add some javascript magic to it.
Title: Re: Specific Tutorials List (Axe)
Post by: aeTIos on November 21, 2012, 06:35:32 am
I might write some tutorials too, one time.
Title: Re: Specific Tutorials List (Axe)
Post by: Eeems on November 21, 2012, 12:03:26 pm
Ok, I took a look, you can set the width to automatically fill with a style="width:100%;". To automatically resize to the height of the iframe is easy too, I'd just have to write up a little javascript code.
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on November 21, 2012, 02:23:39 pm
Yeah I tried that back then and it would still not resize properly. D: IIRC I didn't use JS because SMF Articles didn't support it.
Title: Re: Specific Tutorials List (Axe)
Post by: Eeems on November 21, 2012, 02:25:27 pm
If they support html tags, then they support JavaScript ;)
Well, I just tried using the width, and it fills out perfectly, just need to get the height dynamically done with some JavaScript.

EDIT: And done :)
Code: [Select]
[html]
<iframe id='tutframe' src="tutorialfetch.php?topic=1720" style="width:100%;margin:0;border:0;" name="tutorial" onload="iframeResize();"></iframe>
<script type="text/javascript">
function iframeResize(){
var frame = document.getElementById('tutframe');
frame.height = frame.contentWindow.document.body.scrollHeight;
}
</script>
[/html]

EDIT2: erm, nvm.... it inserts <br/> on newlines ofc. Also, I can't access the document variable.
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on November 21, 2012, 03:13:28 pm
Well for me it did not work when I was admin. HTML would parse fine between the HTML bbcode tags, but Javascript would not be parsed O.O (I think that was disabled on purpose by Vbgamer45 to avoid security problems)

Maybe someone modified SMF Articles afterward or it was updated?

EDIT: Actually nevermind, SMF Articles does not support HTML at all in the first place. You had to edit the MySQL database directly. An Omni admin (most likely Juju) had modified it back then to allow HTML via the editor, but I never could get any javascript to work from there.
Title: Re: Specific Tutorials List (Axe)
Post by: Eeems on November 21, 2012, 04:14:08 pm
Your issue with javascript was probably due to the fact that it adds <br/> tags on newlines, even in a <script> tag

anyways, here it is.
Spoiler For Spoiler:
Code: [Select]
[html]
<iframe id='tutframe' src="tutorialfetch.php?topic=<topic number>" style='width:100%;' name="tutorial" frameborder="0" onload="setTimeout(resizeIframe,0)"></iframe>
<script type="text/javascript">function resizeIframe(){var x=(new RegExp("[\\?&]height=([^&#]*)")).exec(document.getElementById('tutframe').contentWindow.location),f=document.getElementById('tutframe');x=(x==null?0:x[1])+10;f.height=x;f.style.height=x;f.scrolling="auto";f.style.margin=0;f.style.border=0;}</script>
[/html]
example of it in action: http://www.omnimaga.org/index.php?action=articles;sa=view;article=42
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on November 22, 2012, 03:32:11 am
Oh that might be why. And this seems quite nice. :D I really wonder if anything can be done to remove the long spaces at the bottom of the page...

Also you should add "Originally posted by <nickname> on <date>" at the top, since the article date isn't necessarily accurate with the tutorial date, same for the uploader in some cases.
Title: Re: Specific Tutorials List (Axe)
Post by: Eeems on November 22, 2012, 11:42:37 am
I'd have to do something to change how you grabbed the post and changed all the links to use _top as the target to get rid of the random characters at the start and the extra spaces at the end. Adding the Originally posted by to the top should be easy though.

EDIT: Done. Added the orignially posted by/on and I also added a link to the topic at the bottom in a better way then was there before :P
Title: Re: Specific Tutorials List (Axe)
Post by: TheCoder1998 on October 18, 2013, 01:40:34 am
wow these tutorials really help, thanks a lot!
Title: Re: Specific Tutorials List (Axe)
Post by: shmibs on October 18, 2013, 12:06:58 pm
i'm glad you found them useful, but please don't bump old topics without adding anything useful and|or particularly relevant to the topic (known as necroposting). it clutters the new posts list (http://www.omnimaga.org/index.php?action=ezportal;sa=page;p=5) and propogates potentially outdated information.
Title: Re: Specific Tutorials List (Axe)
Post by: DJ Omnimaga on October 18, 2013, 11:16:01 pm
On a side note, when the SMF 2.0 upgrade happens and all third party mods are ditched, I think that tutorials that lacks a topic should be moved to topics and the tutorials section should just fetch tutorials directly from posts like the script above. Staff/admins could simply have a Promote to Tutorial button on the forums or something.

Maybe the same thing for news articles (although keeping a sub-forum listing every new would be nice), so that news can also be viewed from more relevant areas and discussion not spread out everywhere (eg HP Prime discussion in news rather than the HP Prime sub-forum)
Title: Re: Specific Tutorials List (Axe)
Post by: c4ooo on March 09, 2015, 04:10:47 pm
The Pseudo-Huffman Compression by shmibs and the Huffman Compression by Runer112 tutorials are linked to the same page  :P
Title: Re: Specific Tutorials List (Axe)
Post by: Eeems on May 06, 2015, 03:45:58 pm
The Pseudo-Huffman Compression by shmibs and the Huffman Compression by Runer112 tutorials are linked to the same page  :P

They link to different posts though. Wait for the page to completely load and it will take you to the correct place.
Title: Re: Specific Tutorials List (Axe)
Post by: Siphonic_Sugar on May 19, 2015, 06:24:00 pm
It would be helpful if there was a tutorial explaining even more basic things in Axe, because I just can't seem to figure out how to make a simple game.
Title: Re: Specific Tutorials List (Axe)
Post by: Eeems on May 19, 2015, 11:59:16 pm
It would be helpful if there was a tutorial explaining even more basic things in Axe, because I just can't seem to figure out how to make a simple game.
http://z80.education/program-flow-platformer/ this may be helpful for basics on a simple platformer game. It's rather dated though (Axe hadn't been around for long when I wrote it).