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

#3181
Hi,

yes I agree and I will change stuff once I get fully conversant with Software and Frame-rates.

I will include new ones as they are prepared.

Meanwhile the game is coming on nicely ;)



#3182
Hi,

As per last post.

Is there any real harm using this code as it seems to work fine for each item?

Using normal text gui.

Tweak X according to string length of Item Display.

Example of Looking at an Inventory Item:
Code: ags

DisplayAt (mouse.x-320, mouse.y, 320, "The severed finger, you deduce, came from a grave robbers' hand very recently. You could tell it was a grave robbers' finger because it had a very dirty fingernail along with an expensive gold ring. No gentleman would have such dirty finger nails.");





#3183
Desecration!

"A journey into madness, murder and the occult...."

A dark, investigative occult horror set in Victorian London 1875:

* What is the story behind desecrated graves at Arkem cemetery for the insane?
* Who is the Master?
* What is Satanica Demonica?
* Who stabbed Dolcet Brown 100 times?
* Visit an Opium den and a whore house.
* Search an old sewer system.
* Why were you abducted?
* Alone with a purple orchid scorpion!
* How did a 9-fingered man vanish in a dead-end alley?
* Meet Soapy a vagrant.
  and much much more......

Prepare for a ride of unspeakable horrors as you set about finding out the truth...what lays behind the desecrated graves?

* New Dialog and Location Image-options system.
* New Inventory Display system.

*** Contains scenes of a distressing nature.

* New Slideshow (14/03/14):
[embed=700,450]http://youtu.be/dqfq_IlQQgc[/embed]







800 X 600
16 Color

Voices and testers always wanted....

#3184
Hi

Can anyone refer a rain / snow type plugin / module compatible with 800 x 600 resolution and is fairly easy to implement?

cheers
#3185
Hi Khris,

many thanks for your help.

Your code works up to a point:

The dialog does not actually line up adjacent to the inventory item as much as I would like plus the further down the inventory items you go the more it is out of line.

Item H= 52
Item W= 63

QuoteThis will basically "round down" the mouse's y coordinate to the top of the item.
Middle would be preferred. I have tried setting y +  -  to get around it.

I have:

Code: ags

  int GetItemY() {
  InvWindow *invWin = InventoryWindow3;  
  int invWindowY = invWin.Y + invWin.OwningGUI.Y;
  return (mouse.y - invWindowY) % invWin.ItemHeight + invWindowY;
}


Code: ags

 DisplayAt(440, GetItemY(),280, "The blood oozing finger must belong to a grave robber.");




#3186
Snarky,

all I am trying to do is have text displayed (could use normal textgui) to display adjacent to inventory item wherever it is positioned in the inventory item whenever it is looked at.

I will continue...
#3187
Hi,

I am trying to have a custom gui with a label display at a location relating to which inventory item is looked at.

The inventory is only 1 column and is vertically positioned at 710.

The usual code I have does not seem to like this situation: type mismatch, can't convert to int.

Example: Looking at ifinger in the inventory, the display gui will position itself adjacent to ifinger and then become visible with the correct text on the label.

Maybe there is a better way?

Would you help please?

#3188
Hints & Tips / Re: DSM: Are we alone?
Sat 18/01/2014 11:19:35
Hi

from CaptainD
Spoiler
The sulphur I believe is in something in your permanent inventory.
[close]

Spoiler
It's actually salt.
[close]

Hope you manage to fix your rocket and go on to complete the game Stupot+ ;)

#3189
Cheers  Dualnames

The reason I have a variable is to turn sound Splash_Laugh on only if boolean is true as it is in Rep Exec.

I will look into what you have put ;)

Thanks
#3190
Hi,

I have made a bool scream_play and put it at the top of the Global and have it as false.

In Global repeatedly_execute()

Code: ags

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


This works fine but it does not seem to take  || as well as bool when adding other Buttons in the equation.

What I am trying to do is add if Button17, Button18 or Button19 as well as Button16.

Would you give me a hand please?

cheers

EDIT I am having to use this at the moment:
Code: ags

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



