Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: Z@VY on May 27, 2010, 10:02:35 am
-
For the title-screen of my game I need to recall a pic but I haven't found how to make it.
Which command should I use ?
-
What kind of game?
TI Basic, Axe, or Asm, I can help with all of those.
-
I want to recall a pic in an axe program
-
Ah. Okay. I should have realized this was in the Axe subforum. *facepalm* Here's what you want to do:
[Pic1]→Pic1 // Do this at the start of your program to absorb Pic1
// ...
// To recall it:
conj(Pic1,L6,768
Then, just DispGraph to show it.
-
Thanks I'll try it when I'll have the time
-
Good luck!
What kind of game are you making?
Also, welcome to Omnimaga!
-
I'm making a Guitar-Hero like and I'll maybe show a first version this week-end
-
That sounds pretty cool. Oh, and if you want you can Introduce Yourself.
:) (http://www.omnimaga.org/index.php?board=10.0)
-
I'll try to make it but what should I say ?
-
Just talk about yourself. Brag a little.
I look forward to seeing that this weekend, sounds awesome!
-
Yeah but it can be a few days later (even if I'm trying to do this for saturday the graphist isn't very fast)
And I hope that it will be awesome too
(BTW could I have a little corner of the forum for this game ? Cause in later versions you'll be able to create your own songs and to exchange them with other people and it would be easier to have a topic to gather all of them)
-
Ah. Okay. I should have realized this was in the Axe subforum. *facepalm* Here's what you want to do:
[Pic1]→Pic1 // Do this at the start of your program to absorb Pic1
// ...
// To recall it:
conj(Pic1,L6,768
Then, just DispGraph to show it.
You need use det(
:[Pic1]→Pic1
:det(12)
:pic1→dispgraph
-
Ahh, I was thinking of the old version. kindermoumoute (btw, awesome name) is almost right. det(12) isn't needed, you can just remove that line (as far as I'm aware). However, Pic1→DispGraph is correct, although conj(Pic1,L6,768 is essentially the same.
-
If I take the latest version of axe (instead of the 0.2.2 I was still using) how should I do
-
If you are using 0.2.2, use conj(
If you are using latest, use →DispGraph
-
Ok thanks
-
Sure thing. Welcome to Omnimaga, by the way. Someone will be along shortly with some peanuts for you.
-
(BTW could I have a little corner of the forum for this game ? Cause in later versions you'll be able to create your own songs and to exchange them with other people and it would be easier to have a topic to gather all of them)
We generally wait until there is signifiant progress on people game before featuring them in a sub-forum, though. Otherwise people just get the title screen done with nothing else (or barely) and get a sub-forum (which people dislike). Also the project has to be extremly good to go in the Major community projects section (such as CaDan and the Nspire Raycaster), otherwise then I'll get flooded/spammed with sub-forum requests :( so make sure it is very good and it might have a chance ^^
For now feel free to announce your project in "Other calculator projects and ideas"
-
Cool but I think I'll see that tomorrow because I have a lot of work (and a program) left.
And why ?
Oh and I can wait until the version with editor or something like that
-
Just to clarify, you do need the det(12) after absorbing the pic. This is becasue the pics stored on the calculator are 96x63 which means the last row is missing. So if you don't add in the last row, you'll get some random pixels on the bottom. det(12) makes sure it adds 12 bytes of zeros to the end of the picture (white pixels) so that the last row is solid white. If you want solid black instead, if you have an inverted title screen, then add [FFFFFFFFFFFFFFFFFFFFFFFF] which is 24 'F's to create a solid black line at the bottom.
Also, there is a big difference between using the copy command conj() and the display buffer command ->DispGraph. When you copy, you physically copy the picture into the graph buffer which means you can draw sprites over it, test pixels, use grayscale, etc. If you use ->DispGraph however, it only prints the buffer to the screen, not to the graph buffer. This is fine if you just want a simple picture with no animations, but anything else you should use conj().
Good luck on your project :)
-
Thanks I believe I understand now
-
Cool but I think I'll see that tomorrow because I have a lot of work (and a program) left.
And why ?
I'm not sure why you are asking why, since I stated the reason why we don't accept all projects in the sub-forum in my previous post.
En gros, seuls les projets de très haute qualité qui sont assez avancés en terme de développement peuvent avoir une section dans "Major community projects". Sinon, tout le monde me demanderait une section pour leur projets et ça deviendrait trop pénible à gérer. (déja que je recois entre 5 et 20 messages privés par jour sans compter les e-mails de Mr.Coding Knight :P) Pour la section RPG la barre est moins haute parce que les projets TI RPG sont assez rares et Omnimaga essaie de garder un peu ses racines RPG.
Si on voit que ton projet est très bien alors tu as des grosses chances d'avoir une section pour lui
EDIT: @Quigibo: Do you mean we can do stuff like Line(5,2,31,46)->DispGraph? Because that displays garbage to me (altough when I exit the program, then go check the graph screen, usually I'll see a line there fine). That garbage appears to be the calc RAM, because by moving a line outside the screen once, I managed to display the content of TI-BASIC Pic files and even the homescreen (with some glitches)
-
Oh I understood that I was asking for the peanuts
-
Ooooh I see, ok ^^
The peanut thing is an old Omnimaga "meme" (like the jokes on 4chan, such as rickroll, chocolate rain, sparta, AYBABTU, mudkipz, lolcats, etc, except Omnimaga-specific rather than internet-wide) involving members giving peanuts to new members on the forums (not literally).
(http://www.omnimaga.org/images/peanut-bag-rickroll.gif)
(You'll see this everywhere in the intro section of the forums) :P
-
Ok but what's a "meme" ?
-
http://fr.wikipedia.org/wiki/Mème_(internet)
http://fr.wikipedia.org/wiki/Liste_de_phénomènes_Internet
http://en.wikipedia.org/wiki/Internet_meme
EDIT: Copier/coller les addresses. Le forum n'accepte pas les accents dans les liens >.>
-
I see ...
-
Sometimes we need to have some sense of humor else life gets boring :P
Plus it's annoying that on many other forums in the past, if people became too random they either got warned for flood/spam or people started making fun of them, so Omnimaga is more loose on that :P