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

#501
hey guys! this is my 1 try on AGS arts compectitions, and i will say to you that i really worked hard on that image. Please consider that, and if you cant see the lines are on the rooftop. Well, i wish it isnt too late for my entry attempt...

#502
Dont it have a colour limit? Frame size?
#503
oh, sorry. I didnt saw that topic... thanks  ;D
#504
Hey guys! If you are good at creating characters, why dont try to help me? I suck at creating characters, but good on backgrounds. I need a character that is an adolescent of16 years old. He should have short hair, and wear blue pants. have brown hair, and wear a hat. Ok everyone, draw a simple sketch or a good drawing for Clerk (his name) and you will be creditated in my game very well! If it is possible, a walk-cycle would help  ;D Thanks! J-
#505
Ok, thanks guys!  :)
#506
Ok guys, thanks, but khris, when i useyour command, when testing, i pick the object and the inventory turns off. Ok, but then i cant open it up clicking on the inventory button again! I think this is because, if i click the right button a few times on mouse, the inventory item will be there as a cursor. Cant i make a code that will block the item to use as a cursor less then i select it on inventory?
Ifyou dont get it:
i click on the inv item icon. ok. than i am using it. but when i change the mouse icon, if i press R button on mouse, the iten will be there! Cant i block this inv item from appearing there? And how can i open the inventory again, after clicking on the object?
Thanks J-
EDIT: Oh damn. Maybe Chris Jones should put a button.BlockedGraphic command on AGS v3.2.  ;D

Another question: Why this script doesnt works? When i try to run the game, it says:

GlobalScript.asc(18): Error (line 18): Parse error in expr near 'mouse'

Code: ags

if (mouse.x, mouse.y == btnOptions){ 
 btnOptions.Animate(VOPTIONS, 1, 1, eRepeat);
 }


i put it into repeatdly execute, trying to animate a button when mouse is over it. Help Please!

#507
Hi! Well, i know that i'm creating too much topics, but i cant figure out this 2 things:

1- how can i change the GUI button sprite when some animation is rolling or an action ocurring, so the player cant use the buttons. It auto put some pixels in the GUI to show that the player cant use it. I have the graphics, but dont know how to change it.

2-How can i turn the inventory invisible when pick up a item from it? Like, when you pick up the item in the slot (my inventory is a window that pop up when clicked on a button) how can i turn the visibility of the inventory off auto. So i dont need to pick the item, press Ok and then use it. This can be seen in many games.

Thanks, and for no more topics, can i edit this post w further questions, so when i have a new one i dont need to star a new one?
Thanks again. J-
#508
thank you ghost! i tryed the mouse.mode but i used it wrong.
#509
Hi everybody. I'm stuck into a scripting code. I want to create a script that change the cursor mode when clicked. I have the button of Interact. I want to change the cursor to interact when player click. What script should i use? I already seen the help file, but i didnt get the right code yet. Please help me!
#510
thanks very much folks! This really helped me! Now i will do the same for the other object in the room, and i added a else case to the function, so if the lights are off, the tint is applied, i used this in the first enter room event, but then, when yopu turn the lights off again, the tint is not applied, so then i applied the tint to an else case. Thanks! Now i can solve most of my scripting problems! Thanks again.  ;)
#511
Code: ags
Hi again script experts! I wanted to write a script that say; If background is frame 1, then remove tint from object1.
I writed then:
[Code]
function Rope_Interact() 
{
  light_is_on = 1 - light_is_on;  // toggle light
  SetBackgroundFrame(light_is_on);    // update background
     if (int.light_is_on == 1);
  oPurplepaint.RemoveTint;
  
  }


The room start w lights off, when interact to rope, its turn on, changing background frame. So i tint the object (oPurplepaint) when the lights are off to look more dark. But when i create a condition to remove the tint when background frame is 1 (lights on) an error pop up, saying that:

Failed to save room room2.crm; details below
room2.asc(34): Error (line 34): '.light_is_on' is not a public member of 'int'. Are you sure you spelt it correctly (remember, capital letters are important)?

Can you help me? light_is_on is a variable but i cant use it there! Thanks.[/code]
#512
nice work! but i dont get wow it works, its the new function no? Ok, so i will use an example:
Display("This is so cool! I gained a Super Bannana!") i wanted to change the Supper Bannana to red. How can i apply the module to it? Thanks.
#513
Wow, the last screen is so damn scaring, what modelling program do u use? 3D studio Max? I'm useless at 3D, so i went to the milennar Pixel Art!
#514
thanks! thanks! MUCH MORE THANKS!!!! i love you man... (not literaly)
I didn't know that if an object is invisible i couldn't pick it... but ok, i practice my scripting!  :D
thanks again!
#515
Code: ags
[code]Hi folks, well i'm trying to do a puzzle in my game, that when you look to a hotspot, a object turns invisible (object1.visible=false) and other turns visible (object2.visible= true). And then, when object 2 turns visible, the player can pick it. I used a IF clause, in case that the player try to pick the object when it is invisible. then this is the code:

[Code]
function PaintingR_Interact()
{
 oSquare.Visible= false;
 oBlacksquare.Visible= true;
 Display("Its look like a pixel dropped off the mosaic.");
}

function oBlacksquare_Interact()
{
 if (oBlacksquare.Visible = true)
 {
   player.AddInventory(iBlacksquare,)
   oBlacksquare.Visible= false
 }
 else[
}


OBS: PaintingR is the hotspot.
oSquare is object 1.
oBlacksquare is object 2.

Whats my problem?
A error pop up in the screen when trying to save:
room1.asc(57): Error (line 57): Parse error in expr near 'oBlacksquare'

i already tryied anything, but nothing works! What should i do please??
[/code][/code]
#516
Ok, if i understand well, if i write int, i'am creating a variable?
#517
Thank guys, but Khris, is Light_is_one a variable? This part i don't get it. Tell-me what is it please.
EDIT: Another question, i want to add some pick-up things in the room, but then how i make to the objects turn almost black? When lights off, the pick-ups goes black-like, and when the lights are on, they turn to normal collour, i have to use a tint scripts?  (sorry guys, this is my 2 day with AGS, with a long 2 years interval since my last use in it  :-X )
EDIT II: i want to know too, how can i do a script like, if lights off, then when the player interact with the oick-ups will pop-up a message saing that its too dark there. How i do that?????????
#518
Hi everybody. I guess this question of mine sucks, it could be on the help, it could have already been posted or wahtever i'm doing wrong, i want to know; how the hell i make a light switch? In my room there is a lamp. and i want to the room to start black (not complete black, but almost all black) and the when the player interact with the small rope on the roof, the lights will turn on. And when the player quit the room and enter again, the lights will be already on (not if he turned off again before quiting). Did you understand?
Help me please  ??? ???
#519
Good program, but, how can i make a walkcycle up? i make a side an down, but i need up too. Thanks.
SMF spam blocked by CleanTalk