#3191
The general format these days is png and jpg should be avoided.
#3192
Hi,

if you mess around too much without knowing what you are doing you can mess things up big time.

Usually if you can't click on an inventory item(s) try adjusting the Inventory window ItemHeight and ItemWidth in the inv window properties.

This usually cures the issue (eventually).

In your case I don't know....




#3193
Hi,
QuoteIt gives me this error: Undefined token 'oPorta2ap'
That's because you have to use the Object's ID not the NAME you have given it when using it in Global / Dialogs.
Code: ags

object[1].Visible = true; // Simply amend object number to what oPorta2ap is.



#3194
  Deep Space Mission: are we alone?

Awards 2013: I wish to enter DSM for your consideration.

A space adventure game based around space, strange planets, danger and loneliness..

Dare you slip into the spacesuit of NASA astronaut John Dibble and find the answer to the burning question: "Are we alone?"













Download Deep Space Mission Game Here

slasher



#3195
Perfect.

Thank you so much Khris ;)

#3196
Hi,

I am using a lot of return old mouse mode from arrow pointer for my gui's, except Inventory.

The one area that I think could do with a brush up is returning old mouse mode once an inventory is used and becomes null. At the moment the mode always returns to WalkTo. I would much prefer mode to return to Hand interact after it becomes null.

Could you assist please?

Thank you



#3197
Hints & Tips / Re: DSM: Are we alone?
Sun 29/12/2013 06:35:57
Hi,

The alien spacecraft board puzzle:

QuoteThe only way to measure distances would be to compare the space coordinates correct?
You are looking at it the wrong way. You only need to workout the distances on the board map that you see.
spoiler:
Spoiler

B: Blue to yellow = 16 light years - A: Blue to Green= B-6 == 10 light years - C: Blue to Red =  A * 2 =20 light years
[close]
Planet K955: I'd already thought of that, but couldn't interact with the washing line at all.

QuoteI hovered all over the place, in case the peg was really small.. but no dice.
Your first interaction with the washing line should give you a response about NOT pinching washing.

spoiler:
Spoiler

You can grab a peg once you have tried the drinking contest. Look at what you 'Say' just before you fall down in the bar.
[close]
Planet ZB59:
QuoteStuck on the next puzzle/part (getting thru the glass).
spoiler:
Spoiler

To get the power source from the pyramid glass dome you need to use 1 of 2 inventory items which you will have needed to get from different planets,
[close]

Hope this helps and that you fix your rocket for your journey to Kepler ;)

slasher

#3198
At first glance:

Code: ags

function hLampb_Look()
{
 cRachel.Walk(80, 170, eBlock, eWalkableAreas; // You do not have a closing bracket )
 cRachel.FaceLocation(80, 64);
 cRachel.Say("It's my big lamp. Can you believe this place came without a light?");
}


#3199
Hints & Tips / Re: DSM: Are we alone?
Fri 27/12/2013 10:26:20
Hi  Uziel

Glad you are enjoying this game and hope you manage to complete the first stage by fixing your rocket ;)

Planet KT2:
Spoiler:
Spoiler

You need to work out Planets A, B and C distances from Blue Planet that relate to each coloured slider and move sliders to coloured answer numbers. IE Red Planet (C) states A*2 (A -6 from B =10)) therefore C = 20 (Red slider=20)
[close]

Planet K955:
Spoiler:
Spoiler
You need something to peg on your nose as well as antacid.
[close]

Planet ZB59:
Spoiler:
Spoiler
The pyramid puzzle works on the laws of magnetism: IE Like poles attract, unlike poles.....
[close]

Planet PZ3:
Spoiler:
Spoiler
Use an everyday substance that melts ice. Can get from the junk shop.
[close]

Planet PB11:
Spoiler:
Spoiler
You know you need the ice pick.
[close]

#3200
The Rumpus Room / Have a Merry Christmas
Tue 24/12/2013 10:23:54
To all those that celebrate Christmas:

*****Have a Merry Christmas*****

Here's to a bumper new year that hopefully will be filled with new bumper ags games ;)

slasher
SMF spam blocked by CleanTalk