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 - Crimson Wizard

#13441
Ah. Right, I remember problem with ffdshow when playing "Marionette".
If it is installed, you may simply toggle it of at all, or specifically for this game.
#13442
Quote from: Joe Carl on Sun 13/06/2010 22:38:21
I think it doesn't in C++ either, since B is just replaced by A but that A is not replaced at all since it's treated as a variable name.
No, that's incorrect.
The "defined" macro is being literally replaced by its value BEFORE actual compilation. Thus, in C/C++ it will work.

EDIT: Huh, I realized I explained not very clear.
What I mean is that if you have
Code: ags

#define A 1
#define B A

in C/C++, then, at first, all A instances will be replaced, and it will become like this
Code: ags

#define A 1
#define B 1

- in "temporary" code.
#13443
Example:

Code: ags

#define A 1
#define B A

int a[A];
int b[B];

function F()
{
   int aa = A;
   int bb = B;
}


Compiler will show 2 errors -
1) on line "int b[ B ];" error is "Array size must be constant value"
2) on line "int bb = B;" error is "undefined symbol 'A'"

#13444
Hey, adm244 :) nice to see you.

Does the path to game have cyrillic characters?
Does this game run well on any other computer/OS?
#13445
Sketchup?
Never used it myself, but I saw a very cool 3d sequence in an AGS game I beta tested recently; and I was told it's made in Sketchup.
#13446
Well, if you can get target sprite's height value, you can use (Target.y + Height/2) expression instead of just Target.y.
#13447
The fact that Game.InventoryItemCount does not change during run-time is irrelevant. According to scripting language grammar rules, you can't use variable to determine fixed size of an array. And there are (and should be) no exceptions.
#13448
Quote from: DrewCCU on Sat 12/06/2010 19:25:56
Edit:
I tried this and I got an error with the line that holds: "float IncX = dx * ProjectileSpeed / distance;"
It says:
Type mismatch: cannot convert "float" to "int"

If ProjectileSpeed is of type int, it should be converted to float here, obviously:
float IncX = dx * IntToFloat(ProjectileSpeed) / distance;
#13449
I have this suggestion: do not use Walk function at all. Increment X or Y coords of cProjectile respectively every tick, using determined speed. You will need to use vector algebra:

Code: ags

float dx = IntToFloat(cTarget.x - cProjectile.x);
float dy = IntToFloat(cTarget.y - cProjectile.y);

float distance = Maths.Sqrt(dx*dx + dy*dy);

float IncX = dx * ProjectileSpeed / distance;
float IncY = dy * ProjectileSpeed / distance;

cProjectile.x = cProjectile.x + FloatToInt(IncX);
cProjectile.y = cProjectile.y + FloatToInt(IncY);

#13450
Umm..... yeah... so

I am currently looking for a way to implement some stuff, and checking all hypothetical possibilities. And I need an advice from those with deeper knowledge of AGS plugins.

Currently AGS has limitations to how can you organize custom data. For instance, you cannot put custom structs in custom structs, neither create dynamic arrays of custom types.

How optimal it would be to make AGS plugin solely (or primarily) for storing data of a complex structure? Literally, if I make a plugin that defines complex types and registers new script functions to allow work with these from game script, won't that be too much for a workaround?
I also read that plugins won't work in other OSes, like Linux. Is this a serious reason to not use plugins? (I am not aware of how much people use AGS on Linux) Won't be there any way to port same plugin to other OSes?

Lastly, I have a question about IAGSScriptManagedObject and related AGS API operations. Frankly, I don't quite get, what is it for and what can you do with this. Is it possible to, like, expose custom classes to the AGS script user, or something?
#13451
Dualnames, Stupot, etc, call me stupid, but I honestly do not see the reason to fill this thread with nonsense. In fact, I find this teribbly annoying. Even more annoying than icey games' bad grammar.

