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

#241
where you are returning the string... where in the code are you calling RemoveExtention

if you have

int x = RemoveExtention(someString)

you will get that error since RemoveExtention is returning a string not an int. But I would think you would get it at the place it was called not in the function itself...

Actually doesnt StrSetCharAt return a string anyway so you would need to have location = StrSetCharAt(location, lenght-2, 0);

The manual isn't much help since StrSetCharAt was obsolete and I don't have a version previous to 2.71 to go back to.

#242
Ladies and gentleman, I give you... my better half!



(if she only knew the pictures of her that I have floating around the internet)

oops didn't realize it was that big
#243
 
Code: ags
if (gInventory.Visible == true) {
 Ã,  Ã, if (IsGamePaused() == 1) {
 Ã,  Ã,  Ã, // Game is paused, so do nothing (ie. don't allow mouse click)
 Ã,  Ã, }
 Ã,  Ã, else {


basically what you have told it to do is if the gui is up, and the game is paused do nothing... Well every time the gui window is up the game is paused... since the inventory gui is popup model... so take that check out and the resulting else... and move it like so...

Code: ags
function on_mouse_click(MouseButton button) {
 Ã, // called when a mouse button is clicked. button is either LEFT or RIGHT
 Ã, //if the gui inventory is visible then run gui visible interactions
 Ã, if (gInventory.Visible == true) {
 Ã,  Ã, if ((button == eMouseRight) && Ã, (Mouse.Mode == eModeLookat)) {
 Ã,  Ã,  Ã, mouse.Mode = eModeInteract;
 Ã,  Ã,  Ã, mouse.UseModeGraphic(eModePointer);
 Ã,  Ã, } Ã,  Ã, 
 Ã,  Ã, else if ((button == eMouseRight) && (Mouse.Mode == eModeUseinv)) {
 Ã,  Ã,  Ã, mouse.Mode = eModeLookat;
 Ã,  Ã, }
 Ã,  Ã, else if ((button == eMouseRight) && Ã, (Mouse.Mode == eModeInteract)) {
 Ã,  Ã,  Ã, mouse.Mode = eModeLookat;
 Ã,  Ã, }
 Ã,  Ã, else if ((button == eMouseLeftInv) && (Mouse.Mode == eModeInteract)) { 
 Ã,  Ã,  Ã, player.ActiveInventory=InventoryItem.GetAtScreenXY(mouse.x, mouse.y);
 Ã,  Ã,  Ã, Mouse.Mode=eModeUseinv;
 Ã,  Ã, }
 Ã,  Ã, else if ((button == eMouseLeftInv) && (Mouse.Mode == eModeLookat)) { 
 Ã,  Ã,  Ã, inventory[game.inv_activated].RunInteraction(mouse.Mode);
 Ã,  Ã, }
 Ã,  Ã, else if ((button == eMouseLeftInv) && (Mouse.Mode == eModeUseinv)) {
 Ã,  Ã,  Ã, inventory[game.inv_activated].RunInteraction(mouse.Mode);
 Ã,  Ã, }
 Ã, }
 Ã, else if (IsGamePaused() == 1){
 Ã,  Ã, //if the inventory gui is not visible, but the game is paused do nothing.
 Ã, }
 Ã, else { //Finally if the gui isn't visible and the game isn't paused, run normal room interation stuff
 Ã,  Ã, if (button == eMouseLeft) {
 Ã,  Ã,  Ã, ProcessClick(mouse.x, mouse.y, mouse.Mode );
 Ã,  Ã, }
 Ã,  Ã, else if (button == eMouseRight) { Ã,  // right-click, so cycle cursor
 Ã,  Ã,  Ã, mouse.SelectNextMode();
 Ã,  Ã, } Ã, 
 Ã, }
}


So basically you just had the pause in the wrong place...


EDIT bah Ashen beat me
Either way will work, mine seems a bit more readable to me though... then again I wrote it :P
#244
One way to make it "jump" would be to make it use a walkable area, and have your walkable areas leap over the other spaces, This would be easiest

More difficult would be to use the math functions and calculate the jump motion and have it move that way.
#245
Actually you set that as the gui background and just position your buttons over the particular areas that do whatever action.
#246
Ok what version of AGS are you using... because the music folder should have been there. Now you said you tried to play as both mp3 and wav... are you just changing the file extentions?

You realllllly need to calm down, collect your thoughts and write out step by step what you did. You didn't even answer half of our questions.

Can you hear the music files otherwise, in other words in some sort of media player? You never stated if you checked anything we mentioned.
#247
Critics' Lounge / Re: schoolgirl sprite
Tue 01/08/2006 10:21:40
Actually Aussie's edit made me figure out what it was...

When aussie edited it made her quadrecepts stick forward a bit which make her look more balanced, the way you currently have it, it makes her hamstrings leading up to her butt look huge... from this angle I believe her quads would show up a bit more... barring that she doesn't have some thunder theighs....

And there is nothing wrong with big boobs on a school girl... my exwife had D's in 10th grade (15-16 years old)
#248
Ok... well lets start from the beginning...

How are you trying to play the music, with PlayMusic(X), are you putting it in the room editor play music on room load, or from the interaction editor?

Next is music1.xxx in your music folder?

What exactly is that xxx (in other words, what file extention are you using), for instance, if it's a MID it is put in the executable, not a vox file.

The answers you provide will help determine an answer for your conundrum.
#249
All your profet are clame to AGS

*runs to make a flash before someone else does*
#250
The main thing I'm looking for would be something like....

Main news page (front page)

General annoucements so on so forth...

Xenoflan game page - progress reports, on just that game...

I'd like to use the same software in one database for both.... with one access point that I can just go in Make a news post, cataglorize it, and it will show up on the correct page...

What I'm probably looking for is a cataglory filter, one that I will remove from the newspost pages itself so that depending on where they come from, it will apply the appropriate filter showing them only the info I want from them...

I'll have to research some more, so if anyone else has had personal experience with this sort of thing please post.
#251
Or,

if (gInvGui.Visible) {
//code here
}

then check if it's paused, then everything else.
#252
Does everything compile before you try to export... I'd wager that there is a closing bracket or parenthesis or a missing quotation mark or something.
#253
Critics' Lounge / Re: schoolgirl sprite
Mon 31/07/2006 08:35:54
Theeph painted over the one crit I have... her lips were HUGE. Like if  Fairuza Balk and Juilia Roberts had a kid and inherited both their mouths...

Secondly is the skintone the only difference between version 1 and two... I don't see much of a huge difference.

Finally, the skirt seems to rise a bit too much in the back... So much in fact that a rear view would probably completely reveal the bottom part of the buttocks, at least from this angle that is what i would expect... I'd say expand the bottom of the skirt 2-3 pixels to give it more fullness heading toward the back. Of course, if her butt is hanging out of the back of the skirt, then it's perfect :D

Also for the second part  of Theephs post, you must now animate them kicking, Rockette style
#254
Crazy random thought... is cEgo block moving? I've never played with the follow character, but it would make sense that while it may still follow, it may not animate if ego is blocking...

Like I said random thought, never used follow char, so I may be completely wrong.
#255
I've been thinking about adding a news post to the front end of my website, basically the first thing the user sees when navigating to my site. But at the same time I'd like it to be flexable enough that if I wanted I could link to it from other areas of the site to different types of new posts.

For instance, The front page would display general news anouncements. On another part of the site, they can click a link to see all the progress news posts about various game/software updates that I'm doing. And in another part of the site they can view all my ranting and raving about various random topics. Lastly I would like the formatting to be easily ediable with CSS, and by easy I mean I'd like to be documented enough so that I know exactly what I'm changing so I don't have to change something and reload a million times to get it to look correct.

I know some of you use these things, so I was wondering what do you use and why, and would it work for what I am wanting? I already created the mySQL database on my site so I just need to install the news software and go from there.

These are the easiest for me to install (since my host actually does the installation for me, I just tell it where to go and what database to use)
WordPress
b2evolution
Nucleus
Serendipity
PixelPost

PixelPost is more for photoblogs so it probably won't do what I want... WordPress, with it's cataglory feature may help me seperate post types for different parts of the site, but I don't know about it's ease of editing...

So anyway of those, which do you use, and will it work for what I want?
#256
Bah... It seem like just when I get going on a game, and finally make some decent progress on it, real life comes and bites me on the butt.

Some may remember that I left for Iraq while working on a game, and subsequently lost that game when I returned home to find my computer so corrupted with viral infections I had to delete everything.

Well those that visit #ags know I've been working on another game some progress blurbs here (Note: I am doing a site redesign, please forgive the mess). Well I found out that I will be leaving for school back in the states at the end of August.

I may buy a laptop in the meantime, but that doesn't mean that I will even have time to work on the game.

I just find it funny that this is the second time that this has happened to me... both times on games that I meant to seriously complete.
#257
Ok so not the most exciting title, but it's pretty much exactly what I would like to see.

Since the music list in the editor has been posponed according to the tracker, I was thinking of an alternate solution.

My problem stems is when running around on the net, I sometimes find music that hits me as, "that would go perfect at X part of my game" so I download it into a folder copy it to the music folder, rename it to musicX then go back to the origional file, call it whatever - musicX.

Otherwise when I go back later I have to check each song to figure out which one is the one I want to use... yes I know I could use a txt file to store that info, but as matter of practice I only have photoshop, AGS, this forum, and IRC open when I'm editing (makes distractions less so I work more)

Ok so my suggested solution.

MusicX*.*

Basically the editor knows it is looking for Music then digits, then when it hits the first non digit number it ignores everything until the .fileextention. This way people could label their songs

Music1 - Intro.mid
Music2 - Title Screen.mid
Music3 - Chase Scene.ogg
Music4 - game over.mid
...
Music32 - sex scene.mp3

I think you get to point. I don't know exactly how AGS parses the music files anyway, but I would guess it had something with filtering out Music seeing if what's left is a number, and then checking the file extention to assign the correct player.

This would just add an extra step of ignoring everything after the last digit after music, and now that I think about it, if ever there was a music manager added to the editor it could use the substring after music for the editor to display.

Anyway I know low priority, but hey the squeaky wheel gets the grease, so I'mma squeaking a bit.
#258
You don't have to black out my name... I'd like everyone to know how sick and depraved I really am...
#259
General Discussion / Re: Free Will
Fri 28/07/2006 12:31:50
Well here's my take, I've been through many different churches, found the Baptist religion, accepted Jesus into my heart, and now I don't really go to church.

I belive God made everything...
I believe God gave us free will...
I believe that God sometimes on very rare occasions intervenes (possibly not even Him Himself but one of his agents... Angels if you will.)
I also believe God put the world on autopilot. The proof is the fact that we have discovered some of His automated systems such as the water cycle, the O-2 cycle and the like.

If God intervened with anyone, its not with that person themself, but with the circumstances around that person, to MAKE anyone do anything invalidates free will. In other words, he won't stop you from drinking and driving, but he may be sure it rains so your car slides down the embankment instead of catching on the dry ground and flipping. Kind of a bad example, but I hope I made my point about that.

BTW, while I am still a believer in God and even Jesus, I don't go to church anymore due to mostly hypocracy. Such as told that an earring on a male, and even tattoos are ungodly as you are desicrating the temple of the Lord... This particular person happened to be a heavy smoker... Since I left the church and went with a whole self made approach to my beliefs, I've found more comfort, and felt more at peace than anytime at church.

Another reason is how SURE people were about something they couldn't prove, to me I know what I feel and I know what I believe, but until I die I won't know for SURE.
#260
In your header:
Code: ags
struct FireFly {
  import static function CreateFlies();
  //in repeatedly execute
  import static function UpdateFlies();
};


And in your script file
Code: ags
static function FireFly::CreateFlies() {


Otherwise you need to export the struct in the module header, and import it in your global script... Either works, but it's just generally easier to make them static.

SMF spam blocked by CleanTalk