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

#1
thanx
Soz late reply
#2
ok, but mind this is my first game and the character graphics suck, heh...(currently working on games with better graphics, but what do you expect when on paint the characters are nearly as small as my thumb nail, not much room for detail, thats what.) oh and sorry for the late reply, i havnt been on the internet for ages.
EDIT: wait, how small is small... oh well
#3
could you do it with ints?
if so then why isnt this working?

// room script file


#sectionstart object1_a  // DO NOT EDIT OR REMOVE THIS LINE
function object1_a() {
  // script for Object 1: Use inventory on object
int doorv = 1;
doorv += 1;
}
#sectionend object1_a  // DO NOT EDIT OR REMOVE THIS LINE

#sectionstart region1_a  // DO NOT EDIT OR REMOVE THIS LINE
function region1_a() {
  // script for Region 1: Player walks onto region
int doorv = 1;
if (doorv == 2) { 
  cEdd.ChangeRoom (5, 100, 195);
}
}
#sectionend region1_a  // DO NOT EDIT OR REMOVE THIS LINE


curently using that will do nothing when i test the game
i think its because in the bit that says player walks onto region
i've put the int roomv = 1 again which reset the int to 1

but if i get rid of that when i go to save the room to play the game i get an error mesage that says

there was an error compiling your script
the problem was:
in: 'room 4 script'

error(line 15): unidentified symbol: doorv

so i changed it to have 'int' before the roomv part on line 15(starts with if...)

then i get the same error mesage but now the error is
error(line15): parse error in expr near int

and i have now clue what that means...
#4
um, how do i make the walkable area disabled?
#5
my character in in a cave and i want the path to be blocked by rubble.
ive drawn rubble and made it into an object but the character just walks behind it.
i cant script or anything its my first game in my nineth room.
I know there is probebly a simple answer but i dont know it
and i also need it so that when a certain item is used on the rubble it dissapears and you can walk through
#6
umm well Ive just tryed it and it... works?
I dont know why
possibly I just needed to restart my computer...
if you still want to look at it i could upload it
though to tell you thr truth i dont know how to do that.

EDIT: it appears its random, somtimes i get the error mesage, somtimes i dont(mostly I dont, though after what i just posted later on it happened again)
#7
uumm no its my first game and i havn't even looked at making GUI's(and I havnt learnt to script) I'm just using the normal one.
and I've tryed lots of times and it happens every time
thats about all i can say, it just happens every time i unlock the door, though if it helps i can tell you that i can go on to the next room without unloking the door and leaving it, its just when i unlock the door then try to bring up the menu that it happens
#8
I was testing my game when I had a key and i use the key on the key hole then i go to the bar up the top that shows the menu to change the cursor from key back to walk but when the key cursor touches the bar it freezes and the hole thing minimizes then i got an illegal error message:

An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x004065DE ; program pointer is +379, ACI version 2.72.920, gtags (1,5)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the tech forum.
#9
thanxs for the first answer and as for the second question...
i want it so that when the key is used on the key hole the keyhole dissapears and the door appears.
to do this i have drawn a picture of a door and imported it then made an object out of it.
my point was that since it was an object i had to grab/interact/use hand to make it take me to the cave beond the door(another room) my idea was that i make the walkable area again so that it doesnt hit the edge then make an iteraction so that when player wlaks of top edge they go to room x(cave).i was going to make a small section of walkable area that hits the edge at the bottom of the doorway(the top edge of room is where grass meets the bottom of trees and the doorway touches the bottom of the trees. With your first answer i could probably do this but i was wondering if there was a way to make it so that if you walked on an object(in this case the doorway)it would take you to another room(the cave)or, is you could make some sort of entrance to another room appear when i use key on keyhole.
#10
this question has probably been asked before, but I'm new ags(and I'm not going through 200 pages to find if someone asked). I have a hotspot which is a key hole in a tree trunk. i have set the interaction, (I havn't learnt to scrip) to use inventory and then :remove an object from the room(key hole), then turn object back on(open door way). The problem is that when i use the key on the it works.when i use the axe on the door it works. When i use the crystal ball on the door it works... every item seems to work on the keyhole and i cant find a feture that makes it a specific item.
I'm probably just overlooking somthing but can somone help me?
or better yet find another way to do it because the problem with a door way beign an object is that i have to interact with it(use hand) to go into it and i can't just walk into it.
I could however make the area near the edge not a walkable area exept for the door way then make it that walking to that edge takes me to another room therefore creating the illusion of walking into a door but that doesnt solve the first problem
i would realy appreciate help
SMF spam blocked by CleanTalk