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 - BlackCode
1
« on: December 18, 2013, 08:20:50 pm »
More random questions... What would be the best way to get text() functionality without actually using the command (speed reasons)? My first thought is to just tilemap the screen and have sprites be letters. However, depending on how many different characters I use, this could end up being a lot of sprites to define. Are there any better methods out there?
2
« on: September 28, 2013, 12:43:51 am »
That was easier than I expected...thank you.
3
« on: September 27, 2013, 10:13:20 pm »
Anyone have any methods for better grayscale? I'm currently using Hayleia's method, but even after extensive calibration I still get light diagonal lines running down (these are called scanlines right?). The best I've gotten is a loop with Pause(22), but this makes it impossible to do anything else. Just using four level grayscale.
4
« on: September 22, 2013, 09:21:05 pm »
How would I make it work if I were to use lowercase then? And how would this work for recalling, will it not just be displayed as numbers (or whatever), or are tokens interpreted differently?
Edit: Also, I was under the impression that strings in Axe were static and determined at compile time. Unless hacked strings (which the tutorial doesn't have) get around this(?) I don't see how this would help...
5
« on: September 22, 2013, 08:23:25 pm »
Something isn't clicking for me. Could you provide a quick example of a program that would store some text into a string? My current attempts don't seem to actually be doing anything, despite compiling and running fine.
6
« on: September 22, 2013, 07:30:29 pm »
I wasn't clear. By recall, I mean 2nd+STO, as in, RCL. I want to be able to do RCL Str(whatever I use) and have it paste it. Its a helping program like HexSprite. Hope that clears it up a bit.
7
« on: September 22, 2013, 05:27:46 pm »
(Also, sometimes it is good to look on the forums before making a new topic, or try Googling a bit (second link when typing "run basic progs in axe"))
In my defense (not that I'm justifying it or anything), neither forum searches nor googling turned up the results I wanted. In fact, most of what I got was requests on translating Basic code into Axe. Shmibs, I'm basically trying to create a string, based on user input, that can later be recalled by the user. Since Axe support for this is...lacking...I figured Basic would be much simpler to implement.
8
« on: September 22, 2013, 01:09:21 pm »
Alright, I'll wait and hope someone more knowledgeable has a solution...Otherwise program structure will be a pain...
9
« on: September 22, 2013, 01:01:03 pm »
So...should I ask again somewhere else? Or will somebody see this?
10
« on: September 22, 2013, 12:14:19 pm »
Obviously its more complicated if I couldn't figure it out as easily as calling Axe from within Basic. Would you mind explaining it, or pointing me to a source that does explain it?
11
« on: September 22, 2013, 11:57:42 am »
I feel like this should be incredibly easy, but experimentation has not given me any help. Obviously its easy to execute an Axe program from within Basic, but how can the process be reversed? Essentially I'd like to use the simpler data handling of basic for a portion of my program.
12
« on: September 22, 2013, 11:47:58 am »
Alright, thanks guys. I understand now.
13
« on: September 21, 2013, 11:23:04 pm »
I don't quite understand how pt-change twice will erase the cursor? Will it not just undo itself? As for using the backbuffer, that's quite a good solution. My only worry would be the cursor being even harder to see while moving. Runner, I couldn't look it up and redraw (as far as I knew) because what is underneath is not another sprite, but text from the text() command. Now that you mention the pt-get command though, I have solution. Thanks for the quick replies, I'll try these and see what works best.
Edit: Is there a reason text wouldn't display? I've tested in other programs and it works fine, it even displays when I put it in the program loop. But if it's just at the start it won't display...
Edit 2: It's due to dispgraph. Is there a solution to this?
Edit 3: Ah. Fix 5. May I ask why this is necessary instead of just having it occur by default?
14
« on: September 21, 2013, 11:04:27 pm »
Alright, I'm making a cursor for a menu, and need to figure out how to draw it. It seems simple enough, but the problem arises when it overlaps with text. Ideally it would just display over the text, however I cannot find a way to do this. Pt-off will erase the text, and I'd rather not retext(?) the entire screen every iteration as it would be slow and ugly. Pt-on has the side effect of not erasing the cursor, so I leave a trail of on pixels (which, while fun, is undesired).
Edit: Simplest solution preferred-speed is not critical.
15
« on: August 28, 2013, 08:44:15 pm »
Yes with a For loop.
While I do appreciate any help...I have no idea how a for loop could possibly improve handling of getkey routines. Could you perhaps elaborate on how to use it? (Not the for loop, I can use those fine, using it for a better input routine).
|