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

#1
Hi all, I need someone to script some minigames for me.
Here is the first (it's the only one I've got yet):

What I want to do is not actually run a separate mini-game, but simply have a room with objects and stuff which will be the game.

To be precise, it's going to be part of some mysterious machinery and so you'll need to solve the puzzles to start up the machine's actions. What I want to do is this:
- Have a grid around 7x7, where the whole picture has to be lots of lines connected through a central power tile. All you do is rotate the tiles until the ends match.
- When a tile is connected to the power supply, I want them to light up, whether it's the correct extension or not.

I realise this sounds very confusing, but for a 100% perfect illustration play this game:
http://www.chiark.greenend.org.uk/~sgtatham/puzzles/netgame.exe

So basically I want to do exactly what that game does.

I now work full time ( :() so I don't have much time to work on my wonderful game.

I was wondering if there's anyone who would be willing to script the whole minigame for me? I will definitely give a credit in the game, and if there's anything else you want I'll see what I can do (no money I'm afraid!). There will be a couple more minigames after this one.
Anyone who wants the challenge, go right ahead!

As for my game story, you are an explorer and you crash land your plane on a mysterious island and have to discover the secrets. I don't want to give anything away but think of games like Montezuma's Return, Entombed and Myst.

I'd post a screenshot but don't know how to link to an image on my computer.

AntmanJB

Edit: OlafMoriarty has said he'd help me. If anything changes I'll update this.
#2
Yes, I meant AGS games....

That answers my question.

I might check out that Lassie thing, though, it looks interesting.
#3
Hey, is there any way to upload games and have them playable online, like Flash games?

That's all.

Thanks
#4
Yeah, it's true that your behaviour can change around certain types of people.
I also used to work at a fast food place, and some of the people there were the funniest I've ever met in my life.

Actually, working there kind of slowly turned me into an asshole (lol). One of my co-workers agreed that it was happening to him, too.
Once I got to the point where I was pretty much a veteran, I was pretty confident, and I used to be a smartass and stuff. But not in an extremely bad way, it was more just to tease the girls. Some of them gave it back, too.

Also, apparently that was construed as flirting by one of the female managers (who was the same ages as me). I was surprised at the accusation but I suppose she was sort of right.
#5
General Discussion / Re: Anonymous?
Tue 19/02/2008 04:12:31
Meh, I don't like participating in religious discussions.

Everyone is too stubborn.

I'll just say that I'm Catholic and normal.
#6
Ok awesome, I didn't really know what Drawing did, but I read up on it and now I added the rest of the tiles. I guess I should probably replace all the objects with Draws to make it all the same.

