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

#1
Hey, I don't think there's a way to do this in the editor (maybe someone else knows?) But you could do it manually using SetViewport. Something like this in the room repeatedly execute function:

Code: ags

SetViewport((player.x - 160), desired y coord);


The saving in image size may not be worth it though.
#2
Quote from: Matti on Wed 26/11/2014 14:23:18
Quote from: Vincent on Wed 26/11/2014 11:35:43
Or do you mean clicking somewhere else next the button OK ?

Yes, formica meant that you have to click to the right of everything (items, ok-button..) to work. The area you have to click is shifted.

I remember having a similar problem years ago but don't remember what the problem/solution was  :-[

I thought about the cursor hotspot too, but you said it works with other GUIs. Is the inventory GUI the only one from the new game template and you made the others by yourself? Could there be a resolution/coordinates problem? Have you tried making a new inventory?

Yes that's exactly it, you have to click to the right of the item you want to click on. I did try the cursor hotspot but it wasn't that either, and anyway everything is shifted by more than the width of the cursor. I haven't tried a new inventory yet but I'll post back here when I do if you're interested.

Thanks for the help everyone! I really appreciate it.
#3
Quote from: Vincent on Wed 26/11/2014 00:48:07
I'm not sure if this hint could be helpful, but I just try to guess your issue.
This is my idea, did you check this section already ?

int InvWindow.ItemHeight; / int InvWindow.ItemWidth;

Gets/sets the height of the rows in the inventory window. You should generally set this up in game_start to the height of your largest inventory item.
The default is 22.

Example:

Code: ags

invMain.ItemWidth = 50;
invMain.ItemHeight = 30;


Thanks for the suggestion guys, but messing with this doesn't seem to help. It's also not just inventory items but also the OK button, which is just a regular GUI button and not within the inventory area. All my other GUIs work fine, I'm not sure why this one is so mixed up.

Maybe I'll just re-make it and see if that works, it's not like its complicated :-D
#4
Hey! Sorry it took me forever to reply to this. I know very little about AGS so I can't say, but I did scour the code and remove everything so I guess it is the problem Crimson Wizard is talking about? I ended up rolling back, which wasn't as bad as I thought it would be at all. Out of curiousity I tried the module again, and this time got it working completely fine on the same game, though I'm sure my bad quitting habits persist.

Thanks hedgefield for the cool module!
#5
I'm having a bizarre problem with my inventory GUI - the hitbox? for everything is moved to the right of the displayed sprite by some amount.



For example if I click the pink block thing I would get the key, and if I click to the right of the OK button it will work as if I've clicked it. I haven't had something like this happen before, any ideas please? This is basically identical to the default inventory but I've deleted the extra buttons.

Thanks!
#6
AW YEAH definitely in on this, I want that hat trophy real bad.
#7
Ok I'm gonna close voting now, and announce the winner in the edited first post. This was a close one! lots of ties.
#8
Quote from: aikex222 on Fri 21/11/2014 23:40:49
nooooooooo :C i was sending mine now xD

Please do! I'm giving a bit of slack due to timezones and such. I'm sure no one will mind.
#9
Ok guys, opening this for voting! You can vote in the thread or anonymously via message to me.

There are 3 categories you can vote in:

Concept
Artistic Execution
Playability


Which are exactly what they sound like.

Vote your hearts out! These are what you'll be winning, along with respect and admiration of course:

Quote from: formica on Fri 21/11/2014 09:16:20

#10
Trophies are done!! :-D I should clean up those stray pixels but they're ready to go.



I don't know if it comes across but it's meant to be from everyone's favourite scene in Temple of Doom.

Last chance to enter guys, I'm going to open this for voting tomorrow. That's a shame adventuress, maybe next time?
#11
Ahhhh no Cassie! The worst feeling in the world, when the little box of doom pops up. Still I think the result is awesome! I like the weird rainbow halo effect on that light column thing, really cool.

Kastchey: Woah now. I would definitely play this game. I can almost hear the like velociroptor scream that thing would make.
#12
Quote from: jwalt on Fri 24/10/2014 03:36:46
Awesomeness
That looks fantastic! I'd say it counts. Maybe more so with every passing day.

Quote from: selmiak on Thu 23/10/2014 21:29:15
indeed a cool theme. And please tell me where is that last screen (bottom right) from?

Cheers :-D That one is from the 2005 King Kong. Miserable movie but pretty cool sacrifice pylon-thingy.
#13
Sweet, glad you guys like it :-D Can't wait to see what everyone comes up with, there's a lot of interepretation that could go on.
#14
Quote from: Snarky on Mon 20/10/2014 20:06:44
formica, just want to say that your background is ace; it's a shame it won by default, but I think it would have taken it against most comers anyway!

Hey, thanks heaps :D Sci-fi is my favourite topic so it wasn't a huge stretch.

New thread is up!
#15
AND THE WINNER IS...

Thank you guys for making this blitz completely awesome. I loved waiting to see each new piece as you finished it.
Here are the placings:

Concept category:

     Tied between Aikex222 and kastchey with 3 votes each!
    jwalt with a close 2 votes.
    Cassiebsg with one vote.

Artistic Execution category:

     Kastchey with 7 votes!
    Tied between jwalt and aikex222 with one vote each.

Playability category:

     Aikex222 with 6 votes!
    3-way tie with one vote each: jwalt, durinde and cassiebsg!

Congratulations and thank you guys again! We need someone to start the next one, do any of you two 1st placers want to have a go? First come first serve since we have 2 this time.

---------------------------------------------------------------------------------------------------

UNHOLY TEMPLE


Most temples are nice places to commune with a benevolent god. Some are not.

Your evil temple can be for any god, demon, entity or alien. The only criteria is that this deity demands BLOOD SACRIFICE, and it will not be denied!

Your entry must be able to be used as a background in AGS, but what sort of place it is is completely up to you. Maybe it's a nice-folk church in the Midwest with a dark secret, or maybe it's a golden edifice built in the skeleton of a space dragon. Go nuts.

Please submit your entries here by the 21st of November. There will be trophies!
#16
Welp, fair enough. I'll start a new one tomorrow then :-D Gotta think of a theme.
#17
Aw, well, thanks guys! I am happy to wait though if you want to keep working on that, Cassiebsg? It's looking awesome. I would rather wait than win against an empty field (laugh) And please don't stop posting them!
#18
That is an awesome plan :-D Are you using sketchup or something like that? it looks great!
#19
Quote from: sthomannch on Fri 03/10/2014 19:52:39
Apart from popups showing off a few bunnys in tight lingerie, nothing here. Either you are in the wrong forums or consider another provider.

Wow really? The link is working for me but maybe that's part of the trick o.o I'll find another host.

EDIT: Ok, the host has been changed to Mediafire. Sorry for any inconvenience.
#20
Hey thanks guys :D Can't wait to see some other entries

Quote from: selmiak on Wed 01/10/2014 15:00:24
sweet indeed, an entry already.
What do you mean, finish it? This looks great already!

Oh, just haven't done a pixel pass yet. And the 'colour's are a cheap photoshop filter (laugh)
SMF spam blocked by CleanTalk