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

#21
General Discussion / Re: Democratic Socialism
Sat 04/11/2006 05:00:43
But Socialism in general is stronlgy against the types of communism that have been implemented in the world thus far (Leninism/Marxism).
#22
General Discussion / Re: Democratic Socialism
Sat 04/11/2006 04:51:49
Neat!  I wish US's Socialist Party was strong enough to put up big candidates... my state doesn't even HAVE a socialist party.  I can't vote anyhow... the voting age should be 15... I am offended...
#23
General Discussion / Democratic Socialism
Sat 04/11/2006 04:29:29
I know most of you aren't from the United States, but for some reason, I feel the need to post this.

I've become incredibly infatuated with Socialism.  The overthrow of the capitalist empire!  It makes me want to participate in an armed rebellion just to read about it.  Anyhow, I was wondering if any of you had opposition/support for Socialism, and particularly, the SPUSA.  If so, I'd like to discuss it.

-Regards, Comrade Akumayo
#24
Hrm... that's strange, that they aren't updated.  Maybe try adding the line
Code: ags

UpdateInventory();

in your repeatedly excecute.  (Though I think the graphics should be updating on their own.)  If that doesn't work, perhaps you could let us know exactly what you're doing to test this?
#25
Understandable, I wasn't aware that you were new to scripting.

'money' is an integer.  At the very top of your global script, before any functions, you'll need to put this code:

Code: ags

int money = 10;  //Will give the player 10 dollars to start with
export money;


Then, in your script header, put the code:

Code: ags

import int money;


This will make the integer variable money available to use in your global script and in your room scripts, so you can give and take money with simple things like:

Code: ags

money += 5;


Hope that helps ^_^

-Regards, Akumayo
#26
I'm fairly certain this can be done in AGS.

I could be wrong, of course, but if you had an int "money", you could check it in repeatedly_excecute to change the image/name of the item.

Code: ags

repeatedly_excecute() {

if (money > 0) {

Ã,  if (player.InventoryQuantity[iMoneyItem.ID] == 0) player.AddInventory(iMoneyItem);

Ã,  String moneyname = String.Format("%d dollars", money);
Ã,  iMoneyItem.Name = moneyname;

Ã,  if (money > 0 && money < 50) iMoneyItem.Graphic = 1; //Change to small pile graphic
Ã,  else if (money > 49 && < 200) iMoneyItem.Graphic = 2;Ã,  //Change to large pile graphic
Ã,  else if (money > 199 && < 1000) iMoneyItem.Graphic = 3;Ã,  //Change to huge pile graphic
Ã,  else iMoneyItem.Graphic = 4;Ã,  //Change to massive pile graphic

}

else player.LoseInventory(iMoneyItem);



This would make it so that if you had money, you'd have an item for it, and if not, you wouldn't.Ã,  The item's graphic would change based on how much money you had, and it's name would also.

-Regards, Akumayo
#27
I'm fairly certain that they're permanent, along with characters and such.
#28
Today I realize that mathamatics never ceases to disapoint me.  People don't look at it correctly.  They think of things only as two values having to be of the same nature.  You can't add two apples and three oranges, for example.  Your teacher tells you you can't.  It's why you can't add 3x and 4.  I'll figure out a workaround eventually though, you'll all see....
#29
Quote from: R4L on Sat 23/09/2006 04:59:15
have you considered using the mouse for aim? Like Abuse?

Yes, yes I have.  I thought seriously about it, especially in the earliest stages of development, when it was important to find a stable system.  I chose not to use the mouse solely because I like the arrow keys better for movement left-right, and by using the mouse + arrow-keys, you end up with that uncomfortable scrunch of having your right hand on the mouse, and your left hand flimsily operating the arrows.  The system I'm using presently is by far the easiest for me.  In the final version I hope to have a system by which the player can customize their controls completely, and assign new keys to perform actions (like in some PS2 and XBOX games).

-Regards, Akumayo
#30
Just a reply to let you all know that the project isn't quite dead.  Two weeks ago I finished coding the Holy Empire of Terra troops/weapons, and began implementing them.  This weekend, I'm not feeling so productive, but as a reassurance, the project isn't dead, it's just sickly.

-Regards, Akumayo
#31
Quote from: Pumaman on Tue 19/09/2006 22:05:47
You're not calling it from game_start, are you?

Umm.... maybe.... does that make for a problem... ehehehe?
(I'll move it, and see if the problem persists)

EDIT:  Fixed, moved to on_key_press, thanks for the help
#32
Quote
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0043B7F9 ; program pointer is -42, ACI version 2.71.894, gtags (24,12)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.

in Fractals (line 29)
from Global script (line 20)


Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.
---------------------------
OK   
---------------------------

There's the error, here's the line's:
Code: ags

if (iteration == max_iteration) RawSetColor(0);
else RawSetColor(iteration);
RawDrawLine(mx, my, mx, my);


'RawDrawLine' line is 29, the error references it.  I haven't a clue what the problem is.  Ideas?

-Regards, Akumayo

PS:

Aaarrg!
#33
Really?Ã,  I'll have to look into that, they shouldn't be...

EDIT:

Checked, I was never prompted for a password, I downloaded and unzipped without problems.  What exactly is happening?
#34
Akumayo Journal Entry #1

Man, wish I had seen this thing before, neat!

Had a weird dream a few nights ago.  SSH, you were in it, sorry.  I dreampt that a new kid moved to my school, and after chatting and getting to know him for a while, I mentioned AGS, and he said he was really into it, and it turned out that he was the mighty SSH!  Then I was shunned for being the lesser of the AGS'ers at my school...

Anyhow, now off to digitally record more poetry and type up my petition to get a break added before lunch, fight the system legally, and get the best results I say.  (A little under the table never hurts though, I get a few teacher signatures now and then.)

-Regards, Akumayo
#36
Sounds useful.  I myself would have no use for it, but I can relate to having many frivolous variables to keep up with something as trivial as how many times one has glanced at a bookcase.  Good job, as usual, SSH.
#37
Only entry, however late.  It might as well win, at least he/she put something working together.
#38
I can't undo .rar, sorry.  I do look forward to trying it out though  :)
#39
Quotean attempt at making someone out there laugh
#40
I'm glad others enjoy it (Mad World).Ã,  I find it very relaxing...Ã,  :)

EDIT

oops, I did't see that there were two pages of repliesÃ,  :-[

Huw:Ã,  Thanks
SSH:Ã,  That particular quote is one of the few that's not out of context, but it's how I feel.

dkh:
QuoteQuote from: "Illuminare Acqua" Akumayo on Yesterday at 12:02
Mad-Hatter says:
you admire Hitler and the Nazis for what they did,


How about the backstore for that one. I hope you have a good one.
I do.Ã,  I mentioned once that the military tactics of the Nazi regime were some of the best seen in the modern world, and everyone then assumed that I MUST support naziism, which I don't.Ã,  I just admired their military tactics.

Helm:
QuoteBut yes, let's make something of this. Give us context on some of the more outrageous ones
A capitol idea!Ã,  Maybe later.
Zor: Thanks
Erenan:Ã,  While I like toquitos as much as the next guy, I've got no refried beans laying about... sorry

As I said... I may make commentary on some others, but it's more tempting to be lazy and wait for someone else to bring them up (after all, I don't know which ones are going to sound insane to the people who weren't there...)

-Regards, Akumayo
SMF spam blocked by CleanTalk