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

#581
The leading questions posed by the interviewer suggest they're trying to show the child off in a sense. "Look how headstrong and special my 7 year old is." Sounds like the mother does have a factor in it. Also in the article the child is insisting that he's always been like that, such as correcting them by saying he actually wore boy's clothes before he was 5. I reckon the special attention from being a transgender 7 year old gives some fuel to the behaviour.

But the belief in a 'good fairy' is a little odd so yeah, even to a layman it's clear they've got some psychological disorder, and I'm not going to label and blame the parents because of it (even though they might 'exploit' it). It's like the reverse of penis envy.
#582
I'm getting somewhere...

Code: ags

//rewrote Print function

DynamicSprite*Raw;
DynamicSprite*Final;
DrawingSurface*Surface;
bool FirstPrint = true;

function Print(String text, int colour, bool space)
{
    if (space) Print(" ");
    int textheight = GetTextHeight(text, DisplayBox.Font, DisplayBox.Width);
    if (FirstPrint) { Raw = DynamicSprite.Create(DisplayBox.Width, textheight, true); FirstPrint = false; }
    else Raw.ChangeCanvasSize(DisplayBox.Width, Raw.Height+textheight, 0, 0);

    Surface = Raw.GetDrawingSurface();
    Surface.DrawingColor = colour;
    Surface.DrawStringWrapped(0, Raw.Height-textheight, DisplayBox.Width, DisplayBox.Font, eAlignLeft, text);
    Surface.Release();

    if (scroll_lock) return;

    Final = DynamicSprite.CreateFromExistingSprite(2);
    Surface = Final.GetDrawingSurface();
    Surface.DrawImage(0, DisplayBox.Height-Raw.Height, Raw.Graphic);
    Surface.Release();

    DisplayBox.NormalGraphic = Final.Graphic;

    //Raw.SaveToFile("raw.bmp");
}



function on_key_press(eKeyCode keycode)
{
    if (keycode == eKeyUpArrow || keycode == eKeyDownArrow) scroll(keycode);
}



function scroll(int direction)
{
    if (direction == eKeyUpArrow) {

        Final = DynamicSprite.CreateFromExistingSprite(2);
        Surface = Final.GetDrawingSurface();
        Surface.DrawImage(0, DisplayBox.Height-Raw.Height+1, Raw.Graphic);
        Surface.Release();
        DisplayBox.NormalGraphic = Final.Graphic;

    }

    if (direction == eKeyDownArrow) {

        Final = DynamicSprite.CreateFromExistingSprite(2);
        Surface = Final.GetDrawingSurface();
        Surface.DrawImage(0, DisplayBox.Height-Raw.Height-1, Raw.Graphic);
        Surface.Release();
        DisplayBox.NormalGraphic = Final.Graphic;

    }
}


So at the moment my scroll function only moves the text up or down one pixel... I also need to put in checks to see whether the player can't scroll up or down any more. Any clues please?
#583
I'm trying to make the Print function for my text game more versatile, but I've messed around with it and can't seem to get anywhere. I'm not sure whether the existing code can be adapted, or whether it needs to be rewritten.

I'd like to scroll up and down a sprite using the up/down arrow keys, to give an effect similar to a list box. When another bit of text is added to the sprite (at the bottom), the view of the sprite jumps to the bottom if the player has been reading text further up. And to prevent this, the player can toggle scroll lock on and off, so if something is added and they are reading further up, it does not jump down to show what was just added.

Here's the current function, Print, which works fine (but without scrolling enabled):

Code: ags

DynamicSprite*SpriteOne;
DynamicSprite*SpriteTwo;
DynamicSprite*Final;
DrawingSurface*Surface;
bool FirstPrint = true;

