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 - stevon8ter
Pages: 1 ... 22 23 [24] 25 26 ... 48
346
« on: November 25, 2012, 02:07:29 pm »
Ruler, i have a little bit of experience, but more then enough to make file uploads, a little visitor board and admin function, so if you ever need help...
(I'll do the script in 2h or so.. Sorry
347
« on: November 25, 2012, 01:28:22 pm »
ooooh ok now i get it
so 10000001100000010100001000111100 is splitted to 1000 0001 1000 0001 0100 0010 0011 1100
348
« on: November 25, 2012, 01:25:21 pm »
I know that but then the maximum is 9, so the only combinations are: 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001
349
« on: November 25, 2012, 01:22:45 pm »
use a simple sprite for testing? ie a 8x8 block and for enemu's an 8x8 black block and ...?
350
« on: November 25, 2012, 01:19:59 pm »
I know what complex numbers are i'm in a very hard mathematical study :p But with the lists, how do you have the hex sprites set up? cause an A or 10 doesn't fit in properly...
351
« on: November 25, 2012, 12:11:47 pm »
EDIT2: Just for a bonus, though the sprites are kind of a bother to make for this method, this will let you draw 8x8 sprites using two elements in a list:
For(A,1,2 L1(A For(B,4A-4,4A-1 For(C,0,7 Ans/2 if fPart(Ans pxl-On(Y+B,C+X iPart(Ans End End End
Or if D is a complex number, with the real part being the upper 4 rows and and the imaginary part being the lower four rows:
For(A,0,1 real(Di^A For(B,4A,4A+3 For(C,0,7 Ans/2 if fPart(Ans pxl-On(Y+B,C+X iPart(Ans End End End
What do you mean with if D is a complex number? what is the D var representing? And i guess with complex numbers, it's meant to represent the A,B,C,D,E and F ?
352
« on: November 25, 2012, 11:13:24 am »
Ok thx ;p but it worked with 4A as well... Oooh wait, my string was still 64 long xD so nvm :p EDIT: i read it very good now and i now get the logic behind it ;p Thx for learning me yet another thing xeda
353
« on: November 25, 2012, 10:32:12 am »
How would i do that? In example 8x8 sprite, would that be: change the A loop end to 7 en the B loop end to 2?
354
« on: November 25, 2012, 05:23:04 am »
If i can get on my computer today, i'll post what script i'm using, and i'll try to explain it
355
« on: November 25, 2012, 05:19:43 am »
Wow that's one cool code xD With your approval i'dd like to use this in some of my programs (credits to you again xp)
356
« on: November 24, 2012, 08:07:42 pm »
Each element in a matrix uses 9 bytes, so I would suggest storing multiple pieces of data per element. Maybe you can use a list of 18 elements for the tilemap and each element has a 31-bit number for the data in each row. I might have to do that myself >.>
EDIT: Also, my sprite drawing routine is pure BASIC, so it takes about 5 seconds to draw a 16x16 sprite using hexadecimal.
Could be a good idea How do you draw hex sprites in basic? Or do you use a sub asm prog to translate it to basic points that need to be on?
357
« on: November 24, 2012, 07:37:57 pm »
Cool But yeah i'm bad at assembly and opcodes and i like the fact that a program can be contained in 1 file xD but i might have to use some asm after all eventually
But for now my drawing routine for pure basic is: a for loop in a foor loop, that loops trough a matrix
358
« on: November 24, 2012, 06:01:55 pm »
Very impresive 1 little question (sprry if i'm wrong) but what if you stored all of the item's name's etc in a list (letters -> numbers of alphabet) and call in a routine to convert them back into a list? Or would that be larger and slower? Just asking... Btw: nice to see how people get a good use out of point-on(x,y,2 and how do you "tile" your map? Is it hardcoded or string or matrix?
359
« on: November 24, 2012, 10:56:49 am »
Does anyone know how i can connect to a mysql database with c# ?
in php this is: mysql_connect($host, $user,$password); @mysql_select_db($database) or die( "Unable to select database");
360
« on: November 24, 2012, 10:23:14 am »
Hi guys,
so a friend asked me to make a coder/decoder.
I'm bored so i thought: let's post it.
So what's the idea behind it? You have a left textBox, where you input the text to code / decode / or invert. I think the features don't need explanation...?
For the encoding/decoding you need to insert a code, for example code 1, or 2 or 3 (numbers only)
So here it is...
(you need the .net platform installed)
EDIT: the actual term is encrypting
Pages: 1 ... 22 23 [24] 25 26 ... 48
|