Jump to content


d.man

Member Since 05 Dec 2008
Offline Last Active May 19 2009 07:29 PM

Topics I've Started

Gang Garrison

27 March 2009 - 12:34 PM

Has anyone played this great Team Fortress 2 remake, made with GM?

http://www.ganggarrison.com/

It's really cool remake, true to original game, with nice pixel graphics, maps, multiplayer and other awesome stuff.

edit: also has source included :(

Quark

31 January 2009 - 10:34 AM

Posted Image

Posted Image
^click to enlarge^

Download Link

video 1 (oldie)|video 2

Read 'quark source code.txt' for more info
enjoy messing around with it and post your comments (if you have any).


edit link updated.

--quark-- Platforming Action! (zip)

01 January 2009 - 05:12 PM

Posted Image

NEW VERSION! (check included readme for more info)
Posted Image
^click to enlarge^

Posted Image
video 1 (oldie)|video 2

also check blog for regular updates!


Very Strange Sprite Changing Problem

18 December 2008 - 01:54 PM

So I have this enemy which has a simple path-it moves left and right. And when you kill it, new instance appears (dying enemy), which gets direction from live one (just check the code below if you lost me) and changes to corresponding sprite.

So I have alive enemy who dies:

enemy destroy event:

iii=instance_create(x,y,OBlguard_dies);
iii.direction=direction;

creation event for OBlguard_dies:
if direction==180
{
  sprite_index=SPRlguard_d_left;
  image_speed=0.2;
  image_index=0;
}
else
{
  sprite_index=SPRlguard_d_right;
  image_speed=0.2;
  image_index=0;
}

Now what happens every single time that my dying guard gets SPRlguard_d_right, EVEN if it's turned left (180 direction)! So I went and ran a debug mode, added both live and dead guard, and there was everything as it should be. Guard moving left (180) died, gave its direction to newly created dying guard, BUT it still got SPRlguard_d_right instead of SPRlguard_d_left.

So I thought maybe I did something wrong with the sprite, but sprite is okay, facing left as it should be. So I really don't know what to do :P ;)