gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

OffTopic > !Software Announcement: PuzzleMesh v0.1.0

#160159 - zzo38computer - Thu Jul 10, 2008 11:23 pm

Please look at this, and tell me if you have a comment of it, if you can find more bugs in it, etc. This is licensed by GNU GPL v3.

http://zzo38computer.cjb.net/prog/PuzzleMesh/
_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.

#160166 - tepples - Thu Jul 10, 2008 11:44 pm

Could you tell us what it is before we download it? Otherwise, it looks like you're just sending us this file in order to have our advice.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#160182 - zzo38computer - Fri Jul 11, 2008 2:22 am

It is a interwoven puzzle challenge. It is written in PHP-GTK. It isn't complete yet, there are some bugs and some things missing, but most the things are working. Now I have some screen-shots at: http://zzo38computer.cjb.net/prog/PuzzleMesh/screenshots/
_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.

#160205 - zzo38computer - Fri Jul 11, 2008 8:15 pm

Help me! I just uploaded version 0.1.1 and the balloons can't be pushed left and right. Can you look and see if I missed something?
_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.

#160896 - Kojote - Thu Jul 24, 2008 4:29 am

do you plan a nds/gba version? ;)
_________________
Kojote
PDRoms - Retroguru - Giana's Return - Speckdrumm

#160951 - zzo38computer - Thu Jul 24, 2008 8:47 pm

Kojote wrote:
do you plan a nds/gba version? ;)


Well, I fixed the balloons (the problem was a capitalization error).

I do not plan a NDS/GBA version and I'm not sure how I would program a NDS/GBA version anyways. I don't think the display is big enough, nor are there enough buttons on it (or maybe not even enough memory). And I wrote this software in PHP, and would be hard to run a PHP program on GBA or on Nintendo DS.

To show you a few of the features possible with this software, here is a copy of the codes for the BALLOON class:
Code:
:msg_destroy
  'pop 0 sound
;;

:msg_departed
:msg_moved
:msg_jumped
  me objbelow obj!
  obj@ temperature@o 250 >= if[
    obj@ 'usr_burn 0 0 send ; me destroy ;
  ]
  4@s bit9 | 4!s {{ Prevent rollers from moving rising balloon }}
  nm not if[
    4@s bit9 not & 4!s {{ Allow roller to move stuck balloon }}
    me objbelow d; obj! @o 'roller == if[ obj@ 'usr_arriving 0 0 send ; ]
  ]
;;

:msg_moving
  distance
  lastdir@s n !=
  me objbelow @o 'ice ==
  && && if[ 1 ret ]
  1@ x@s != 2@ y@s != && if[
    me 1@ x@s - 4 & objdir @o 'field != if[ 1 ret ]
    1@ 2@ objtopat @o ( 'bridge 'water 'ice 'fire 'roller 'teleport 'raft )== ret
  ]
;;
There are also attributes, which I didn't copy here. Some of the functions of the program are already done by the attributes, but these codes allow you to extend it much more than by just using the attribute functions. (The attributes don't do much by themself) Also, as you can see, comments start with {{ and end with }} and most functions are dealt with by sending messages between objects.

Probably it would be faster if convert it to C codes. It would require a lot of stuff added if done in C, because C is a more low-level than PHP and doesn't have some things that PHP does automatically. But if you want to write it in C, you can do so!

Also, tell me if you can find more bugs, make more suggestions, etc.
_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.