Show Posts

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 - Xeda112358

Pages: 1 ... 233 234 [235] 236 237 ... 317
3511
TI Z80 / Re: Homescreen Game Pack
« on: April 09, 2011, 10:47:14 pm »
hehe, just downloaded it :D I am putting it on my actual calc, not an emulator 'cause I am sure I will love this XD

3512
BatLib / Re: BatLib Demo Programs
« on: April 09, 2011, 10:03:47 pm »
Ah, yeah, no problem :) Also, have you seen my MOVE! demo? That is another mini game that I made in BASIC originally (it was played on the homescreen, too :P )
http://ourl.ca/9009/186105

3513
BatLib / Re: BatLib Demo Programs
« on: April 09, 2011, 09:58:19 pm »
What is an HGP?

3514
BatLib / Re: BatLib Demo Programs
« on: April 09, 2011, 09:40:31 pm »
Okay, I have another mini game made. This is one I made a long time ago in BASIC, but I lost the code. Now I've remade it with BatLib and it is one of my favorite mini games :) Anyway, the idea is to match the image on the left to the image on the right. Thank of it like a pixel editor where your only option is Pxl-Change and it changes the surrounding pixels, too (and imagine that your pixels are 6x6, too, but that's beside the point XD) Anywho, here is the program and screeny:

3515
BatLib / Re: BatLib/ReCode Examples
« on: April 09, 2011, 12:53:58 pm »
That is the downside to chaining commands... you cannot leave out arguments unless they are at the end. However, if you want to you can leave out arguments before a string argument, even if you are chaining.

3516
BatLib / Re: BASIC ReCode v2.00
« on: April 09, 2011, 12:50:41 pm »
I just realised that I will need to change the Pause While command because it will cause problems if it is inside of another block (the parser reads the "While" and expects another End). So I am thinking of changing it back to Pause If like I once had it. Does anybody have any better suggestions?

3517
BatLib / Re: BatLib/ReCode Examples
« on: April 09, 2011, 12:45:50 pm »
Yes, that is exactly the technique that I love about BatLib, personally. So here is another common example I use...
First, you want to draw a sprite or a rectangle using the XOR (or invert) option and you display the graph. Then, you can use dim(10,x to filter key presses (like waiting for arrows and the column of keys containing enter to be pressed) If there are two or more groups of keys, you can use dim(43 as another getkey. After that, you can use the first thing you did again without updating the screen.

TL;DR
Pretty much, this will display a rectangle, wait for a key press, and restore the screen:
Code: [Select]
dim(29,B,8,C,8,2
dim(99               ;Displays the inverted rectangle
dim(10,3             ;waits until Arrows or the column with enter to be pressed
dim(43→A             ;returns the key in Ans and is stored to A
dim(29,B,8,C,8,2     ;This reinverts the rectangle, but it isn't shown yet. Great for smooth graphics.
However, this can be all put together into one long sequence of commands by combining the inputs:
dim(29,B,8,C,8,2,99,10,3,43,29,B,8,C,8,2→A

3518
News / Re: Weekly Correlation Testing Report
« on: April 09, 2011, 11:15:15 am »
Hmm, I need another idea beyond a simple hacked vars creator x.x That is nice, but there are enough out there already and it doesn't show off the potential of Correlation. Anybody got any ideas?

3519
BatLib / Re: BatLib Ideas/Wishlist
« on: April 08, 2011, 07:34:47 pm »
Hm, I might be able to accomplish that with a little time! I'll work on it!

3520
BatLib / Re: BatLib Demo Programs
« on: April 08, 2011, 06:33:01 pm »
Okay, here is another demo program Sprite Editor. This one is made *mostly* in Recode and is different from the previous font editor/Sprite editor. Also, I put this in 6MHz mode and I added a Pause 5 to make a delay between key presses XD

Pretty much what it does is let you make 8x8 sprites and then it outputs a hex code for the sprite that can be used with BatLib, Celtic 3, Axe, and a few other programs. The code is output in Ans for easy use :) Have fun!


EDIT: Just remembered I never uploaded the screeny :/

3521
BatLib / Re: BatLib Wishlist
« on: April 08, 2011, 06:25:20 pm »
Yeah, probably. At the time I was thinking Ideas was going to be more for practical ideas to bounce around whereas this topic was for me to get a feel for what people wanted, but they can probably get merged, I guess

3522
BatLib / Re: BatLib
« on: April 08, 2011, 04:46:19 pm »
Yep, easy enough XD Now to do command 92 and 93 you would need 2 augments, right? And that is without Ans as an input and you would need to use If statements for when adding or deleting at the beginning or end XD So I guess I'm glad I made those commands...

:D

3523
BatLib / Re: BatLib
« on: April 08, 2011, 04:13:35 pm »
Is there an easy way to do it in BASIC? I know how, but the code was a bit time consuming compared to this. Also, in the next update I plan to have it so that if you try to insert or delete zero elements, it gets read as 1. That way any extreme optimisers out there can omit that argument if they simply want to do one element :D Also, I have to add in the /Then...comments...End command to ReCode (which is only 5 bytes of code to add XD).

3524
BatLib / Re: BatLib
« on: April 08, 2011, 03:59:23 pm »
Hehe, yep :) Okay, so here are all of the additions and fixes:
-fixed up the > command in ReCode
-added commenting to ReCode using //
-In the last version, I added the ability for the newer commands to use either the number of a list or direct lists. Now all list options can be either the list number (0=L1, 1=L2), a name (like "LHELLO") or a direct list (like {0,1,2,5}).
-Added DelElements command. This lets you delete elements from a list at a given offset. I didn't know of an easy BASIC method.
-Added InsElements command. This lets you insert zeros into a list at a given offset.
-Added InsList command. This inserts a list into another list at a given offset

As a note, there is no error checking for deleting or inserting elements outside of the list, so take care not to do that. Other than that, I cannot think of any other additions or fixes :)

EDIT: Also, I added some stuff that I use to develop BatLib as well as the "source" that I use to compile XD

3525
BatLib / Re: BatLib v4.00.95.51
« on: April 08, 2011, 01:21:58 pm »
I could, but I opted not to XD I figured lines were easier to count than tokens.

On another note, I am going to be late for an appointment so I need to go, but here is the newest update of BatLib. I will go into more detail later about the fixes and added stuff :)

Pages: 1 ... 233 234 [235] 236 237 ... 317