I don't know realy, but ... my be it will be usefull to somebody.
Posted on 2003-04-15 07:33:56 by Crow16384
very ... very ... nice. nice gfx and clean code. :alright:
do you plan to add music & sfx ? :rolleyes:

thanks for sharing. :grin:
Posted on 2003-04-15 07:46:22 by TBD
Not realy planned. It was just an exercise in Asm. I will try to delete all AGI's and pipelines jam... I just want to tteach myself to write optimal code. But it is so far for now :)
Posted on 2003-04-15 07:58:16 by Crow16384
Crow16384: "exercise in Asm" ? :grin:
did you have any other tests like this :)

you can use BASS library for music & sfx.
i did the masm example from the distribution ;)
Posted on 2003-04-15 08:07:20 by TBD
Not yet finished. I've got some ideas, but ... have no time at all
I'll study BASS library :) Thanks!
I think that it possible to play sound using Microsoft DLL such msvfw32.dll, it can play near the everithing. I'm writting "inc" file for this lib 'cause vfw32.inc in hutch MASM32 is incomplete.
Posted on 2003-04-15 08:20:32 by Crow16384
msvfw32.dll can play 'everything' except modules in default installation and i think
you dont want to include background music as mp3 (megs compared with kb of modules).

i suggested BASS because you can use all common modules (.it, .xm, .mod, .s3m, ...) and
also .mp3, .ogg files. DirectX & EAX effects (reverb, chorus, flanger) are also available
with minimum effort.

anyway, a suggestion for when you have time and mood for this :)
Posted on 2003-04-15 08:29:02 by TBD

Compliments, nicely written and the idea works well.


Posted on 2003-04-15 08:37:03 by hutch--
some ideea for size optimizations:
- pack the level data. you can use z0mbie compression library for this.
i used it in AsmMindWeb
- use PNG instead of BMP for gfx. Thomas has PNGLib library for us to use :)

all links have sources, of course :tongue:
Posted on 2003-04-15 09:33:07 by TBD
Crow16384, very good game.
Thanks for sharing! :alright:
Posted on 2003-04-15 10:26:09 by bitRAKE
probably wont take long before somebody cencors the z0mbie link (sigh).
J?rgen "Jibz" Ibsen has some nice compression code at http://www.ibsensoftware.com/ , his BriefLZ is OpenSores and free - fortunately zlib style instead of GPL wank.
Posted on 2003-04-15 10:29:06 by f0dder
It is classical Lampel-Zeew compression :)
It will be intresting to see emplementation, I sow the lot of variants.:cool:
Posted on 2003-04-15 10:34:04 by Crow16384
Crow16384, I have played on a couple of computers and the character seems to pause on block boundaries. Is this a feature? These pauses break the flow of play. There also seems to be a greater pause on blocks being put into the red areas.

Feature Additions:
- different backgrounds and character graphics
- level select
- high score for each level
- level groups with theme names

I am sorry to have only taken a brief look at the code, but it looked very neat and easy to read. Puzzle games are really fun, and I'm enjoying the levels.
Posted on 2003-04-15 17:36:50 by bitRAKE
Very nice program. Worth including in the next MASM32 package as an example.

Also to minimize the size the animation gfx of the main character one could include only one direction frames.
Posted on 2003-04-15 17:43:28 by Glob
Very nice and funny indeed

Well done man !

Now i have something new for my kid to enjoy also :)
Posted on 2003-04-15 18:03:31 by BogdanOntanu
I tried the game and liked it, these puzzle games can really get people hooked! Ya add some sound to it, it'll be even better :)
Posted on 2003-04-15 18:20:28 by x86asm
Hrm, IMO the code is somewhat dirty - there's a lot of "magic numbers" around. But it's split rather modulary, which is a good thing.

Where'd you get the sokoban levels btw? Ripped out of a game? Scratched them down as you have been playing sokoban? :P Or is there some site out there with a list of them?

/me rembers the days of sokoban on CGA graphics - white, cyan, black, pink.
Posted on 2003-04-16 01:45:43 by f0dder
Many thanks everybody for comments and attention:)

I'll pack level data and bitmaps with png (done) and add a sound, it's usefull.
I mean usefull for me (treaning) to pack data.
Very pity that BriefLZ is written in some ugly syntax (NASM). Does enybody can read it?
But it is only my private opinion, nothing more. Please don't be hurted :)

I just share it and everione can do everithing he want with this code.
I don't plan to support this code 'cause it's nothing to support.

Realy, I've never planed to do something serious from this toy, I just removed Linux (don't ask me why) and loose this game. My wife sad that she want it and I wrote this for Win (pictures are taken from the Linux game, it is GNU).

bitRAKE, yes, it is planned to stuck on block boundaries. It seems to ensure from an accidental move. (IMHO)

TBD, many thanks for link. PNGlib is great! :alright: z0mbie link is broken :(

Posted on 2003-04-16 02:07:30 by Crow16384
ugly syntax? oh well. Anyway, just assemble brieflz with nasm and link with the objects, you won't have to look at the source again.

z0mbie works fine from here.
Posted on 2003-04-16 02:41:34 by f0dder
Nice game : I wanted to write such a game for my personal use and for fun !
Thanks !
Posted on 2003-04-16 03:39:19 by JCP
Hi ! Crow16384 :)
Very nice.
Compliments. :alright:
Thanks for the publication of your source code. :cool:
Continue to make similar games.
Posted on 2003-04-16 09:08:41 by Asmgges