function Print(String text, int colour, bool space)
{
          if (space) Print(" ", 0);

          if (FirstPrint) {
                    SpriteOne = DynamicSprite.Create(DisplayBox.Width, DisplayBox.Height, true);
                    SpriteTwo = DynamicSprite.Create(DisplayBox.Width, DisplayBox.Height, true);
                    Final = DynamicSprite.CreateFromExistingSprite(2);
                    FirstPrint = false;
          }

          Surface = SpriteOne.GetDrawingSurface();
          Surface.Clear();

          //draw new text
          Surface.DrawingColor = colour;
          int y = DisplayBox.Height - GetTextHeight(text, DisplayBox.Font, DisplayBox.Width)-2;
          Surface.DrawStringWrapped(0, y, DisplayBox.Width, DisplayBox.Font, eAlignLeft, text);          //draw new text at very bottom, minus however high the new text is

          //draw old text (shift current text up)
          Surface.DrawImage(0, 0 - GetTextHeight(text, DisplayBox.Font, DisplayBox.Width)-2, SpriteTwo.Graphic);          //shift old text up by however high new text is
          Surface.Release();

          SpriteTwo = DynamicSprite.CreateFromExistingSprite(SpriteOne.Graphic);

          Surface = Final.GetDrawingSurface();
          Surface.Clear();
          Surface.DrawImage(0, 0, 2);                                    //draw a leather panel
          Surface.DrawImage(0, 0, SpriteOne.Graphic);           //draw final text on top
          Surface.Release();

          DisplayBox.NormalGraphic = Final.Graphic;
}


As far as I'm aware, the sprites are cropped after each time it's called to fit the height and width of DisplayBox? So if I wanted to scroll up and down, one sprite with all the previous text on would need to be stored?

Also, because I'm using AA text, I have to overlay the text onto a leather panel before it becomes the normal graphic of DisplayBox. This therefore means that when the player scrolls up for example, the part of the sprite you're looking at is moved equivalent to 1 line of text downwards, and this section has to be captured and overlaid on top of the leather panel, so it becomes seamless with the rest of the GUI. How can I do this?

Another small thing I noticed, I can't find an enum for the scroll lock key. I can use something else for toggling the scroll lock bool, it just seemed fitting :)

Thanks
Atelier
#584
Because there are lot of entries this month, I think a week (tops) is a fair shout. But Radiant is right, so what I can do is start February as normal and let this topic simmer on the back burner while everybody finishes up.
#585
Unfortunately yes, it's been like that for at least two days.

Gameboy, as ever I'm loving your art style :) And slapstick, welcome to the forums, nice of you to make your first post in a MAGS thread :D By the way if anybody needs an extension to the deadline, I'll definitely do that, seeing as I posted the guidelines a few days late.
#586
Quote from: Moogle on Thu 19/01/2012 20:19:29
Wait so I can't now? That not even right dude.

I genuinely sympathise, but I can't allow you to enter because Icey has been helping you. There is no difference between this and Icey entering in person because he is still working on an entry. If you wanted to enter with Sane without Icey then go for it, you have just as much right as everybody else. This is impossible now though because you threw the shit at the fan by mentioning you were in a team with Icey. And you'll only jeopardise yourself in future too, because as you admitted, you always work together. So Icey or moogle, if you still have objections just PM me and we can talk about it. But please, can we all end the discussion here because it's just getting tiresome now.

Thanks for the entry Spud :)
And Ponch, sounds interesting so far!
#587
Nice screen Kasander, and yep, 8-14 hours daily is very impressive ;D

Quote from: Sane Co. on Thu 19/01/2012 16:02:52
What is the chance that our project won't qualify? Because I don't want to do my job and not have the reward of it being able to enter.

That's fair enough, to be honest I wouldn't waste your time on it. I'm not going to let either icey or moogle enter, who are practically siamese twins. It's just so obvious that icey is calling the shots and got moogle to enter for him; moogle even said he 'works under Studio3' (which as a statement is just plain bizarre).

Quote from: Studio3 on Thu 19/01/2012 01:48:36
Anyone has a chance in this MAGS so long as you have the main character go to do something that he was tasked to do by the PUB.

