| Author |
Message |
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
Posted: 15 May 2009 10:01:12 am Post subject: |
|
|
because:
i use only 21 tiles, the premade-compression codes use 256, this is a major waste
there are only 2 decompression technologies available, of which one does not decompress, and the other is down  |
|
| Back to top |
|
|
Eeems
Advanced Member

Joined: 25 Jan 2009 Posts: 277
|
Posted: 15 May 2009 10:09:57 am Post subject: |
|
|
| couldn't you modify the 256 one to only do 21 tiles? wait one of the "decompression" technologies doesn't work ??? then why is it out there? |
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
Posted: 15 May 2009 10:16:45 am Post subject: |
|
|
modifying one is probably harder than creating your own
i need apack source so i can see how he did it, and then write my own version of it using 21 tiles instand of 255
also, decompressing "may" make the data bigger, and can be used as data encryption |
|
| Back to top |
|
|
Eeems
Advanced Member

Joined: 25 Jan 2009 Posts: 277
|
Posted: 15 May 2009 10:18:12 am Post subject: |
|
|
| ah ok. good luck with this |
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
Posted: 22 Jun 2009 08:03:42 am Post subject: |
|
|
progress
supercharged:
inverted:
a level: (long)
support for bombs: (yes, they are supposed to look like floppy's...)
view all screenies here |
|
| Back to top |
|
|
ztrumpet
Active Member

Joined: 06 May 2009 Posts: 555
|
Posted: 22 Jun 2009 09:33:00 am Post subject: |
|
|
Looks Great!
YAY! Demo this month! |
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
|
| Back to top |
|
|
ztrumpet
Active Member

Joined: 06 May 2009 Posts: 555
|
Posted: 22 Jun 2009 10:26:11 am Post subject: |
|
|
| If you mess up how do you restart the level? |
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
Posted: 22 Jun 2009 11:00:33 am Post subject: |
|
|
you press clear and restart supaplex  |
|
| Back to top |
|
|
ztrumpet
Active Member

Joined: 06 May 2009 Posts: 555
|
Posted: 22 Jun 2009 01:47:22 pm Post subject: |
|
|
| Oh. I thought there was a quick restart. (Still in the App.) |
|
| Back to top |
|
|
cjgone Aw3s0m3
Active Member

Joined: 24 May 2006 Posts: 693
|
Posted: 24 Jun 2009 01:29:08 pm Post subject: |
|
|
Looks really fun, hehe. I gotta play this . |
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
Posted: 26 Jul 2009 10:32:44 am Post subject: |
|
|
for some reason, it refuses to create str1
Code: create_string
LD HL,stringvar
LD De,op1
LD BC,3
LDIR
LD HL,100;size
bcall(_CreateStrng)
ex de,hl
LD A,100;size bytes
LD (HL),A
inc hl
xor a
LD (HL),A
ret
stringvar:
.db tVarStrng,tstr1,$0
am i missing something?
by the way, the average size of a level os around 290, (originally 1440, 80% compression!), this means it will be a 3 page app... |
|
| Back to top |
|
|
calc84maniac
Elite

Joined: 22 Jan 2007 Posts: 770
|
Posted: 26 Jul 2009 10:48:15 am Post subject: |
|
|
You forgot the object type byte.
Code: .db StrngObj,tVarStrng,tstr1,$0
|
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
Posted: 06 Aug 2009 02:17:24 pm Post subject: |
|
|
cool, it works
but...
Code: create_string
LD HL,stringvar
LD De,op1
LD BC,3
LDIR
LD HL,100;size
bcall(_CreateStrng)
ex de,hl
LD A,100;size bytes
LD (HL),A
inc hl
;xor a
LD (HL),A
inc HL
ex de,hl
LD HL,string
LD BC,100
ldir
ret
stringvar:
.db StrngObj,tVarStrng,tstr1,$0
string: "some string of 100 chars lengt"
...is crash happy, als str1 is undefined... |
|
| Back to top |
|
|
calc84maniac
Elite

Joined: 22 Jan 2007 Posts: 770
|
Posted: 06 Aug 2009 07:43:19 pm Post subject: |
|
|
Well first of all, you're still copying 3 bytes instead of 4. Also, you don't need to manually load the size bytes (which you are loading with the wrong values anyway because you commented out the xor a).
Last edited by Guest on 05 Jul 2010 08:17:56 am; edited 1 time in total |
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
Posted: 07 Aug 2009 01:20:17 pm Post subject: |
|
|
| man, i am STUPID |
|
| Back to top |
|
|
calc84maniac
Elite

Joined: 22 Jan 2007 Posts: 770
|
Posted: 07 Aug 2009 03:20:05 pm Post subject: |
|
|
| No you aren't. |
|
| Back to top |
|
|
DigiTan Unregistered HyperCam 2
Super Elite (Last Title)

Joined: 10 Nov 2003 Posts: 4468
|
Posted: 07 Aug 2009 04:18:58 pm Post subject: |
|
|
| That supercharged one was pretty darn fast. And I'm on IE for cryin out loud! |
|
| Back to top |
|
|
darkstone knight
Advanced Member

Joined: 07 Sep 2008 Posts: 438
|
Posted: 08 Aug 2009 07:51:04 am Post subject: |
|
|
| DigiTan wrote: | | That supercharged one was pretty darn fast. And I'm on IE for cryin out loud! |
and it doesnt even run on 15 mhz mode :biggrin:
on a side note...
[attachment=2737:supaplex35.gif]
on-calc lz77-compression! this level is around 70% compressed
(i really should learn php...) |
|
| Back to top |
|
|
|