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

#41
The Rumpus Room / Re: The MSPaint game
Sun 12/10/2008 20:57:16
Because everybody buys a red convertible when it hits!



Next: The worst optical illusion ever.
#42
Hey, even Link has to go sometimes!


#43
Quote from: Snarky on Sun 05/10/2008 14:37:09
Actually, in the US at least, bank deposits up to $100,000 per account are federally insured through FDIC, so even if a bank goes bust, people aren't going to lose their savings.

This is true, but, for people who have all their money in one bank, it could take weeks if not months to get this $100,000 (or $250,000 now, since the law has changed) back.  So, no, people wouldn't lose their money, but I would imagine they would be hard pressed for a length of time until that money was reimbursed to them by the FDIC.
#44
The Move function is for objects; for characters, you can use the Walk function to have the character walk to a specific point.
#45
Here's a meta-AGS video.  The whole video was created using AGS.  And it's got KQ4 and PQ2 in it :-)
http://www.youtube.com/watch?v=dKwSIckOTOE&fmt=18
(Sorry for posting my own video)
#48
Quote from: Pumaman
Hmm, it seems that Overlay.CreateTextual automatically creates a 3-pixel border around the text (I think this was done to allow it to draw the text window border where appropriate), so it basically means you'd have to +6 to your width when creating it.

Ahh, that makes sense.  I actually ended up adding 7 to the width (6 wasn't enough), so my CreateTextual statement looks like this:
Code: ags

textOverlay = Overlay.CreateTextual(x, y, width + 7, Game.NormalFont, 17238, text);


And that works great.  Thanks for the help.

Quote from: Pumaman
The problem now is that I don't want to risk fixing this in case it then breaks other games where people are relying on the current behaviour. Hmm.

I know the feeling.  I deal with this at work every day in supporting apps as well, so I understand.  Maybe add an optional bool as the last parameter (true by default) that indicates whether to add the border?

Quote from: monkey_05_06
Hey densming, there is an outstanding request for aligned textual overlays, but in the mean-time you can render a graphical overlay instead.

Thanks for the help, monkey_05_06.  I considered using a graphical overlay as well but I figured there had to be a simple solution with text overlays.  Arguably a graphical overlay might be better since it allows more creativity and control over what the overlay looks like, but I wanted something quick and simple for the tutorials.  Thanks!
#49
I'm having trouble with a textual Overlay, and GetTextWidth.

My function is fairly straightforward, I'm trying to create a textoverlay that's centered on the screen (both x and y):

Code: ags

Overlay *textOverlay;
function ShowTextCentered(String text) {
	int x, y, width, height;
	
	width = GetTextWidth(text, Game.NormalFont);
	height = GetTextHeight(text, Game.NormalFont, width);
	x = (System.ScreenWidth / 2) - (width / 2);
	y = (System.ScreenHeight / 2) - (height / 2);
	
	textOverlay = Overlay.CreateTextual(x, y, width, Game.NormalFont, 17238, text);
}


But whenever I run this code, it wraps the text on 2 lines, so it's not centered.  This seems to be the case no matter the length of the string.  For example, if I call the function using ShowTextCentered("Hello"); it will put a line break between the 'e' and the first 'l'.  This makes me think the width parameter of the CreateTextual function is not wide enough.  I know I can add 10 or so to width, but then the centering isn't right...  I know the GetTextWidth() function returns the right number (I've tested this by taking screen shots and measuring) so I'm thinking it's an issue with the Overlay.CreateTextual() function?

I'm trying to get this right for the video tutorial but I can't seem to figure out what's wrong.
#50
Hi Mr. Jacobson!

Can I take your class? It sounds fun :-)

I'd love it if you used my videos in your class! I'll put my sprite graphics up as soon as I can find a place to host them. The place where I put Sammy's Quest to be hosted is still around but I forgot the password I used so I can't add things there at the moment. I'll find somewhere though and let you know.

Thanks for your message. I'm adding more videos as I have time so keep checking my YouTube channel for updates.

I'll find a place this weekend to put the files and will be in touch.

Dave
#51
DoUn2u: Thanks, I'm glad you got something out of the videos.  I made the randomization video, not sure if it was too specific to Sammy's Quest and not general enough but I think it's a good basic intro to scripting.  I plan to have a "scripting" video soon, including the scripting editor and the IntelliSense stuff.

CJ: Now there are 14 videos. :)  I'm really enjoying creating them and am glad to be contributing to AGS in a small way!  ;D

