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

Topics - SirLean

#1
So basically I want to make my character sit besides a tree while he's fishing, therefore changing the "standing" blink that he normally has. This would mean that the blinking view changes to the one where he's sitting, so it should be easy.

But the "blink" stays the same as the standing one...

The hotspot is the water, cPersonajeKid is my main character, blinking while sitting view is 7, FLASHEANDOPESCASENTADO is the view of him simply sitting, iCanha is the fishing rod

Code: ags
function hHotspot2_UseInv()
{
if (cPersonajeKid.ActiveInventory == iCanha) {
  
  cPersonajeKid.Walk(1452, 796, eBlock);
  
  cPersonajeKid.ChangeView(FLASHEANDOPESCASENTADO);
  
  cPersonajeKid.BlinkView =7;
  cPersonajeKid.BlinkInterval = 160;
  
  
  }
}

When I check the game, he sits perfectly, but in the blinking frame he stands up and blinks like he's standing...

What am I doing wrong?  :confused:

thx
#2
As simple as I put it in the title...

I'm sure there are good tips that won't take away game quality.

 How can I improve the compression size or the overall good optimization to avoid my game weigh more than I'd like to?...

Trying to keep it at 500mb actually.

Any tips? thanks a lot
#3
So my idea is that basically a sound is played when I click (interact mode) on an inventory object. I add the

"Sound.Play();"

code but absolutely nothing plays. I tried with other click modes and it plays (like for example "Look at") but my idea is that the sound is played when the cursor changes into the object and it's "grabbed".

Thanks!  :)
#4
So, I've tried to make this work for the last 4 hours. Tried almost everything. Densming's tutorials, manuals, you name it.

So basically what I'm tried to do is pretty simple:

Main character meets Character B. They exchange several lines (like 20 to be exact), Character B ends conversation with "You got something for me?"

And then, I need the next interaction (I'm using the Interact mode to start conversations) to not trigger the entire conversation again. Instead of the 20 lines, I need Character B to simply say "You got something for me?" with every click on him.

I tried everything, but when the conversation finishes I click on Character B and he keeps saying the same ol' 20 lines.

I need him to only say the 20 lines when I first click on him, the 2nd, 3rd, 4th and so on, he just have to repeat his last line.

Thanks so so so much.  :smiley:

NOTE: So, I think I solved it.

I did this. First I made the dialogCounter global varible Desming showed in his YT tutorial.


Code: ags
 if (dialogCounter<=0) {
//DIALOG
dialogCounter++;
 }
 
 else {
   cCharacterB.SayBackground("You got something for me?");
 }
#5



When I click that book, my character is supposed to say something and then walk towards it and grab it

So basically I'd like my character to say that WHILE walking towards the object (book)

Is is possible?

thanks!
#6
https://ibb.co/Vm3xN11

So in that giant error text there's some lines in spanish (my pc language) "the (AppData) file cannot be open, because it's Read-Only or it's Hidden"

Did someone get this before?

*I tried checking all the AppData folder options to not be "Read-only" and also Not Hidden... I get the same error message...
#7
So I started this project, basically it's a guy that will ascend on looks and improve by solving quests and doing cool missions where he learns a lot about life.

But weirdly, when I click that book to pick it up, the "cursor buttons" I have in the top left of the screen show a weird grid...this is my code for picking up the book

https://ibb.co/kMy8QCQ

The weird grid shows up exactly when I click on the book. It comes back to normal after picking it up.

This is the normal view of the cursors in the top left

https://ibb.co/ZgwwQkQ


and this is the weird grid I'm writing about

https://ibb.co/K5S7ZNX

So... what's going on you guys?  :confused:  :kiss:

#8
So I'm creating the game of my dreams, and I'm testing it on my android phone.

Everything looks fine but, how can I change the cursor mode? Only the "Walk to" Cursor is available, wherever I click I can't seem to be able to change the mode to "Look at" which is the one that plays a huge role in the game.

2nd question, if changing cursor modes is impossible on Android: how can I then change my "2 cursors" game, to a "1 cursor for all" game? which lines of code do I have to edit? Thank you very much.
SMF spam blocked by CleanTalk