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 ... 126 127 [128] 129 130 ... 317
1906
« on: April 05, 2012, 02:37:33 pm »
Yeah, that stuff is going to be really scary  You might want to include using ! before a Repeat and While as a way to negate and stuff. Also, the way Grammer parses conditions is that it executes all the way to a newline token, so if you use : to separate lines and math in a condition, it will work out. For example: Repeat 3*A:+7:*3:-37 <<stuff>> End
That line parses to: (((3*A)+7)*3)-37)
1907
« on: April 05, 2012, 12:54:53 pm »
Yeah, good job so far with not destroying the users minds before getting to the scary fun stuff
1908
« on: April 05, 2012, 12:48:10 pm »
Hmm, I posted a screenshot somewhere where this also included hitbox detection, too... I should find it and remake some more of this sometime
1909
« on: April 05, 2012, 12:45:13 pm »
Xeda how did you learn the hex codes? I think that I might try to do that depending on how long it would take to learn the basics of it.
It is the same than learning ASM just that you replace the commands by their hex equivalents (like "ret"==C9 or "xor a"==AF)
Yes, that is correct  However, the advantage to learning the hex is that it helps you optimise and understand how the z80 works (also, it makes self modifying code a breeze). I mentioned the tutorial that I started and have yet to complete. I attached it to this post, so hopefully that can help. Really, it is a lot easier than it might sound because the opcodes have lots of patterns in them. For example: jr nz,* == 20** jr z,* == 28** jr nc,* == 30** jr c,* == 38**
You will probably need a chart, too, to get convert between hex and mnemonics. I also attached the one I made which also includes a quick breakdown of what each type of instruction does. Also, if it works for your spreadsheet viewer thing, I attached some sticky notes to a bunch of the cells to give more specific info if you hover the mouse over it (I don't think it works for all file types).
1910
« on: April 05, 2012, 07:30:48 am »
Aww, none of the complicated things like storing to multiple variables or using lowercase instead of primes?  Nice job, you are explaining it quite well so far o.o
1911
« on: April 05, 2012, 07:22:03 am »
My first thought was splitting it up into triangles, but it looks like you don't want that? What you can do is look for angles >180 degrees and connect pairs of these points. If you have an odd number of these points, connect it to an angle further away. (you might need to test the angle the new line forms).
EDIT: Also, maybe this is for the math section?
1912
« on: April 04, 2012, 04:56:54 pm »
Yah, and also, if you really wanted to, you could use your method, but instead: 1) Use one buffer for the backup buffer (in case the stack overflows) 2) Use the other two for gray 3) Use some code to figure out how much RAM is left and then create a tempstring (or TempProg or appvar) with the remaining RAM to use as a stack. Then, if the user has lots of available RAM, their flood filling will be really fast, but in case they don't have enough they won't need to worry.
1913
« on: April 04, 2012, 04:41:11 pm »
Wow, very nice way to combine the two methods. That should indeed be faster! I was limited to just one 768 byte buffer because I had to use the other two for grayscale. Again, nice o.o
1914
« on: April 04, 2012, 04:38:57 pm »
Oh right  Cool, I can't wait to see how you handle it
1915
« on: April 04, 2012, 04:38:56 pm »
Oh right  Cool, I can't wait to see how you handle it
1916
« on: April 04, 2012, 03:36:50 pm »
Awesome! Thanks noelthebest :]
1917
« on: April 04, 2012, 03:35:33 pm »
Cool  Do you have any plans for the next section?
1918
« on: April 04, 2012, 03:20:25 pm »
Yeah, are we allowed to post about our projects?
1919
« on: April 04, 2012, 03:05:26 pm »
nope, but if my BASIC project kicks off properly, I bet it will be awesome. It is not going to feature graphics or anything like that, but it should still be a really cool thing.
1920
« on: April 04, 2012, 03:02:28 pm »
 Also, I am curious, is there a size limit or anything? I am pretty sure that my BASIC entry is going to be massive o.o
Pages: 1 ... 126 127 [128] 129 130 ... 317
|