Show Posts

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 - IsmAvatar

181
Off-Topic / Re: Introductions
« on: April 17, 2012, 10:02:19 pm »
Particles would probably be best done as an extension.
Pixel-perfect collisions should go in Collision_Systems.

182
Just wanted to announce that I have modified the internal workings of the game.
* Now compatible with both GML and EDL/C++
* Eliminated some code that manually handled stuff that is now automatically handled by EDL.
** This fixed a bug which caused the speed to go haywire and the clown was moving much faster than intended.

New URL
http://dl.dropbox.com/u/9975312/Games/Catch_the_Clown.gmk
Already updated the topic with the new URL.

183
Issues Help Desk / Re: Getting up and running
« on: April 17, 2012, 02:05:11 pm »
Catch the clown is written with EDL-specific language that is not available in GML. Notice the "alarm0--". -- is EDL, not GML. By default, when you load a GM .gmk (such as catch-the-clown), the Enigma Compiler Settings set everything to GML. This is why you are getting the error.

I've been starting to realize recently that catch-the-clown may not be the best first example, but nobody's really suggested anything better to replace it yet, so it's stuck. At the very least, it should probably be adjusted so that it works in both GML and EDL.

Anyways, to solve your problem:
Once you have opened Catch the Clown in LateralGM, you must then go into Enigma Settings (either through the ENIGMA menu, or by double clicking on the Enigma Settings tree node at the bottom left). In this subframe, you will see a bunch of radio buttons all set to the left. Switch them all to the right. This will switch you from GML to EDL. Click OK, and then go ahead and try Running again.

EDIT:
Alternatively, redownload the Catch the Clown game, as I just now updated it so that it should behave properly in GML mode.
http://dl.dropbox.com/u/9975312/Games/Catch_the_Clown.gmk

184
Off-Topic / Re: Introductions
« on: April 17, 2012, 01:56:39 pm »
I believe the split of the drawing functions was a decision made by myself and... I think polygone. Josh was largely uninvolved.

Quote
Branch the draw_SHAPE functions into sets of outline_SHAPE and fill_SHAPE functions to eliminate* `bool outline` (concerning SHELL/Graphics_Systems/OpenGL/GSstdraw.h). Alternative: draw_SHAPE_outline/draw_SHAPE_fill. (* Not really eliminate, just replace the need for. The outline argument would become optional)

Why not just wrap each of these instead, the function to draw is already there why not just introduce two new function that call the existing function with and without the optional arg?
Actually, if you read it carefully, I think this is exactly what we were proposing.

185
Announcements / Email server fixed
« on: April 04, 2012, 08:34:32 pm »
Our resident webadmin, sirmxe, has finally gotten his personal matters together long enough to log into server, uninstall and then reinstall the exim mail service, and then log back out (hopefully).

That said, the mail server works now, and some of you may or may not have suddenly got a few emails from it that it still had on queue.

