Menu

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.

Show posts Menu

Messages - Scavenger

#21
Quote from: man n fist on Wed 06/03/2019 01:20:55
Elon's opinions are pretty simple, but you can tell he's formed them after a lot of thought.

I'm not sure how much thought went into "The solution to public transport is a single file proprietary car tube filled with explosive batteries", though.
#22
Wait a minute, I think I've done a similar effect in Terror of the Vampire. You don't even need to use PutPixel, because DrawCircle and CopyTransparencyMask are much, much faster. It ends up looking like this:
(It's at 2:25)

Basically, you draw two circles over each other (one to draw the ring, the other to cut out the middle), take a screenshot of the current screen, and cut it out with the mask. Then you blit that translucently to the screen with maybe just 1 pixel of random jitter to throw everything off, and the next frame, before you even remove the first bit, you take another screenshot and do the same thing. It's crude, but it's FAST. Also I'm really regretting not commenting all my code, but this was for a MAGS game so I didn't have much time to document it.
Code: AGS


// new module script
DynamicSprite *echosprite;
DynamicSprite *echosprite2;
DynamicSprite *echomask;
int angle = 1;
int echoX;
int echoY;
int echotimer=0;
bool doEcho = false;
int size;

static function VFX::EchoAt (int x, int y,int radius)
{
  echoX = x;
  echoY = y;
  echotimer = 0;
  doEcho = true;
  size = radius*2;
  echosprite = DynamicSprite.Create (radius*2, radius*2);
  echosprite2 = DynamicSprite.CreateFromExistingSprite (echosprite.Graphic);
  sldEcho.Min = 0;
  sldEcho.Max = radius;
  sldEcho.Value = 0;
  sldEcho.TweenValue (1.0, radius, eEaseLinearTween, eNoBlockTween);
  sldEcho2.Min = 0;
  sldEcho2.Max = radius;
  sldEcho2.Value = 0;
  sldEcho2.TweenValue (1.2, radius, eEaseInOutSineTween, eNoBlockTween);
}

function MakeEcho ()
{
  if (echotimer < size && doEcho)
  {
  echomask = DynamicSprite.Create (size, size);
  DrawingSurface *surf = echomask.GetDrawingSurface ();
  surf.DrawingColor = 15;
  surf.DrawCircle (size/2, size/2, sldEcho.Value);
  surf.DrawingColor = 0;
  surf.DrawCircle (size/2, size/2, sldEcho2.Value);
  surf.Release ();
  echosprite2 = DynamicSprite.CreateFromExistingSprite (echosprite.Graphic);
  echosprite = DynamicSprite.CreateFromScreenShot (320, 200);
  int newX = echoX-(size/2);
  int w=newX+size;
  int underflowX;
  int overflowX;
  int newY = echoY-(size/2);
  int h = newY+size;
  int underflowY;
  int overflowY;
  if (newX < 0)
  {
    underflowX =  newX * (-1);
    newX = 0;
  }
  if (newX+size > 320)
  {
    overflowX = (newX+size-320);
    w = 320-overflowX;
  }
  {
    
  }
   if (newY < 0)
  {
    underflowY =  newY * (-1);
    newY = 0;
  }
  if (newY+size > 200)
  {
    overflowY = (newY+size-200);
    h = 200-overflowY;
  }
  if (w+newX > echosprite.Width) 
  {
    newX = 0;
    w = echosprite.Width;
  }
  if (h+newY > echosprite.Height)
  {
    newY = 0;
    h = echosprite.Height;
  }
  echosprite.Crop (newX, newY, w, h);
  echosprite.ChangeCanvasSize (size, size, overflowX-underflowX, overflowY-underflowY);
  echosprite.CopyTransparencyMask (echomask.Graphic);
  Translucence.CreateOverlay (80, echosprite.Graphic, 128, 2, echoX-(size/2)-1-Random(1), echoY-(size/2)+1-Random(1)); //You can replace this with drawing at 50% transparency.
  //Translucence.CreateOverlay (81, echomask.Graphic, 128-echotimer, 2, echoX-(size/2), echoY-size/2);
  echotimer = sldEcho.Value;
  }
  else 
  {
    echotimer = 0;
    echoX = 0;
    echoY = 0;
    doEcho = false;
    Translucence.DeleteOverlay (80);
    Translucence.DeleteOverlay (81);
  }
}
#23
General Discussion / Re: Twin Towers issue
Sat 19/01/2019 08:40:36
I mean there's literally a conspiracy theory that the twin towers were evaporated with a giant invisible laser that won't ever be replicated ever and was dismantled and hidden for some reason.

I'm not sure you can do a conspiracy theory with it that hasn't already been done. Best to avoid it, and stick to fictional events.
#24
Well, one thing I am noticing is that you don't get rid of the DynamicSprite before creating a new one, which will lead to memory leaks. Run this before creating a new sprite:

Code: AGS
if (MyDynamicSpriteForTheFakeGUI != null) MyDynamicSpriteForTheFakeGUI.Delete();


Also, in dialog_options_repexec, add:

Code: AGS
gFakeDialogOptions.Visible = false;


The after image is because you're not actually turning off the GUI before displaying the new dialog options, so it's still there underneath them.
#25
Honestly I think you have a good workflow to create a game without long development times already. You have a very efficient style (rotoscopy, I assume), voice actors, and a direction for your story to go in.

Watching the episode, it was funny but I found myself drifting off from it since it DID feel like a cutscene to an unfinished game. There's not enough going on for it to be interesting watching passively (People standing around talking on a static background isn't great for that - you may want to add in talking heads or some kind of cut to break up the monotony of it), but for an interlude between gameplay sections it would work fine.