Those aren't even the guidelines, they're the ones you sent me initially. More evidence that you set this theme for yourself. I'm sorry icey but it was agreed you can't enter and concealing yourself within a team is no loophole. So to avoid hostility from others, I would just stay away from these threads completely in future.
#588
General Discussion / Re: SOPA and PIPA
Wed 18/01/2012 20:42:45
Just in case somebody desperately needs to use Wikipedia just press esc straight after the text appears.
#589
Hm ok. Icey actually set the theme: "Create a game where the hero is given a quest by someone in a Pub then leaves to go and do what he was tasked to do." I altered it a bit, but those words conveniently fit almost exactly with the premise of your game, so the whole thing will remain suspicious.
#590
Ok moogle does it follow the guidelines or have you entered because it has the word pub in the title? Ghost's is just ok I think because it has context (a card game associated with taverns and being played inside a pub). As long as your entry features a pub or makes (not a throwaway) reference to a pub it will be ok - but not if it's just in the title. I'm only checking because there isn't any mention of a pub in your premise.

Secondly I thought icey wasn't competing in MAGS for a while? Not only was it generally agreed he shouldn't as some form of punishment for the debacle last month, icey even said himself he wouldn't:

Quote from: Studio3 on Thu 05/01/2012 22:20:26
I already said that I wasn't going to enter cause not only am I busy but I mean I already got to see the two mags I wanted to see and I don't think I want to enter again cause the time is to much to worry about.

Or are you just entering for him because you devised some kind of sneaky workaround? Sane Co you seem a decent guy, could you shed some light? Sorry don't want to cause another scene, just trying to figure out what's really going on.
#591
Community leader:
1. Not interested.
2. Darth, bicilotti, m0ds, monkey

Technical lead:
1. No.
2. Wyz, Sslaxx

On the subject of re-election: I think it's a good idea, to ensure the community and technical lead doesn't stagnate. But it may mean debates on who has time, who is more suited, and all the intricacies of forum politics are just repeated in the lead up to every election, as we can see in the first thread. This would just be a waste of time and only take us back to squabbling at square one.

I don't think either role (especially like you say Ali the technical lead) should be 'reshuffled' just for the sake of electing somebody new; suppose somebody is gaining their stride at the end of their term and they have and want to bring much more to the table? They should be reelected just to follow protocol? The flip-side of that is if somebody has too many other commitments and can't take on the role anymore. Then an election would be more suitable, so the leader could just pass the baton to somebody else.

So although it is a good idea in principle, I don't think incumbents should be constrained by 'terms of office' to get things done and then the whole process of election is repeated again and again. Such periodical elections can only result in a disjointed AGS, with no uniform vision because that vision is ever-changing - everybody has slightly different opinions on the future of AGS, that much is clear. What we really need now is to elect people as if the election is permanent. Two, three, or however many years down the line, when the community can see how this all pans out, then it would be the time to decide whether to hold regular elections.
#592
It is the future just as much as it is the past and the present.
#593
Hi Kasander and welcome, your entry sounds interesting :D And Ghost, I'm glad you could make it back in :) So it's almost half way and it's shaping up nicely.
#594
That's borderline spoiler Stupot, now I know not to expect wonders ;D I had to record it and will watch it tomorrow, so I'll tell you want I think too.
#595
I think icey was winning by a bigger margin before I reset the counter anyway, it didn't seem to have any effect on the distribution of the votes (people must have voted again or something).
#596
I know it's hypocritical of me for posting up a set of rules when I've made a couple of mistakes in recent days. :) But I'm actually grateful to those who challenged me on them. This is just basically a more draconian-looking reiteration of the rules in the first post (which won't be changing), but I hope it's good for discussion and reference in future scenarios. 2bi is an addition to the ruleset which may stop people entering to win by default; while also providing some slack for people who have been wanting to participate all along but couldn't post it up on time. It's only a quick draft so feel free to scrutinise.


     1 All material in your entry must be entirely new, and made during the respective month, with exceptions for:

          a) audio. This includes music and sound effects, but does not extend to any spoken dialogue. The files used must be freely available to the public.
          b) templates. As above, they must be freely available to the public.
          c) any other resources deemed acceptable by the host during the respective month, such as during a special RoN/OSD round.

     2 You cannot enter or participate:

          a) with any game started before the first day of the respective month, without exception.
          b) with any game after the effective deadline of the respective month.
               i) The only exception is if the entrant has announced their participation at least five days prior to the effective deadline, and only if
               there is at least one other entrant to the competition.
          c) if your game was created with anything other than AGS.

     3 In the post announcing the game you wish to compete with, you must provide:

          a) the full title of your game.
          b) a tested and working download link.
               i) You must ensure your download link remains active until the voting session has been declared over.
          c) at least one suitable screenshot.
               i) The screenshot may be a title screen or in-game screenshot; providing the screenshot depicts your entry 'in-game'.
               ii) This requirement does not apply to surplus screenshots.

     4 You may edit your game:

          a) at any time before the voting session.
          b) only during the voting session to fix bugs.

     5 You may work alone or in a team, providing you make clear you worked as a team in the latter case.

     N.B: The effective deadline is the last day of the respective month or a modified date set by the host.
