This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Hayleia
Pages: 1 ... 153 154 [155] 156 157 ... 239
2311
« on: July 10, 2012, 11:58:37 am »
Looks nice.
Thanks, but there are problems since it is not exactly how the game should work But this is fixed now. UPDATE-Now, pressing Enter -opens the crafting menu if you are next to the workbench -opens the (empty ) inventory menu else, and sets the workbench next to you -There is also an ugly hud on the right, that figures the health-bar and the strenght-bar -Pressing 2nd (without alpha pressed) now hits the object you are facing with a little star Now for items in inventory, I think I'll make them 2 bytes because when I last played MiniCraft, I soon got 40 apples so the 255 limit is too close.
2312
« on: July 09, 2012, 01:14:53 pm »
just use subroutines. {SUB()}:Lbl SUB is perfectly valid, and works for both storing and recalling. in your case it will be slightly slower and the exact same size as writing it inline, though (plus extra for the subroutine itself), so i guess i see your point.
Yeah, I guess I am going to do that. But you have to admit that {Wood()} is more ugly than just Wood
2313
« on: July 09, 2012, 01:07:31 pm »
I am quoting what I asked in the wrong topic so my feature request is actually in the Features Wishlist. Would it be possible to have equates ? I mean that for example if I write this test equ {V+17} each time the parser hits the word "test", it replaces it with "{V+17}" before translating it into asm.
(note that here, V+17→°test would not work since V+17 is not constant)
EDIT: Oh, I see, that way if FOO translated to {V+17}, you could do something like 23→FOO and FOO→X and both would be valid statements.
It would still be no different than using {V+17} everywhere though, since FOO wouldn't actually exist. It'd be more like a macro than anything.
Yes that's it. It would not save space in any way. It is just so I can easily see who is who in my appvar. Because I have wood, stone and apples (among others) and having this {V+17}^^r equ wood {V+19}^^r equ stone {V+21}^^r equ apple would be of a great help for me to understand my code easier. So would it be possible ?
2314
« on: July 09, 2012, 12:57:14 pm »
EDIT: Oh, I see, that way if FOO translated to {V+17}, you could do something like 23→FOO and FOO→X and both would be valid statements.
It would still be no different than using {V+17} everywhere though, since FOO wouldn't actually exist. It'd be more like a macro than anything.
Yes that's it. It would not save space in any way. It is just so I can easily see who is who in my appvar. Because I have wood, stone and apples (among others) and having this {V+17}^^r equ wood {V+19}^^r equ stone {V+21}^^r equ apple would be of a great help for me to understand my code easier. So would it be possible ?
2315
« on: July 09, 2012, 12:33:41 pm »
In fact, V is the main pointer of an appvar and I have a lot of {V+1},{V+2},...{V+17}...{V+96} etc, and I may forget what each one is referring to. This is why I asked for equates, not only for {V+17}. And I thought about the subroutine but there would be two solutions with this: make the routine return V+17 so I have to do {Rout()} which is a bit ugly, or make two routines with one that would read and the other that would store, which is a bit too much. For now, my solution is to store the number after the V+ into a constant with a logic name so for apples (for example) I can do {V+°Apple} to read or write to the right byte. But an equate would be even more efficient.
2316
« on: July 09, 2012, 11:09:22 am »
Would it be possible to have equates ? I mean that for example if I write this test equ {V+17} each time the parser hits the word "test", it replaces it with "{V+17}" before translating it into asm.
(note that here, V+17→°test would not work since V+17 is not constant)
2317
« on: July 09, 2012, 07:56:50 am »
UPDATENothing really funny, I just started to code the crafting menu. You can see that I tried to have it look like the old crafting menu but I was too lazy to make inverted text for all You can also see that the grey is a bit ugly sometimes in this menu but I can't do better if I want the game to run on a 83+ For now, the only thing that "works" in this menu is the workbench. Selecting this option will place the workbench right above you on the map. edit: wait, there are some stupid things on the new update that I'll soon change so don't download this one if you don't want to download twice.Done edit:For items in inventory, should they take 2 bytes or one ? I mean will you reasonnably get more than 255 of each (I am talking about wood, stone, etc) ? It is not that space is a problem (I have a lot of free space in the appvar) but I need to know before coding them
2318
« on: July 09, 2012, 06:56:47 am »
I have to say that this is awesome. I tried it and now I wonder how I could do without it However, there is one feature that would be a great addition. I'll try to explain but I am French so it might not be understandable. This feature is the parenthese assistant. When the cursor is next to a parenthese, the parenthese is colorized and the matching parenthese is also colorized. This way, it is easy to know if there is a missing parenthese or not
2319
« on: July 08, 2012, 01:11:52 pm »
What would the minimum recommended dpi to simple pdf text files to be read?
I don't know, but... I want to save as much space possible.
... then you'd better save them as png rather than bmp. Also, when you save them, choosing 8 bits is obviously cheaper in terms of space than choosing 24 bits Also, if your pdf only contains text (and not images), I believe there is a tool on TI-Planet called Ncreator that allows you to have any txt file transformed into a tns file that the calc can read. However, I also think that you need to register there to use it (but that is not a problem) and the website is in French.
2320
« on: July 08, 2012, 12:56:32 pm »
Is it because you don't see the extension ? If yes, I'll try to help but as my PC is French, words I say can be a bit wrong. Open a random folder. Press Alt. Go to "Tools" the "Folder Options". Go to the "Display" tab. Scroll until you see "Hide extensions" and uncheck it. You should now be able to add .tns after .bmp
2321
« on: July 08, 2012, 04:26:08 am »
Jacobly's, then when he cancelled it I think somebody else took over, but it was very short lived. I could be wrong, though.
Ah ok. No in fact it was one and only project, but it was a group project. This is why you have seen several people working on it and may have thought there was several projects
2322
« on: July 07, 2012, 01:37:57 am »
So are you going to keep the beautiful inventory screen like the last one I saw had?
You mean this one in attachement ? Well I can't keep it the way it is since it is 4-scale and I use 3-scale. But yeah, I'll try to make my menu look like this one
2323
« on: July 06, 2012, 11:59:17 am »
I never found a way to do it on my 84+
You can use TI-Doc for example. It even supports images to insert into your text file
2324
« on: July 06, 2012, 10:54:12 am »
I don't understand the BA part. Is that one number split between two variables? And I don't know what floating point is exactly.
Your number A is 16 bits (2 bytes). Let's represent a bit by X. So A looks like this XXXXXXXXXXXXXXXX. Same for B, B looks like this XXXXXXXXXXXXXXXX. Now, what would be BA ? It is B followed by A so BA looks like this XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXAnd you just created a 32 bits number Floating point is basically numbers with a decimal where the period is not at the same place for each number. So you could work with 53.21 and 589.4 as opposed to fixed point where the period is always at the same place for everyone
2325
« on: July 06, 2012, 02:45:42 am »
+35 respect now. I think that's the record! :O
Especially because it keeps earning respect even though it is banned
Pages: 1 ... 153 154 [155] 156 157 ... 239
|