Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - Morgan LeFlay

Pages: [1] 2 3 ... 19
1
The Rumpus Room / Re: The Points Game
« on: 26 Oct 2017, 14:38 »
wooden

2
The Rumpus Room / Re: The Points Game
« on: 25 Oct 2017, 19:08 »
WOODEN

3
Pretty sure avi is just ahort for avatar, but Snarky has a point, maybe the file type isn't one supported. What is the URL of the image?

4
The Rumpus Room / Re: Name the Game
« on: 11 Sep 2017, 06:38 »
You got it.

5
The Rumpus Room / Re: Name the Game
« on: 11 Sep 2017, 00:52 »

7
Because your function is not inside braces. It goes like this:

Code: Adventure Game Studio
  1. function hSkilt_Look() {
  2.     if (hSkilt_Look == 0 ) Display ("blablabla"); (This is line 21)
  3.     if (hSkilt_Look == 1) player.Say ("Hello?");
  4. }

The braces tell the compiler what is part of the function.

Likewise your if statements are not technically wrong, but including them in braces makes your code more maintainable in case you want to add more statements as part of the if statement later.

Code: Adventure Game Studio
  1. if (hSkilt_Look == 0 ) {
  2.     Display ("blablabla");
  3. }
  4. if (hSkilt_Look == 1) {
  5.     player.Say ("Hello?");
  6. }

is better.


8
The Rumpus Room / Re: Name the Game
« on: 10 Sep 2017, 11:31 »
Stickybear Basketbounce?

9
No, that doesn't fix it.

10
Quote
Any click on hotspot
occurs when the player clicks on the hotspot in any cursor mode (except Walk). This allows you to add extra modes like smell, taste, push, pull, and so on. This event also occurs as well as the other event for the Look, Interact and Talk modes.


The reason it might work with "both mouse buttons" is because right clicking changes the cursor mode from walk to something else.

So you have 2 options... change your code so that something else (like interact) is the default cursor, OR you can use a code like:

if (mouse.IsButtonDown(eMouseLeft) && Hotspot.GetAtScreenXY(mouse.x, mouse.y) == hHotspot1)
{
  player.ChangeRoom(2);
}

which goes in repeatedly_execute function. A bit more code than that if you want it to detect new clicks and not only if the mouse button is down.

This is all assuming you're not having a character that walks around, because then you could use the walks on hotspot one.

11
The Rumpus Room / Re: The Points Game
« on: 10 Sep 2017, 04:40 »
Enwood

12
What is the code you are using to move between rooms now?

13
The Rumpus Room / Re: The Points Game
« on: 09 Sep 2017, 23:23 »
Woode

14
The Rumpus Room / Re: The Points Game
« on: 09 Sep 2017, 21:48 »
Wooden

15
The Rumpus Room / Re: The Points Game
« on: 09 Sep 2017, 21:08 »
Wood

16
For me, the mouse cursor changes back and forth no matter what input I use.
The difference is that the trackpad lags when that happens, sometimes recording input with a few seconds delay. And with my corded logitech mouse, it doesn't affect performance but the icon switching is still there.
I actually noticed this too but never reported it since it's not a deal-breaking issue but it would be nice if it got fixed.

17
Reality-on-the-Norm / Re: List of unplayable/buggy games
« on: 09 Sep 2017, 11:45 »
Added a fix for game 29 that only seemed to be affecting me. Thanks to Scorpiorus for helping me get the game working, and scotch for helping locate the old DOS engines.

18
The Rumpus Room / Re: The Points Game
« on: 09 Sep 2017, 00:59 »
Woo

19
The Rumpus Room / Re: The Points Game
« on: 09 Sep 2017, 00:30 »
Wo

20
The Rumpus Room / Re: The Points Game
« on: 08 Sep 2017, 20:32 »
W

Pages: [1] 2 3 ... 19