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

Topics - Privateer Puddin'

#1
 Hi,

I have a GUI of 9 buttons that may overlap. Their size is based on sprites representing a list box item/ saved game name:



but of course, in terms of buttons, that'd look like something like this:



I have this code from Feria for checking on an individual button (provided it's on top in zorder) whether you're clicking text or a transparent part

Code: ags
bool MouseOverPixelPerfect(this Button*)
{
  // Calculate mouse coordinates relative to button sprite canvas 
  int x = mouse.x - this.X - this.OwningGUI.X;
  int y = mouse.y - this.Y - this.OwningGUI.Y;
  // Get the color on button sprite canvas at mouse cursor pixel
  DynamicSprite* buttonMask = DynamicSprite.CreateFromExistingSprite(this.NormalGraphic, false);
  DrawingSurface* maskSurface = buttonMask.GetDrawingSurface();
  int pixelColor = maskSurface.GetPixel(x,y);
  maskSurface.Release();
  buttonMask.Delete();
 
  if (pixelColor == COLOR_TRANSPARENT) // if this doesn't work then try your harcoded number, 63519
  {
      
      Display("Transparent");
      return false;
  }
    Display("Not transparent");
    return true;
}


but then I'm not sure how to go about checking when it's transparent to go to the next button and do a check there. I tried bringing the next button ID to front and repeating that check, but wasn't working.

Code: ags
if(pixelColor == COLOR_TRANSPARENT) // if this doesn't work then try your harcoded number, 63519
  {
      
      Display("Transparent on the first layer..");
      gGui1.Controls[this.ID+1].AsButton.BringToFront();   // bring the next Button to the front...
      DynamicSprite* buttonMask2 = DynamicSprite.CreateFromExistingSprite(gGui1.Controls[this.ID+1].AsButton.NormalGraphic, false);
      Display("%d",gGui1.Controls[this.ID+1].AsButton.NormalGraphic);
      DrawingSurface* maskSurface2 = buttonMask2.GetDrawingSurface();
      int pixelColor2 = maskSurface2.GetPixel(x,y);
      maskSurface2.Release();
      buttonMask2.Delete();
      Display("%d",pixelColor2);
        if(pixelColor2 == COLOR_TRANSPARENT) // if this doesn't work then try your harcoded number, 63519
        {
            Display("I am transparent on the second layer");
            

        } else {
      
            //Text found, do whatever
          
        }
   
  }


Thanks!
#2
Trailer:
https://www.youtube.com/watch?v=IgP4grIqiHA

Story:

Help Molly achieve her dream of entering the legendary Feria d'Arles - France's greatest bullfighting competition. Meet, betray, and generally become a nuisance to a host of characters. Point and click your way around the French city of Arles, famous for:


  • bull fighting
  • being difficult to pronounce
  • being where Van Gogh cut his ear off (and painted some masterpieces, I guess.)

With glorious pixel-art animation and quirky puzzles, this is a small game about a girl with big dreams.

Price: $3.99

Steam: https://store.steampowered.com/app/1181570/Feria_dArles/

Itch: https://tomsimpson.itch.io/feria-darles

Screenshots:


#3
Adventure Related Talk & Chat / AGS Games club
Wed 24/07/2019 08:26:24
Hey, would anyone be interested in doing an AGS games club? Every week (or month or whatever), we'll pick a game, go away and play it and then come back and discuss.

In:

Puddin'
Stupot
notarobotyet
Mandle
vga256
Kastchey
selmiak
#4
Download here: https://tomsimpson.itch.io/the-secret-of-hutton-vga



Uncover the secrets of a mysterious cult in The Secret of Hutton Church of England Grammar School: VGA Edition!





This is a modern 90's remake of the much beloved AGI classic*, The Secret of Hutton Church of England Grammar School: AGI Edition!

Story:
After a night of rigorous cleaning, you discover a mysterious cult has been operating at the school. After 25 years of cleaning up rubbish, you're about to come across a whole bunch of trouble.

Now featuring:

  • Beautiful 320x180 VGA graphics!
  • Point and Click interface!
  • Music! Voice acting!

Credits:
Created and designed by Tom Simpson
Background art by Nathan Hamley
Character art and animation by Nathan Hamley
Banner art by Juanga Jaén
Music by Petteri Aartolahti
Voice acting by Edwyn Tiong

Download here: https://tomsimpson.itch.io/the-secret-of-hutton-vga
#5
Hi,

I have a bookcase where I want to display a 'different' (random from a short list) label for each book. Rather than drawing out multiple hotspots / gui labels etc, is there a way to generate a 'grid' over the graphics and then show a different piece of text when the mouse moves from one cell/book to another?



Thanks!

#6
Return of the Obra Dinn is a murder mystery detective game set on a ship called the Obra Dinn. It's by Lucas Pope who you might recognise from Papers, Please.

It's fantastic. Go and play it!

https://store.steampowered.com/app/653530/Return_of_the_Obra_Dinn/
https://www.gog.com/game/return_of_the_obra_dinn



https://youtu.be/ILolesm8kFY
#7
AdventureJam 2018 has been running in the last couple of weeks, and the games are now out! Thought it might be good to have a place to discuss stuff.

There are a bunch of AGS people / games involved too!



Maybe more that I've missed?

There are 67 games in total to play! http://jams.gamejolt.io/advjam2018/games



#8
General Discussion / AGSers of Tokyo
Sat 28/04/2018 11:19:07
Hello! I'll soon be visiting Tokyo on a business trip, and wanted to see if anyone living in or near Tokyo want to hang out, play tour guide, do whatever

I'll likely be in Tokyo from Monday 14th - Sunday 20th May, so would have a couple free nights during the week, or all of Saturday

OR if you just have suggestions on stuff to do!

Last time (my first time in Tokyo/Japan) was a much shorter trip, and all I did of note was go to SensŠ-ji and Akihabara
#9
Hello,

I have a custom inventory GUI where I am using buttons for each item. On each button is an image, such as:



The issue being when I click

Code: ags
GUI.ProcessClick(mouse.x, mouse.y, eModeInteract);


or mouse over

Code: ags
(GUIControl.GetAtScreenXY(mouse.x, mouse.y);)


it takes into account the whole button, including the grey transparent area (unless I have another button on top z order wise)

Is there a way to ignore the transparent pixels?

I did search the forums and came across a couple of suggestions and wanted to know if these would be the route to go down, or if there's something better?

http://www.adventuregamestudio.co.uk/forums/index.php?topic=28882.msg367578#msg367578

http://www.adventuregamestudio.co.uk/forums/index.php?topic=44095.msg587336#msg587336 - I guess this one only works if the graphic is a certain shape

Thanks!
#10
Hello! Would it be possible to make some small* updates to the AGS homepage? Should we?

http://www.adventuregamestudio.co.uk/

Update this image?


Remove the Recent News section
This hasn't been updated since 2014.


Thoughts?


*maybe, I don't know.
#11
Recruitment / Feria d'Arles - Musician
Fri 16/02/2018 13:50:18
Project:
Feria d'Arles - Game in Production thread here



Details:
Arles (a city in the south of France) is home to the Arènes d'Arles, a Roman amphitheatre. Over the centuries, the arena has hosted chariot races and bloody hand-to-hand battles. Today, it draws large crowds for bullfighting during the Feria d'Arles. Join our hero Molly as she seeks entrance into the famous bullfighting tournament.

Positions Available:
Musician: I'm looking for some cheerful adventure game music with a french touch to it. I would think there would be about 6-10 pieces needed. This can be a paid position.



Testers: I'm looking for 1 or 2 testers for an early version of the game. The game is playable from start to finish but I'd love to get some feedback. While knowing all the bugs is great (and I'm sure there's plenty), I'd really like to get some idea if the puzzles make sense, if there's enough signposting etc. right now. I have plenty of testers now!

Deadline:
I'm looking to have the game finished sometime this summer!

Comments:
Interested parties can reply to this thread or contact me via PM or email me at simpo87 [at] gmail.com
#12
AGS Games in Production / Feria d'Arles
Thu 15/02/2018 14:33:44




Coming Soonâ,,¢


Only made possible thanks to:
Particularly pretty painting by Jen Pattison
Particularly pretty pixels by Matt Frith
#13
General Discussion / Drones
Mon 20/11/2017 00:24:05
Anyone else here fly drones? I have a couple of DJI ones.

My favourite spot I've been to was in northern Italy, Calalzo di Cadore.



https://www.youtube.com/watch?v=U9trUnUFJ9w

Then ofcourse a little bit of Iceland from Mittens

https://www.youtube.com/watch?v=dmwx1WJpcAQ

and even the village I'm from in the UK not looking too shabby



Share 'em if you got 'em!
#14
Hey guys,

I'm  making a little AGI style game in AGS called Comfort Quest (based on an inflatable mattress purchased at Mittens 05, how's that for timely references?)

