31
Mega Tokyo AGI Archive / Re:Need a little help..
« on: September 28, 2004, 09:11:28 AM »
Hi,
try this version, it should work.
Greets,
b.o.k.
try this version, it should work.
Greets,
b.o.k.
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.

animate.obj(o2);
load.view(2);
set.view(o2,2);
set.loop(o2,0);
set.cel(o2,0);
position(o2,101,116);
set.priority(o2,8);
stop.cycling(o2);
v255 = 2;
-stuff into the first block of the room, so that it looks like this:if (new_room) {
load.pic(room_no);
draw.pic(room_no);
discard.pic(room_no);
set.horizon(37);
if ((prev_room_no == 1 || // just come from intro screen
prev_room_no == 0)) { // or just started game
position(ego,58,121);
status.line.on();
accept.input();
}
animate.obj(o2);
load.view(2);
set.view(o2,2);
set.loop(o2,0);
set.cel(o2,0);
position(o2,101,116);
set.priority(o2,8);
stop.cycling(o2);
v255 = 2;
animate.obj(o5);
load.view(7);
set.view(o5,7);
set.loop(o5,0);
set.cel(o5,0);
position(o5,62,125);
set.priority(o5,8);
stop.cycling(o5);
draw(ego);
show.pic();
}if ((said("get","wallet") ||
said("get","wallet"))) {
v255 = 2;
if (obj.in.room("wallet",v255)) {
if (posn(o0,88,124,92,130)) {
print("ok");
erase(o2);
get("wallet");
v3 += 1;
set(f255);
}
else {
print("you're not close enough");
}
}
}would produce a message for the player if left alone. But block 2:if (said("get","wallet")) {
if (has ("wallet")) {
print ("you alredy have it");
}
else {
reset(input_parsed);
}
}checks the same situation (that the player has entered "get wallet" and tells the game to reset the input_parsed.if ((said("get","wallet") ||
said("get","wallet"))) {
v255 = 2;
if (obj.in.room("wallet",v255)) {
if (posn(o0,88,124,92,130)) {
print("ok");
erase(o2);
get("wallet");
v3 += 1;
set(f255);
}
else {
print("you're not close enough");
}
}
else {
print ("you already took it, man. Don't you remember?");
}
}Back in Decemeber 2002, my site crashed and my forum and the v forum where both lost due to a lack of backups.
Do you want me to create a new message board in it's place?


How can I associate a description with a 256color view (i.e., for inventory items)? This isn't done in the AGI256-2 demo game. And I can't find the option in BP's view editor.Good question, I didn't try this yet. But I guess, you could make the view in AGI-studio complete with the description, then convert it to AGI256 with Viewedit.
Right off the bat, I'd suggest V.
We plan to have even more reliable and visually stunning sliding doors in part 3 of the game.
We need more games inspired by books. I once had the idea to turn a theatre play into a game, but that was just an idea. However if you're creative enough you could even turn poems into AGI-games. Anything goes!
SMF 2.0.19 |
SMF © 2021, Simple Machines
Simple Audio Video Embedder
Page created in 0.05 seconds with 20 queries.