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

#701
Does it fix it? Or somehow does a more complicated thing?
#702
Code: AGS

function DatAGS(int image)
{
  int x,y;
  sprite= DynamicSprite.CreateFromExistingSprite(image);//this is declared on the top of the module
  DrawingSurface*dest = sprite.GetDrawingSurface();  
  dest.DrawImage(x, y, image, 0);//i don't mind x and y being 0,0 for now it works
  
 
  dest.DrawImage(x, y, image, 90);
  dest.DrawImage(x, y+10, image, 90);
  dest.DrawImage(x, y-10, image, 90);
   
  
  dest.Release();
  object[0].Graphic=sprite.Graphic;


GG WP EASY NOOBS AGS. Basically, AGS draws this with pink sprites. God knows why. I take a goddamn sam picture and it draws it with pink sprites.
AGS 3.2.11 March.
32 bit game.

I tried a different image but where it's supposed to be empty/transparent, instead it draws pink artifacts 1x1 pixel. The image is drawn well if i don't change the transparency. And it shows okay on an object, but no, when i do DrawImage it hates me.
#703
Code: ags

  if (  (Button.GetAtScreenXY(mouse.x, mouse.y) == Button16 ||  Button.GetAtScreenXY(mouse.x, mouse.y) == Button17||  Button.GetAtScreenXY(mouse.x, mouse.y) == Button18||  Button.GetAtScreenXY(mouse.x, mouse.y) == Button19)   &&  scream_play==false) {
  scream_play=true;
  if(scream_play==true){
  aSplash_Laugh.Play();
  scream_play=false;
}


However the way you use scream_play variable here, it seems apparent that you don't need the variable. The code below would work in the same way.

Code: ags

  if (  (Button.GetAtScreenXY(mouse.x, mouse.y) == Button16 ||  Button.GetAtScreenXY(mouse.x, mouse.y) == Button17||  Button.GetAtScreenXY(mouse.x, mouse.y) == Button18||  Button.GetAtScreenXY(mouse.x, mouse.y) == Button19)) 
{
  aSplash_Laugh.Play();
}
}


and you could also make the code easier to read
Code: ags

GUIControl *gui_control= GUIControl.GetAtScreenXY(mouse.x, mouse.y);
  if (  (gui_control == Button16 ||  gui_control == Button17||  gui_control== Button18|| gui_control == Button19)) 
{
  aSplash_Laugh.Play();
}
}
#704
Instances of how good the tween module and the black gui can be, can be appreciated in both Primordia and Dakota.
#705
Congratulations to Peder and Avatismus!! And thanks to whoever voted for Dakota. I didn't vote. :PP
#706
I've updated the module, so now it works in all resolutions, in my side of things the fps are 40 aka standard.
#707
Use the noloopcheck on the initializenoise function, I've only tested on 320x200.
#708
Agreed, but arguably I can't say I wanted to bother with fixing this more than I did. It could end up being less of a mess, but I can't say I wanted to bother really.
#709
Edited the int speed to noise_speed, as it appears to be clashing with a global variable, you have named, re-download and re-import.
#710
Modules, Plugins & Tools / MODULE: Noisefilter
Tue 14/01/2014 20:31:51
NOISE FILTER MODULE

Basically, if you ever wanted to have a wonderful noise filter present in games such as Dakota, Wretcher, McCarthy Chronicles, and every ags game that's worth something, you now, can.
Plus it's all created inside AGS, so no need for adding images, no sir. This is handled entirely with this petty engine.

Anyhoo, download link. Import the module, using one line, have fun.

http://duals.agser.me/Modules/Noisefilter.zip

Example:
Code: ags
function Noise(bool enabled, GUI*noise_ui, int speed);


enabled: set true or false to enable or disable the effect/UI
noise_ui: assign a ui to the noise effect. Set the ui to clickable=false and transparency close to 90, for better effect.
speed: Animation delay between the noise frames.

Code: ags
Noise(true, gNoise, 4); // Place this whenever, and it will enable the ui.




LICENSE:
Basically, credit me somewhere if you want and send me a copy of your game (if commercial)
#711
Alan Moore supposedly on Rorschach

Alan Moore:' "You know back then the guys running DC comics, didn't want any bad reputation by implementing actual superheroes to the grim storyline of Watchmen. I hadn't even written Rorsach's character back then, and if I had, I would have made the Watchmen very differently, and it's to wonder, concerning its cultural impact. Thus, forcefully in their own subtle way, I felt I had to oblige - everyone in this business knows how those no-good-for-nothings are. The sun gracefully rises, encircling their sedan, they put on their fancy suits, grab their confidence-filled suitcases and go to work, but have they ever?

At some point within a month, I was a bit abandoning the whole idea behind what was to be Watchmen, I pondered a lot on the element of a batshit crazy Batman. A vigilante hiding behind a mask, slowly being entranced by this persona, HE has created, to create a second, more fulfilling life, where he can be a judge and a false carrier of justice. A wicked executioner."
#712
You have done a small mistake. Here's the correct line. You missed the eTypewriterDisplay parameter.
Code: AGS

Typewriter.Type (5, 185, 3, 65535, eFontNormal, "Write your text here[[AND WATCH IT TYPE ITSELF", eTypewriter_ShortSpace, eTypewriterDisplay_Overlay, aPop);
#713
I realized the games I've played the most, I didn;t bother to rate. So I went and rated several of them. Funniest part is that 1 out of 2 games I've rated reached 5 votes.
#714
The Rumpus Room / Re: Happy Birthday Thread!
Sat 11/01/2014 04:04:22
You guys :DDDDDDDDDDDDD

Thankies!
#715
The backgrounds are combining and editing tiles, so they're original per se. Basically I've made several games editing pictures, so that's basically the art style here as well. If you want i can make a list of where and how everything was created.
#717
Look guys, I forgot about the rule, and when I did remember it took much time to repaint, and they still look like the originals. Basically, I didn't make the game to win, I made the game because i felt so inspired to do so after watching Planet Terror. Thanks for the kind words.

@Atelier, if you want you may take down the entry, I don't mind at all. It's all in good faith, Peder and Avatismus worked hard on their entry, and deserve to win regardless of whether I'm participating or not.
#718
Yeah, they are ripped, besides the drug addict that I didn't draw on, the rest were drawn on, so yeah, whatever you guys want to do. In my defense I didn't have the time to draw on them as much as I wanted, so if you feel like it I may withdraw the game from the competition.
#720
Perhaps very irrelevant to state, but reading interviews won't get you nowhere someone's psychosynthesis and persona. I knew Ponch before it, and I believe the best way to meet someone in the AGS community is via private message and working together on games. If anything those interviews hightlight members not their personalities.
SMF spam blocked by CleanTalk