I've tried a number of AGS Plug-ins/modules over the years, trying to recreate the feel of the Police Quest 1 style driving, but never really got close to nailing it down.

So, can you? I'm using what is probably by now a fairly archaic version of AGS which I hope doesn't complicate things too much (I think it's 3.1.2 or something snazzy along those lines) but if you think you're the man (or woman) to program it, I'm looking for you!

Positions:
Programmer! Someone who can make PQ1 style driving, hopefully in a way which is easy for me to add extra maps/screens to

Deadline:
This year!

Here are some screenshots!









Comments:
Interested parties can reply to this thread or contact me via PM.

#15
That's right! New York, New York. The city so nice, they named it twice. Manhattan is the other name.

Work are sending me off to New Jersey next month. But, fear not! I plan to stay in New York for 3 nights.

Can anyone recommend a good place to find a hotel, something not too expensive but in a newbie tourist friendly location. I have no idea. Does anyone want to have an impromptu ags meet?

Love,
Tom
#16
Hello Critics Lounge! Long time no see.

I've been trying to put together a background for a while and can't get it right.

Here's the brief: 3 rooms, 1 large room and 2 smaller rooms, for the interior of this bungalow



Here are some rough attempts!



This is the general idea, 3 rooms, the second smaller room can't be accessed by the large room, but instead by going over the top (see below)



Kinda like the idea of a small attic space replacing the second room, but not really sure about doing it above the perspective point.



Vents like this look out of place, but this kind of thing, where the player crawls between the two rooms.

I think a mix between the second and third attempt, with a small crawl able space between the room's ceiling and the roof, would be ideal? Problem is it gets quite wide and so the two smaller rooms look quite odd, not being able to see much of the back wall?
#17
The Secret of Hutton Church of England Grammar School: Special, not made in 5 days, Edition!

Featuring new and improved graphics, animation, music and a lot of fixes!

Screenshots





Download: http://www.adventuregamestudio.co.uk/games.php?action=detail&id=1305

Thanks to everyone who helped me finally finish this.
#18
Hello!

Last week, I took part in the very first University of Portsmouth Game Jam competition, where staff and students from the University of Portsmouth were challenged to make a game in five days.


Everyone who took part, plus organisers and judges, in our snazzy t-shirts!

The Secret of Hutton Church of England Grammar School is an AGI style adventure game.





On the first day, we were given three random wikipedia articles to choose from, we picked: http://en.wikipedia.org/wiki/Hutton_Grammar_School

The team consisted of myself and another student who had never touched AGS before. Since it was developed on a short time scale, beware of bad dialogue and spelling, bugs and other delights! Still, it's playable to the end! At some point, I plan to go back and tidy it up, add more animations etc in a special, not made in 5 days, edition.

Good luck and I hope someone out there enjoys it! :D

Download Here!
#19
Hello fellow AGSers, next week I'll be taking part in a 'One Game, One Week' game jam thingy at my university and thought I'd get any handy tips from anyone who has made an adventure game in a short time.

We'll be given three random wikipedia articles from which we'll pick one to make the game from so not going to do anything in advance, other than having AGS ready to go :D

GO!
#20
Hello, I am making an AGI style game and would very much like to have Police Quest 1 style driving. Most of it is no problem, until I get to other cars. I'm not entirely sure on the best way to do them. I would like them randomly moving about, while following certain rules, such as staying on the correct side of the road, stopping at lights etc.

I've tried in the past doing it myself (making 'routes' using character control module, just giving random coordinates in a loop and having no collision and so on) but would like this time to get something as close to PQ1 as possible.

Any suggestions or pointing me in the direction of a module or something that would help would be greatly appreciated.
SMF spam blocked by CleanTalk