The voting aspect seems... vestigial at best, and I'm not sure if it ties into the narrative or is just a way to get audience engagement.
#26
Thanks! I'll try and seed this as long as possible!
#27
I downloaded the torrent but unfortunately it's only 99.59% complete since there are no seeders.

I'm missing a few titles, and unless a seeder shows up, I'm not gonna be able to seed the entire thing.
#28
General Discussion / Re: Where`s m0ds?
Wed 10/10/2018 16:24:45
There's a lot of /pol/ rhetoric in there, sjws, professional victims, white knights, and now, bizarrely, calling real people NPCs, which is something that they're doing now because they love dehumanizing people. Come on, dude, it's super transparent language.

QuoteThe constant and persistent incubation of thought and expression here unless it's about love for 2D games or Winzip/Winrar (and that's on a good week) is frankly sickening to me at this point.

Can you give a few examples? You keep bringing up how people are suppressing dissenting thought without actually, you know, being specific. What exactly are the thoughts being suppressed here?
#29
Quote from: abstauber on Wed 10/10/2018 09:21:34
I made a JRPG proof of concept back in 2013. Unfortunately the guy I made this for never released the game. I never implemented a battle screen though, but Snarky did.
So yes - it's all possible, and it's fun doing it in AGS :)

I remember this! I put it in my game!





Unfortunately development stalled a lot since I wasn't yet prepared for a game of that scope.
#30
Quote from: Jack on Thu 04/10/2018 22:48:15
Have you ever considered that people can't deal with the realities of life any more because they are raised in a coddled bubble?

Sticks and stones.

Have you considered that you're an awful person who makes jokes about lgbt suicide? Have you considered that words have power, because humans are a social animal, and social ostracisation is a powerful tool used to destroy people?

Fuck the hell off with your "it's only words" shit, seriously, you're a horrible person who could have kept their mouth shut, but didn't.

As someone who has both survived and has had friends go through it, I can say with confidence that the world does not fucking coddle lgbt people. Imagine living in a society that constantly pushes you to the margins, for something that is as natural as who you love or what gender you are.

How dare you try to trivialise that, how dare you make jokes at the expense of lgbt people, reinforcing that ostracisation. And how dare you tell me that the world coddles me when you can't handle being told to not be a fucking dick.
#31
Quote from: Jack on Wed 19/09/2018 01:59:01
Quote from: TheFrighther on Thu 13/09/2018 11:32:54
I saw in the news that one of the bigger causes of suicides are tied to sexuality: trans or homosex people that not are well accepted by the society.

Yup, suicide is pretty gay.

That is an absolutely monstrous thing to joke about.
#32
General Discussion / Re: Where`s m0ds?
Thu 04/10/2018 05:36:24
Quote from: Snarky on Wed 03/10/2018 22:41:19
Those of you who were asking may find this post (and others in that thread) interesting: https://adventuregamers.com/forums/viewreply/151112/

