The Jimi Hendrix Case
Enter the world of Jimi Hendrix, police detective. In a world where everyone is Jimi Hendrix, only Jimi Hendrix can piece together clues and find who killed Jimi Hendrix.
Created for MAGS July, 2015.



>> Download here <<
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 Menuint myArray[ ];
myArray = Shuffler.Sequence(10);
String GetCardName(int index)
{
String suit;
String face;
int value;
value = index / 13;
if(value == 0)
suit = "spades";
else
if(value == 1)
suit = "hearts";
else
if(value == 2)
suit = "diamonds";
else
suit = "clubs";
value = index % 13;
if(value == 0)
face = "ace";
else
if(value == 10)
face = "jack";
else
if(value == 11)
face = "queen";
else
if(value == 12)
face = "king";
else
face = String.Format("%d", value + 2);
return(String.Format("The %s of %s", face, suit));
}
function DrawDeck()
{
int list[ ];
int index;
String output;
list = Shuffler.Sequence(52);
output = GetCardName(list[0] + 1);
for(index = 1; index < 52; index++)
{
output = output.Append("[");
output = output.Append(GetCardName(list[index] + 1));
}
Display(output);
return;
}
// Ensure alpha blending is set to "Proper Alpha Blending" under settings
DynamicSprite *sprite;
function room_AfterFadeIn()
{
sprite = DynamicSprite.CreateFromScreenShot(); // This should be a screenshot of the room
Button1.NormalGraphic = sprite.Graphic; // Button1 is a button on gGui1
gGui1.Visible = true;
}
if(aChannelPhoneRing != null && aChannelPhoneRing.IsPlaying)
{
aChannelPhoneRing.Stop(); // Stop the phone ring sound from playing
oPhone.StopAnimating();
oPhone.Graphic = 831;
}
cShelly.Say("Hello?");
cAubrey.Say("Hello.");
Quest.Mark(qBaggage, 1);
function Mark(static Quest, QuestType quest, int value)
{
if(!Quest.HasPoint(quest, value))
{
Quest.SetPoint(quest, value);
Title.Announce(quest);
aPlotPoint.Play(); // Play the awarded one point sound
}
return;
}
Dialog.StartConversation(); // Special method to see if the overlay is visible and fade it out.
cShelly.Say("Good morning, how are you today?");
cJeanette.Say("Grumpy as always.");
cShelly.Say("Gosh!");
SetGameOption(OPT_PORTRAITPOSITION, 0);
cEgo.Say("Test left");
SetGameOption(OPT_PORTRAITPOSITION, 1);
cEgo.Say("Test right");
if (bwidth < 0)
bwidth = scrnwid/2 + scrnwid/4;
if (bwidth < 0)
bwidth = scrnwid;
lblStatus.Text = String.Format("Player: (%d, %d) Mouse: (%d, %d)", player.x, player.y, mouse.x, mouse.y);
This is an early version of AGS 3.3.1. Use at your own risk. Please back up any games before opening them in this version of AGS. New settings in this version may make your project files unusable in 3.3.0 after saving with this version. |
for([initialisation];[condition];[increment])
{
[loop body]
}
for(player.x = 0; player.x < 100; player.x++)
Wait(1);
i = length - 1;
while(i >= 0)
{
if(page[i] == target)
break;
i--;
}
for(x = 0; x < 100; x++)
{
if(x % 2 == 0)
continue;
Display("%d", x);
}
x = 1;
do
{
x++;
Display("%d", x);
} while(x < 1);
struct DieRoll
{
int BaseModifier;
int DieCount;
int Dice[ ];
import function GetTotalValueOfRoll();
};
function PrepareDice()
{
DieRoll a;
a.DieCount = 3;
a.Dice = new int[a.DieCount];
a.Dice[0] = 6; // d6
a.Dice[1] = 6; // d6
a.Dice[2] = 8; // d8
...
}
managed struct Point
{
int X;
int Y;
};
Point *GetPosition()
{
Point *result;
result = new Point;
result.X = 30;
result.Y = 40;
return result;
}
#define RED GREEN
#define BLUE 456
#define GREEN BLUE
Display("%d", RED); // Prints 456
#undef BLUE
#define BLUE 123
Display("%d", RED); // Prints 123
function AbsInt(static Maths, int value)
{
if(value < 0)
value = 0 - value;
return(value);
}
import function AbsInt(static Maths, int value);
int x = Maths.AbsInt(-3);
Character.ChangeRoom(int room, optional int x, optional int y, optional CharacterDirection direction)
Game.AudioClipCount
Game.AudioClips[n]
Game.IsPluginLoaded(const string name)
game.dialog_options_highlight_color = xxx;
#region MyRegion
do stuff;
do stuff;
do stuff;
#endregion MyRegion
Display("Keycode: %d", keycode);
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.063 seconds with 15 queries.