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

#1
General Discussion / Re: Election Season!
Thu 22/04/2010 18:05:14
Out of curiosity, which British party is closest to the American Libertarian party?
#2
I've tried writing a simple RPG in AGS and I have to say you'd be better off coding it yourself in C++ or using an engine like Construct. AGS is powerful enough to make an American or Japanese style RPG, but the amount of coding required would almost be as much as what you'd need to make one with an engine like Irrlicht anyway, plus you have even more power.
#3
Irrlicht rocks. I've made two games with it (not really worth playing but they taught me a lot) and its very easy to work with.
#4
Daggerfall has just been released for free by Bethesda! You can get it off of their site.
#5
This is an oldie but I'd recommend Betrayal at Krondor.
#6
Okay, to make this short: When diagonal loops are active, the direction seems to be calculated around 45 degree increments. This is fine in many cases, but in some instances (case and point: isometric projection), different degree increments are preferable. Would it be possible to make the restraints for each loop adjustable?

     
#7
I've been a Trekkie for a long time but I don't remember an episode where they kill natives because they're commie savages. What's the title?
#8
Quote from: dkh on Sat 23/05/2009 02:07:22
Quote from: Anteater on Fri 22/05/2009 23:11:57
It's at times like this that I miss C++  ;D

For the record, C/C++ doesn't exactly take kindly to null pointers either.
I was actually referring to C++'s ability to add variables to classes easily, thus eliminating the need for global variables.

Thank you for the help; I forgot to initialize the array with the new keyword.
Yeah, I know the loop doesn't work quite right; I hacked it together in a hurry.
#9
In my script, every enemy has an active time battle variable (if you've played any oldschool Squaresoft games, you'll know what I'm talking about). The variable is between 0 and 100, with 100 being full. When the gauge is full, the enemy attacks. The problem comes when assigning an ATB value to each enemy. Since properties are read-only, I'm using a 1D array for the ATB gauge, like so:
Code: ags
int atb[];
int j = 0;
function repetedly_execute()
{
  
  while(j<Game.CharacterCount)
  {
    atb[j] = atb[j] + 1;
    if(j > Game.CharacterCount)
    {
      j = 0;
    }
  }
}

Then, this function causes will contain the code for the actual attack process:
function enemyBattle(this Character*)
{
 
  if(atb[this.ID]>99)
  {
    PlaySound(3);
  }
}
This function is an extender used by enemy characters. Obviously it isn't close to being finished yet. My problem is that the if line causes a null pointer error.
What am I doing wrong?
At the end of the script, I'm exporting the atb[] variable, if that makes any difference.

It's at times like this that I miss C++  ;D
#10
Beginners' Technical Questions / Re: Key codes
Fri 22/05/2009 23:03:37
If I understand correctly, I think you could use an array to store the numbers contained within the code. Then, just compare the code that was typed by the user with the correct code.
#11
I've been looking for free/open source video editing software that includes the ability to add soft glow as a post effect. I've tried WAX but that's one feature it doesn't seem to have. Any advice?
#12
Critics' Lounge / Re: Alien character WIP
Thu 14/05/2009 20:37:44
I have to say it looks like Jar Jar with a slug body.   :)

Seriously, though, it looks great, although as previously mentioned the shirt is a little flat. The perspective seems to be a tiny bit off. Noticed how the buttons look off-center.
#13
I think so. Thanks.
#14
Is it possible to change the origin of a sprite? I looked through the manual but couldn't find anything.
Specifically, I need to change what the "bottom" of a character sprite is.
#15
Although the syntax that AGS uses is somewhat similar.
#16
Holy cow it was set to 16 bit.   :-[
Mods, feel free to get rid of this topic.
#17

Here's a simple test pattern I was using.
#18
Yeah I'm sure of that. I think I'm doing something very wrong with my image editor.
#20
Gimp. I'm pretty darn sure that the images have alpha channels.
SMF spam blocked by CleanTalk