186
Announcements / Re: Main Progress [Stalled because we can't Git]
« on: March 28, 2012, 09:53:45 pm »
Game_boy: like Harri said, I bought it for spec (and price), not speed. I wanted something that could play Skyrim. With settings turned to low, it runs great, so I'm very happy with my purchase.

Harri: ~~~Snip: 3 images showing all 3 examples work~~~

187
Announcements / Re: Why does it look like nothing's happening?
« on: March 27, 2012, 07:16:21 pm »
I just wanted to share that the checksums have now been combined into one file:
http://dl.dropbox.com/u/9975312/enigma-dep/update.md5

Apparently you can just chain the binaries onto the end of md5sum and it outputs a newline for each, and then -c will check all lines. It still has the nuisance of outputting the relative path, but I worked around that by just CD'ing first.

Here's the new release.sh

Code: (bash) [Select]
#!/bin/sh
DB=~/Dropbox/Public/enigma-dep
WORK=~/enigma-dev

if [ "$#" -gt "0" ]; then
 echo $1 | grep l > /dev/null 2>&1
 if [ $? = 0 ]; then
  cp ws-git/LateralGM/lgm16b4.jar $WORK/lgm16b4.jar
  cp ws-git/LateralGM/lgm16b4.jar $DB/lgm16b4.jar
  echo lgm16b4.jar
 fi
 echo $1 | grep e > /dev/null 2>&1
 if [ $? = 0 ]; then
  cp enigma-dev/pluginsource/enigma.jar $WORK/plugins/enigma.jar
  cp enigma-dev/pluginsource/enigma.jar $DB/enigma.jar
  echo enigma.jar
 fi
fi

cd $WORK
md5sum lgm16b4.jar plugins/enigma.jar plugins/shared/jna.jar > $DB/update.md5

I worked around the problem of including the directories to the binaries by copying them to my working copy and then md5summing the binaries in there.

Anyways, at this point, all that's really left is the updater code. Just toying with the code, it would probably look something like this:
Code: (bash) [Select]
#!/bin/sh
url=http://dl.dropbox.com/u/9975312/enigma-dep
curl -silent $url/update.md5 | md5sum -c --quiet 2> /dev/null
# Next, trim the ": FAILED" from each line
# For each line:
#curl -O $url/$line (might need to do some splicing to not include the relative paths in the url)


Edit:
After some discussion on the IRC between TGMG (mac), bobtheblueberry (oddly), and myself (ubuntu), we've found some tools that we have in common that we might use to develop an update script.

  • md5 - Mac only.
  • md5sum - Ubuntu only.
  • openssl md5 - Both.
  • grep - Both.
  • wget - Linux only.
  • curl - Both.


Here's an example of openssl md5:
Code: [Select]
$ openssl md5 lgm16b4.jar plugins/enigma.jar
MD5(lgm16b4.jar)= febec82e1498ebfab21751764e2e16d3
MD5(plugins/enigma.jar)= b5f6de84285a0795ad74f03c32bccafd

188
Announcements / Re: Main Progress [Stalled because we can't Git]
« on: March 27, 2012, 06:50:14 pm »
I have a motherfucking brand new NVidia GeForce GT 430. Is there some sort of spec you need to look for when buying them to make sure it supports FBOs, because this thing supports everything short of DirectX 12.

DarkAceZ: I didn't see that error.

189
Announcements / Re: Main Progress [Stalled because we can't Git]
« on: March 27, 2012, 04:01:53 pm »
The updated version yields the same results as the other two now.

surface_is_supported() returns 0.

190
Announcements / Re: Main Progress [Stalled because we can't Git]
« on: March 27, 2012, 03:36:31 pm »
development_side_effect2.gmk
Compiles. Displays game window for very brief moment. Then terminates prematurely with exit code 0, and no visible error.

reflections_surface.gmk
Same behavior as above.

sun_rays_room_technique V2.gmk
Does not compile. Reports the following error:
Code: [Select]
Check `object0::create...Syntax error in object `object0', Create event:0:
Line 7, position 6 (absolute 134): Invalid assignment to function `time'

191
Announcements / Re: Main Progress [Stalled because we can't Git]
« on: March 26, 2012, 04:13:01 pm »
Account Settings (top right) > SSH Keys

192
Announcements / Re: New members
« on: March 24, 2012, 08:37:58 pm »
Just read the latest newsposts (like, the top 5 threads in the Announcements forum). Then you should be up-to-date on the current state of things.


I will mention that some sick bastard decided to make sounds work on Linux again. I don't know who, and Josh claims it wasn't him, so I have to assume maybe Polygone actually managed to get something working and not break stuff for once.

193
Announcements / Re: News points
« on: March 20, 2012, 02:01:23 pm »
[bubble=red][bubble=orange][bubble=yellow][bubble=green][bubble=blue][bubble=purple][bubble=violet][bubble=red][bubble=orange][bubble=yellow][bubble=green][bubble=blue][bubble=purple][bubble=violet][bubble=red][bubble=orange][bubble=yellow][bubble=green][bubble=blue][bubble=purple][bubble=violet][bubble=red][bubble=orange][bubble=yellow][bubble=green][bubble=blue][bubble=purple][bubble=violet][bubble=red][bubble=orange][bubble=yellow][bubble=green][bubble=blue][bubble=purple][bubble=violet]TITTY SPRINKLES[/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble][/bubble]
You just read that in Morgan Freeman's voice.

194
Announcements / Re: News points
« on: March 20, 2012, 12:59:42 am »
Yay. Now I just gotta remember, snip, snip, snip, snip...

195
Looks good to me. I can't think of any particular need for ambiguity resolution. And I don't think anybody really cares what you name it, as long as it's not too hard to remember/look up and doesn't take 10 seconds to type, like enigma::instance_event_iterator