Jesus Christ... I've seen those talking points and stock phrases before... m0ds has not gone to a good place.
#33
Quote from: Crimson Wizard on Fri 01/06/2018 10:14:58
TBH, I think it would be better to move rendering code to plugin, if you find a way to transfer drawing surface or bitmap pointer between script and plugin code.

Yeah, it's perfectly possible, you can edit a sprite like it was an array in the plugin code, which is how I do all my graphical effects. I'd do it myself if I could understand the code, which is a long way off yet. My C++ isn't good enough to handle it, unless there is a lot of overlap between the AGSScript and C.

Additionally, is it possible to reverse the projection, so that if I point at certain screen coords, I could find out which polygon is being rendered there? It doesn't have to be particularily fast, but it'd be useful in making a painting tool.
#34

Tested out one of my own models, it's exciting to see! Looks like you can safely render around 200 polys without getting much slowdown (this model's about 500). And there are some geometry errors I'm getting which I'll have to iron out myself. But so far: Promising!
#35
I've been trying this version out and whenever I open a new tab from the explore project thing, it opens one in the bottom left hand corner instead of the biggest window, and it's making working with this version a nightmare, especially because it never used to work like this in 3.2.1. I can't work on my game if I have to keep dragging the new tabs out instead of them just being there like they used to be forever. Am I doing something wrong here?

Spoiler
[close]
#36
Quote from: Crimson Wizard on Tue 10/04/2018 17:55:37
Dumb question, could you move the window around desktop and see if the changes will appear after that?
Actually, do you see any objects moving in your game when you run in software mode?
For example, my system does not update window contents in 8-bit and 16-bit games (either gfx driver or Windows problem), this is why I have to use a virtual machine with Windows XP to test or play them :(.

Wait, I've had that problem before, a long time ago, even on Windows 2000. A computer, freshly installed and without proper stuff, would not update the graphics screen unless it was moved around. There was SOMETHING I did to fix that. I may have installed a version of DirectX, or something... I wish I knew.
#37
General Discussion / Re: Trumpmageddon
Sat 07/10/2017 17:32:19
Honestly the fact that a president can't be impeached for gross incompetence alone is a bad sign. It seems the more power a position wields, the less accountability you have. If Trump was working at a minimum wage job and showed the same incompetence he'd be fired day one.
#38
General Discussion / Re: Trumpmageddon
Sat 07/10/2017 10:23:32
Quote from: manifest class on Sat 07/10/2017 05:38:57however, what equally scares me is if Trump gets forcibly removed from office because he's unpopular. You can't simply pluck a democratically elected leader away because you don't like them.

Actually, that is the function of democracy - democracy isn't "oh well, now we're stuck with an emperor for four years" after you vote. It's a constant, ongoing process. And if the leader isn't fit to lead, you replace them. Trump is unequivocally incompetent. Removing him would safeguard the safety of everyone AND uphold democracy. Especially since he's skirted with fascist policies multiple times.
#39
General Discussion / Re: Trumpmageddon
Sat 26/08/2017 01:50:17
Trump signs an order to ban trans people from serving in the military today, and then when asked about Hurricane Harvey, he said "Good luck everybody." and continued to go on his, what, fiftieth vacation instead of, you know, preparing for a massive disaster.

America sure is better under his rule, isn't it.
#40
General Discussion / Re: Trumpmageddon
Mon 21/08/2017 14:06:01
Quote from: Gurok on Mon 21/08/2017 13:58:10
OK, it sounds like you're projecting now. I didn't go looking for news articles to support an argument. I listed a few of the notable things I'd heard or read in the media recently, or that Trump himself tweeted about. I think it's actually YOU who started with an assumption that Trump is terrible and sought out any opinion piece you could find that downplayed the role of what I listed.

Um, it's not hard to find evidence that Trump is terrible, he only goes and does something awful every couple of days, and has done since... well... forever. I'm not sure how anyone could possibly justify not loathing him. It's not an assumption if his terrible nature is on display constantly. You'd have to completely ignore everything the man does to believe otherwise.
SMF spam blocked by CleanTalk