#597
Hahaha that's too funny ;D
#598
Icey this is the third time and last time I'll say it: this theme won't be appearing in February because I'm not running it again.

Radiant caught you out and now you're making up barely coherent excuses to cover your barely coherent cheating. Why would you even want to cheat on MAGS? I can't understand why anybody would go to such an effort (but ironically it was your lack of effort that caused this) to corrupt something which is solely intended for enjoyment and the satisfaction of completing a game, not joking about being on a metaphorical 'killing-spree' and harvesting grand-slams to boost your forum ego. So the only award you're getting out of this whole shenanigan is the Worst Compulsive Liar on Earth.

I don't think you should compete for a while, because it's likely you will ruin the competition for other people, and people would rightly get irked if I allowed you to continue like this. I don't think there's much else to say.
#599
Quote from: Radiant on Thu 05/01/2012 15:20:20
I opened Icey's game in a hex editor to see if I could find those alleged explosions and other content he mentioned. You know what I found? The game he submitted is actually The Last Boss, by Mr.Mog. It has the exact same rooms, text, and music; just a few lines of dialogue tacked on and two or three extra sprites.

You don't need a "MAGS constitution" to see what's wrong with that. The rules in the top post have always been perfectly clear.

Ah I had no idea. So icey is definitely not a winner and should be ashamed. I can't think of any punishment other than not letting him compete for a fixed time/ever again.

Quote from: Ponch on Thu 05/01/2012 15:29:39
I've always assumed Atelier was a crusty old dude

;D
#600
Quote from: S3 on Sun 01/01/2012 04:59:54
wait I got a game!!!

It seemed to me that an announcement as abrupt as this, coupled with not even giving the title of the game, was just entering to win by default. Furthermore you did not post in this thread during any of the days in December to show interest in the round, which is what the majority of people do. On top of that your subsequent post asks nonchalantly whether you would be the first Triple Grand-Slammer. And without even playing the game, I could see you were snatching glory from a dwindling thread, irrespective of the quality of the entry. (I haven't even played the game so my comments are only concerning your manner of entering).

I also said I would never run this topic again but it was still a backup topic, in case somebody didn't get guidelines in on time or went AWOL. So this will not be appearing in February.

I did say that icey was the winner on the condition that nobody entered within a day, and nobody did (of course Ghost and Ponch couldn't finish on time), so yes, icey is the winner. Having said that, with a reputedly volatile download link and no actual gameplay, I can't willingly record this on the MAGS website. So for all intents and purposes, icey won this month, but it won't count towards his grand-slam total. But then it doesn't matter because icey told us he wasn't in it to win it.

I'm writing a 'MAGS Constitution', which is a watertight set of rules, not in concise thread-friendly form (like in the first post), but setting them out clearly in clauses. I just realised there's never been anything like that for MAGS. In which case, somebody has either broken the rules of MAGS or not, and such grey-area discussions won't be necessary. This is in response to entering after a deadline has passed and also to competing with a game started before the first of the month. I'll post it up by tonight I think, where it will be open for discussion :)
SMF spam blocked by CleanTalk