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

#1041
Oh, well, you need something to call the mouse button and process the clicks.
Like this (in its simplest form):
Code: ags

function on_mouse_click (MouseButton button)
{
    if (button==eMouseLeft){
        ProcessClick (mouse.x, mouse.y, eModeInteract);
    }
}
#1042
Grim, you've been met with harsh responses here, but take an objective look at what you're doing.

* Someone starts a thread where people can wish a certain famous person a peaceful rest.
* You, unprompted, claim that the person in question was a fraud.
* When called on this, you have no facts or even thoughts to back it up, just a vague feeling.

Everyone is entitled to their opinions, but an RIP-thread is seldom the right place to barge in and make illfounded accusations.

If anyone wants to debate the alleged falsity of the moon landing, I suggest they start a new thread, and bring at least a modicum of theory to the table.
#1043
I would see Copenhagen instead of Oslo.
#1044
It has to be a mouse-click problem then. How are your clicks processed? Are you using any of the default templates, or have you scripted your own?
Can you click other things, like objects or characters, without problems?
#1045
Just to be sure (this is beginners' tehcnical after all); have you used the lightning icon in the event's pane? Just in case you thought it was enough to write the code in the room script.
#1046
General Discussion / Re: LET'S CROAK TOADS!!!
Sat 25/08/2012 22:46:04
Defenders of the Earth. It totally sucked.
#1047
Anian, that's really nice!
(I'd let you make my logo, once I know what to call my company :))
#1048
Are you sure you've made the entire inventory window wide enough to accommodate the amount of sprites when they're each one pixel wider?
#1049
Can you please show us the script you're using?
#1050
Funny, I was just thinking that a nice MAGS theme could be to have a really harsh size restriction, like under 1.5 megs or something, but still feature music and animations and stuff. But then again, I'm not particularly involved in the MAGS-scene, and won't probably ever be.
#1051
The Rumpus Room / Re: It's THE second Coming
Wed 22/08/2012 19:49:15
Man, that post is so full of quotable stuff I don't know where to start quoting it.

Maybe here: "we salute you faggot layer Alright!"
#1052
I like this thread.
#1053
Option: You can always check which background frame is currently showing, and link the sound effect to that.

So under repeatedly execute, you do something like
if (GetBackgroundFrame == 0){
    aSound1.Play ();
}
else if (GetBackgroundFrame == 1){
    aSound2.Play ();
}
#1054
The Rumpus Room / Re: Riddle me this
Sun 19/08/2012 18:52:27
Hi Linus :)
#1055
I could be misunderstanding this issue... but in the inventory window, there's an option to use a sprite for the inventory cursor. Surely you can just use your arrow cursor sprite here, and set the hotspot exactly where you want it (by clicking in the sprite frame).
How does this not very easily solve the problem you're describing?
#1056
You can easily make one.
Under repeatedly execute you set the viewport to follow mouse.x and mouse.y. Easy as pie.
Or, if you're using the parallax module (which I believe disables viewport) you create a dummy character instead, and update its x and y position repeatedly.
#1057
Dave, go back some 4-5 posts and read :)

Mods, really inspiring to see so many copies sold already! Let's hope it keeps this pace for a while.
#1058
General Discussion / Re: Taking criticism...
Mon 13/08/2012 16:36:35
I agree that critics must be allowed to do their jobs without being asked what they've accomplished in their lives. I think the entire of idea of criticism is extremely important. I really hate when people go "can't they just enjoy the book for what it is", or "if you don't enjoy action movies, watch something else!" or "this critic is just reading way too much into this work" etc etc. No! The critic's job is to theorise and analyse, to put something in a broader context, to compare and to juxtapose.

When it comes to taking criticism, it's always hard if you really cared for what you've done. If it's not very hard, it probably means you didn't put so much time or effort into doing it.

However, some people seem completely incapable of accepting even the tiniest piece of criticsm, aimed at even the quickest doodle they ever drew and showed someone. These people will have to learn, maybe the hard way, how to turn criticism into something constructive.

Just as many other people here, I've been creating things ever since I was a child, and have always been quick to ask for feedback. I've only ever learnt something useful when I've published something I thought was really good, which some other artist then completely ripped apart. To learn hurts a bit, because it means something you held for true undergoes changes. Sometimes a rude awakening is simply the only remedy.
#1059
Quote from: Ascovel on Sat 11/08/2012 22:09:17
Quote from: Andail on Sat 11/08/2012 16:40:39
Quote from: Khris on Thu 09/08/2012 23:36:56
I loved to play something realistic for a change, without dozens of inventory items.


Yeah, like
Spoiler

...combining garlic with a plank, to chase away a decapitated head! Very realistc :P
[close]

That wasn't garlic, it was brambles. :P

Bwaha, sorry. I realise now I had been reading some article on vampirism just before writing that post... my silly memory.
#1060
Ah.
This code won't magically update just because the guard character leaves.
You need to check this repeatedly, so put it in repeatedly execute instead.
Code: ags

function room_AfterFadeIn()
{
    if (player.PreviousRoom == 9) player.Walk(500, 260, eBlock, eAnywhere);
}
function room_RepExec()
{
    if (cMGrd.Room == 1 && hMansionDoor.Enabled != true){
        hMansionDoor.Enabled = true;
        region[1].Enabled = false;
    }
    else if (cMGrd.Room == 10 && hMansionDoor.Enabled !=false){
        hMansionDoor.Enabled = false;
        region[1].Enabled = true;
    }
}

(I put an extra if-clause there to prevent the repeatedly execute to keep running the same function over and over again - not that it's very necessary)
SMF spam blocked by CleanTalk