I put in the codes you gave, except for the one declaring the struct_tiles and bools thing. (AGS didn't like it, something about needing a '{' or not recognising the struct command.)

The problem is, it's getting an undefined token 'tile' error.

Sorry to be so needy, but I think I'm probably going to need all the scripting for this puzzle.... at least then I can go through it and understand what's happening.

*sigh* I hope my other puzzles don't get this complicated (or if they do, that I can do them).
#7
Aaarrrggghhh

I modified each of my tiles plus the background to get them all even. Now they line up great.

However, when placing them all in, I reached the maximum 40 objects per room! I need 49 because it's 7x7! Damn it! Should I resize it 6x6 or is there a way around it?

Oh and KhrisMUC, I went over your script, it makes lots of sense. The only bit I didn't get was the "%" symbol in the left and right commands.
#8
First of all, Dualnames, you lost me with that post, sorry.

Secondly, AGS is giving me some strife.
I'm using 640x400 backgrounds, yet as mentioned somewhere else, AGS makes them 320x200 for the purposes of the editor. This is stupid, because now I can't align the squares(objects) onto the puzzle board(background) properly.
Each time I move them one pixel, they move TWO pixels because of the resizing.

Due to this, I can't align the squares. Is there any way to get around this? I tried doing numbers like 63.5 but they weren't allowed.
#9
Okay cool.
I'd like to learn as I'm implementing this stuff, but you'll probably have to put little notations next to each script command you give me to spell out what's happening!

If I put the script in the room right at the start, won't it get an error if there's no function before it? Or maybe it doesn't with those commands.

Anyway, I have to go now, I've designed the solution and I'll do all the objects (tiles) over the next few days and keep this thread updated.

Thanks, I'll definitely be in touch soon to ask for more code! Hehe
#10
Ohhh now I understand! Each of the four neighbours has a number so they can be identified in relation to the given tile.

Having said that, the code you gave went straight over my head. I'm guessing I should put that simply in the room script on first start?

Sorry to be so thick about this.
P.S. Should I be private messaging you about this?
#11
Hey, thanks for the speedy and helpful reply!

I'm not terrible at scripting, it's just that I don't know a lot of the commands.
I've just read up on Arrays and Structs to better understand what you said.

Im not 100% sure what you meant by Neighbour being -1 if there's no adjacent tile in a "particular" direction, and also the reading off a level file thing.

I vaguely understand what it's supposed to do, but the details of it escape me a bit. I think I'm going to have to take you up on your offer to help script it! (I'll definitely give you credits in the game.)
To summarise, a tile checks if it's connected by its neighbours to the central power tile, and if so, it lights up. If it's connected to a neighbour but no power, no light.
Is that right?

Oh, and I'll probably use a pre-set puzzle. I want it to be quite large, maybe 7x7 or more. That's an interesting idea about randomising it but I won't bother.

If you don't mind, I'm going to need some step by step scripting advice.
Sorry, thanks!
#12
What I want to do is not actually run a separate mini-game, but simply have a room with objects and stuff which will be the game.

To be precise, it's going to be part of some mysterious machinery and so you'll need to solve the puzzles to start up the machine's actions. What I want to do is this:
- Have a grid at least 5x5, where the whole picture has to be lots of lines connected through a central power tile. All you do is rotate the tiles until the ends match.
- When a tile is connected to the power supply, I want them to light up, whether it's the correct extension or not.

I realise this sounds very confusing, but for a 100% perfect illustration play this game:
http://www.chiark.greenend.org.uk/~sgtatham/puzzles/netgame.exe

So basically I want to do exactly what that game does. Even if I limited the grid to 4x4, which would be very easy to solve, wouldn't that still involve an ENORMOUS amount of scripting? I really can't think of an efficient way to do this.

Edit: It's been about six months since any replies to this...
I now work full time ( :() so I don't have much time to work on my wonderful game.

I was wondering if there's anyone who would be willing to script the whole minigame for me? I will definitely give a credit in the game, and if there's anything else you want I'll see what I can do. There will be a couple more minigames after this one.
Anyone who wants the challenge, go right ahead!
I might go post this in the other board about recruiting people as well.

AntmanJB
#13
Okay thanks, that worked. I didn't bother with the Title command though, because I'm not using it.

What's the difference between the titles and credits anyway?

But my real question is this: Seeing as the JumpToRoomAtEnd does not work when the message has a "[" at the end of it, how can I keep the message onscreen and only change the room when the player has clicked anywhere on the screen?
#14
Since I haven't been able to find detailed explanation of the typewriter settings, I'll ask my questions here so everyone can learn.

Basically, I can't make heads or tails of it. Check out this script I've whipped up:
Code: ags
function room_AfterFadeIn()
{
Credits[0].CreditStyle=eCreditTypewriter;
Credits[0].DefaultCreditFont=3;
Credits[0].DefaultCreditColour=15;
Credits[0].TypeDelay=10;
Credits[0].AddCredit("Hello[[this is the credits module[[goodbye");
Credits[0].Run();
}


All it does is scroll the text upwards like normal credits, it doesn't do the typrewriter thing. I don't get it. I could use a how-to.

Thanks
#15
This is a cool module, I'm currently using it in my game.

However, I have encountered a few issues and I think other people would have them too.

How can I add an "Open Journal" button to the GUI, and a "Close" button in the journal? I can't seem to find any script commands for this.

Also, when new entries are added, I don't want the journal to pop up automatically, I just want it to update itself and let the player open it when they want to.

I might add a sound effect to indicate new entries, for a good example play the game "Submachine 5: The Root". Edit: I've been able to add sounds for the turn pages buttons and also in the global script for AddEntry. Now for the opening and closing of it!

Edit again: Ah! I've done it! Despite scripting not being my strong suit, after searching through the help file I found some commands. gui[number].visible brings up the journal and closes it. I put one on the icon bar and another in the journal itself. Works perfectly.
#16
Hey everyone, thanks for your replies. There are some good suggestions there that I should try.
Although, building up the computer may be a bit out of my expertise range. I'll start off with the check programs and cord checking first. I'm not sure when I'll get around to it, it seems to be okay now, although my sister's profile still seems to be at square one.

By the way, the computer is not in the sun, but may be a bit restricted in terms of space and stuff. We've tried to make adjustments, such as drilling a hole in the desk right where the fan goes, but it's still a bit compacted. Something to note, previously I had started to get the idea that it generally happened on hot days. Not sure if this is really the case but it led me to the overheating idea too. Oh yeah, it's pretty dusty in the computer case too, but I'm not sure how to go about cleaning in there.

To answer someone's question, yes I have XP Pro, SP2 and it does run those checkdisks itself sometimes when it's playing up. Can someone maybe give me a site to download memtest? When I did it last, it wouldn't run when I started up the computer, and I tried on a few different floppy disks.

Thanks again
#17
Hi all, I was just wondering if anyone could help me with the computer trouble I've been having.

First of all, I have a Pentium 4 3.6GHz. It's about 2 years old.
Now, every 6 months or 1 year, the computer starts playing up. The most common issues are:
- while starting up, it doesn't recognise any hard drive and I have to restart multiple times
- during startup or while using the computer, I get that blue error screen which says "beginning physical dump of memory"
- also while using the computer, I get these Windows alerts that say "some file can't be saved right now. This may be caused by a hardware failure" or something like that
- and just yesterday, when my sister logged on, it screwed up and her profile is basically back to when Windows was first installed! She lost all of her documents! I'm really not happy about that
- sometimes, when starting up, Windows will run its CheckDisk which will sometimes fix up things but sometimes not.

So based on all these errors, I think it may be hardware issues with the hard drive and RAM?
Last time this happened, I emailed the companies and Seagate told me to use SeaTools and the RAM co told me to use MemTest, which doesn't seem to work at all.

What usually happens is, the problems go away after a few days or a week. But this time, with the loss of my sister's stuff, I'm concerned.

Any advice would be greatly appreciated, thanks.

P.S. I'm in the right forum, aren't I?

Edit: Yes, last time this happened I checked the cords, couldn't see anything wrong. But I'm no specialist. Either way, it's fixed itself before so probably isn't a loose cord.
#18
I'm from Australia.
What do you want to know for?
What's this you're planning?
#19
Where do I upload my game to when I want to post it? (And how?)
Do I need to include all the images I used for my backgrounds, or are they contained somewhere in the game itself?
Thanks, I'll post my game as soon as the SpinLock module gets fixed. If you know about this, check the post in the Beginners' forum.
#20
Like I said, I'm having trouble with the checkcombo command. Everything else works.
The updated module is still only an empty folder.
Every time I download it it's the same. Nothing inside the zipped folder.

By the way, I went back and looked over the code you suggested and added it to mine, but it still does nothing.
I don't know what's wrong.
SMF spam blocked by CleanTalk