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

#2021
Is there away to incorporate:
Code: ags
game.text_shadow_color=65744;

Just for speech font?

Edit: Using Normal Font seems to do the trick..
#2022
Anything that can be done to update this add-on would be great..

Weather .dll or module we are all waiting ;)

cheers

slasher

#2023
you must name objects by their ID not by name when you include it within a dialog option..

eg
Code: ags

ofortbot.Animate(0, 1, eOnce, eBlock); // will not run as it does not know what ofortbot is.

object[3].Animate(0, 1, eOnce, eBlock); // will know how to animate an object by its ID number.
#2024
Dialog options generally go to the bottom of the function queue and are last to run.

You'll need to put the animation code within the dialog options itself when selecting an option that causes the animation to start.
#2025

Example
Code: ags
cEgo.FaceCharacter(cMan);
#2026
Quote from: Theyeyboss on Fri 24/02/2017 19:23:08
But what do I do if the bed is a hotspot? (Sorry for being a noob, but I forgot to include that detail in the original post).

Just add it to the bed Hotspot properties.

When you try to get in it..

Code: ags

function hHotspot3_Interact() // Bed hotspot's name
{
 if (talkedToCharacter) // if he has talked to the character
{
    // sleep code
}
else  // else he has not talked to the character
{
    // he says he needs to talk to the other character first code
}
}


#2027
Code: ags
function room_RepExec()
{
  //right to left
  if (oSharkfin.X == 840) {         // states 840
    oSharkfin.Graphic = 6;
    oSharkfin.TweenPosition(10.0, 470, 347, eEaseLinearTween, eNoBlock); 
  }
  //left to right
  else if (oSharkfin.X == 470) {
    oSharkfin.Graphic = 82;
    oSharkfin.TweenPosition(10.0, 870, 347, eEaseLinearTween, eNoBlock); // goes to 870 but won't go back because it supposed to be 840..
  }
}


Check you X positions on code.
#2028
Version 1.22 Tween.

You can raise the maximum of Tweens.

Tween Header

Code: ags
#define MAX_TWEENS 10 // raise the number to say 2000


Example that works
Code: ags

function room_Load()
{
oA1.TweenPosition(2.5, 570, 140, eEaseOutTween, eNoBlockTween);
}


function room_RepExec()
{
if (oA1.X == 570) {
oA1.TweenPosition(2.5, 70, 140, eEaseOutTween, eNoBlockTween);
}
else if (oA1.X == 70) {
oA1.TweenPosition(2.5, 570, 140, eEaseOutTween, eNoBlockTween);
}
} 



hope this helps
#2029
Pasteboard

A great way to upload and share images

http://pasteboard.co/
#2030
The Rumpus Room / Re: Happy Birthday Thread!
Sun 19/02/2017 11:13:41
***Happy Birthday Frodo ***

Have a great day ;)

slasher
#2031
The Rumpus Room / Re: Happy Birthday Thread!
Thu 16/02/2017 21:10:24
*****HAPPY BIRTHDAY DARTH*****






#2032
Site & Forum Reports / Re: Discord
Thu 16/02/2017 21:03:10
The new Discord Page crashes my Chrome Browser..

slasher
#2033
The Rumpus Room / Re: What grinds my gears!
Thu 16/02/2017 19:09:22
Blondbraid;

keep a notepad on you at all times (even in the bath (laugh)).
#2034
Well done Selmiak, Emont, Creamy...

Nice game and graphic/effects (nod)
#2035
Hi Crimson,

Patch fix works and solves the Template issue (nod)

thanks so much (nod)

Sent you a PM...

Edit: There are also no longer the dreaded warning text file of un-deleted sprites.

Edit: The warning text file of un-deleted sprites are back when quitting via Quitgame button.

Cheers ;)

slasher

#2036
Hi Crimson,

I copied the games folder and moved it somewhere safe. I then deleted the Compiled Folder. Opened ags and un-ticked Legacy Compiler. Did Build all files. Low and behold...back to normal (nod).

I'm going to try to QuitGame normally and see if those warnings still come up..
Edit: Yep..still get warning of Dynamic sprites not being deleted..

Remaining problem..
I'm using 3.4.0.14 and if i import a  game from 3.4.0.10 it will make a template from it but ags errors when trying to start new game.

Cheers Crimson ;)

#2037
QuoteMy only problem is that I can't see who voted.
Does that mean I can vote millions of times? (laugh)
#2038
Hi Crimson,

legacy was unchecked and only checked a short while ago as per last post...

i will do a back up, delete compiled folder and do a full rebuild and hope..

thank you Crimson for your help ;)

slasher
#2039
Legacy was NOT checked.. so i checked it.. and the exe and setup were there outside windows folder.. i did have it unchecked but it failed to save the exe to run the game...

having these outside the windows folder, is that a problem as it seems to work?

If I were to delete the complied folder i assume it would be rebuilt???
#2040
Hi Crimson,

i'v just looked and it seems that the set up and exe saved in the compiled folder but not into the windows folder...

i'll recheck a few times... i'll be back (laugh)
SMF spam blocked by CleanTalk