Isn't what you do a violation of forum rules on its own?
#13452
Well, since everyone speaks about their own, I may mention a quite famous collection of Russian Folk Tales compiled by Alexander Afanasiev.

BTW, thus happened that I own the collection of Folk Tales in 2 books, in english language and with precious illustrations in Palekh style.

If you need, I can scan illustrations, they are quite beautiful and can give you an inspiration :)
Something like this: http://www.facebook.com/album.php?aid=120545&id=115808443372&ref=pb

Well, I can scan text too. However, I have a feeling that it is possible to find Afanasiev's collection in the internet on english for free reading.

Quote from: NikolasIf I have the titles I would buy, research, etc, all I need. I don't want anyone to break copyright by scanning books, etc.
I think these stories are counted as public property, since Afanasiev lived in XIX century.  ;)
Wait.... they are Folk Tales anyway... so, we all own them  ;D
#13453
Completed Game Announcements / Re: Downfall
Sun 06/06/2010 16:31:22
Quote from: Grim on Sun 06/06/2010 05:11:01
Quote from: LocutusofBored on Sun 06/06/2010 04:55:33
Quote from: Grim on Fri 04/06/2010 18:14:01
Oh, one last thing. Downfall has taken Russia by storm and has now sold nearly 10.000 copies over there! :)

Does this mean you've made $100,000 in Russia alone? Wow!

Nah, I wish. It doesn't work like this, unfortunately. Developer only gets a percentage of the price. And in Russia games come really cheap ( compared to the rest of the world).

Well, I see on Akella's website, that game disc costs 315 roubles, which is right about $10. So, Akella DID make $100,000 after all, minus the share they paid to you (whatever it was) ;)
#13454
Icey... :)
thanks.

But what you must do is EDIT your first post in this thread. There's an "Modify" button above each your post. Find your first post at the beginning of this thread and edit it. Put all these descriptions there.

There are certain forum rules, and I feel sorry for your threads that become locked because you don't follow the requirements.
#13455
Icey, I got a terrible feeling that this thread will be locked by forum moderators.

You MUST provide the DESCRIPTION of your game and the DOWNLOAD LINK in your FIRST POST in this forum thread.

Seriously... is this so difficult to do? Do you really think everyone around knows what your NNT game is about? For example, I don't. I don't even know who Neku is.
#13456
<< previous post deleted >>

oops, did not notice you already tried win98 mode ;)

Btw, I run Puzzle Bots on Russian Vista, and I had to set Win98 mode to be able to save/load game. But I did not have any problems since.

NOTE: My username does have unicode characters...
#13457
Quote from: icey games on Sun 23/05/2010 19:05:25
Quote from: AtelierGames on Sun 23/05/2010 09:28:33
Icy. I know you can do it (you did it in your first post). PLEASE edit your last post if you want to add something instead of triple posting. In the space of four minutes. If you don't do this your account will be automatically terminated by the forum computer.

Tha-that's possible?

I dunno if termination is possible but editing your old posts is 100% possible :D
#13458
Quote from: Scarab on Sat 22/05/2010 16:50:17
Quote from: Crimson Wizard on Sat 22/05/2010 14:34:57
icey games, please post here:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36479.0
It's a special thread for finding teammates.

And this award goes to one C. Wizard



Well earned, my friend ;D

Hahaha :D Thanks, I'll put it on my signature.
#13459
icey games, please post here:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36479.0
It's a special thread for finding teammates.
#13460
General Discussion / Re: rpg & OSD
Fri 21/05/2010 22:51:25
Quote from: icey games on Fri 21/05/2010 21:03:00
  But I don't want people to make my games for I want theme to help
What's wrong with teaming up with someone?
Seriously, good games are rarely made by one man. Having a team project allows each member to focus on what's he/she is best at (writing story/drawing/coding etc).
Since you have pretty nice drawing skills, but have problems scripting rpg engine in AGS, you can seek for someone with better scripting skills to help you out.
Maybe you could even find another FF fan :)))
SMF spam blocked by CleanTalk