jetxl: Thanks for favoriting.  Nice AGS walkthroughs, btw.

dkh: Thanks for the comments.

Buckethead: I'm hoping the videos might be useful for everyone, but yeah, they're definitely aimed at the beginner at this point.

TerranRich: What ever happened to By the Sword Conspiracy?
#52
Yep, the video quality was lacking.  I'm going back through all the vids that I've uploaded so far and vastly improving them by editing them in Camstudio first, which allows me to remove the static noise, but more importantly, it allows me to zoom in on certain areas of the screen as I'm discussing them in the video so that it's much clearer.  If you go back and watch those videos again, they've been updated already.

Thanks CJ for adding the link, and I agree that this should be in the Beginner's Technical Forum.  I should have put it there in the first place.
#53
Thanks for the positive feedback!

Sure, I think it would be great if you posted a link to the tutorial.

As to the 2 topics you mentioned, I'll be sure and address those in future vids or a supplementary video of some kind.  (I didn't even know about the "Assign to View" feature, or else I would have mentioned that when I was showing the views and sprites.)  That's exactly the kind of comments I am hoping to get.
#54
Don't know what your other errors are, but for this one, you could force a string instead of a const string, by doing this:

string TempString = "Werknaam SpaceSpy";
addCreditLine(TempString);


This may require a fair amount of tweaking to your game to recode in this manner, but otherwise I think you'll have to take KhrisMUC's advice and stick to 2.72.
#55
Hi everyone!

I'm starting to do a series of videos on YouTube about how to use AGS Editor to create a game.  At this point I've only got a couple of videos completed but I'll be creating more as time goes on.  I'd really love for folks to check them out and let me know what you think.

I'm no expert at AGS Editor by any means, but I know that a video tutorial would have helped me a lot when I was starting out so I wanted to create one.

The videos are on my channel on youtube (www.youtube.com/densming).  The tutorial goes over how to create Sammy's Quest, and there's a Sammy's Quest Walkthrough on my channel as well, so you might want to download the game and/or watch those videos first.

I hope these videos are helpful to someone just starting out with AGS!

Dave
#56
Hints & Tips / Re: Sammys quest
Mon 08/11/2004 04:41:44
Wow... ok, to make the rat trap:

Spoiler

Go to the market and pick up the rat poison on the shelf.Ã,  Then operate it to get a piece of string.Ã,  Next, use the cheese with the book, then use the string with the book.Ã,  This makes a rat trap.Ã,  Use the rat trap on the rat to capture it.
[close]
#57
Hints & Tips / Re: sammy's quest
Mon 08/11/2004 04:36:57
Here's how to get rid of the wolf:
Spoiler

You need to get the bone from the dungeon.  Then, take the bone to the wolf and give it to the wolf.
[close]
#58
Uhh, has anyone noticed that CJ hasn't responded to this thread in a while?  Hmm, I hope it doesn't mean....
#59
Maybe you could try downloading the game again.

After it says "Vipersys and JDE Entertainment Present" you should hear music start to play.  Do you hear the music?  Do the words disappear before it hangs, or does the computer freeze while the words are still on the screen?

The intro is a cutscene, so you should be able to skip it.  Try pressing a key before the computer locks up, to see if it takes you to the main menu.

If someone would like to try to debug the problem, I can send the source code...

densming
#60
Hints & Tips / Re:Sammy`s quest.. the wolf
Wed 28/01/2004 04:25:26
You need a bone to make the wolf go away.  Get the bone from the dungeon inside the house.
SMF spam blocked by CleanTalk