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

#321
I have the following if statement:
Code: ags

if (inventory[player.ActiveInventory].ID == GetGameParameter(GP_NUMINVITEMS,0,0,0)) {


However, even though I've called for the item's ID number, I still get the error:
Quote
Type mismatch: cannot convert 'Inventory Item*' to 'int'

Is inventory[player.ActiveInventory].ID not an int?
#323
Thank you for the suggestion.  I will look into it.
#324
Wow!  That was fast.  Thank you.  I may make it open source, after I'm finished with it.  I still have to build the story and the levels and whatnot.  This is just the skeleton with a few tendons.
#325
"Good day pilot.Ã,  We need your skill now more than ever.Ã,  The Crrle have returned."

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

Progress:

Graphics:Ã,  100%
Music:Ã,  0%Ã,  (If you're interested in helping out, PM me)
Sound:Ã,  100%
Story: 100%
Coding:Ã,  95%Ã,  (I'm sure there's at least 5% worth of bugs still to be fixed)

Overall Progress:Ã,  79%

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

ChangeList for last updates:

*From Beta .085 to Beta 1.0
Ã,  -Three new levels
Ã,  -Three new ships (Class A & S) unlockable
Ã,  -Created menu screen
Ã,  -Fixed some errors with the forcefield positioning
Ã,  -Fixed some bugs that came about because of massive asteroids moving about
Ã,  -Added sound effects
Ã,  -Fixed a slew of typos (thanks to Colxfile)
Ã,  -Various other little bugs fixed

*From Beta .07 to Beta .085
Ã,  -Four new levels in the Incendium-Feuer system
Ã,  -Three new ships (Class B) unlockable
Ã,  -Added a forcefield around your ship to determine how many times you can be hit before being destroyed
Ã,  -All things in space now move about, making the levels far more dynamic and challenging
Ã,  -Added a status bar of sorts that tells how much power your forcefield has left, and how many seconds you have (if the level uses a timer)
Ã,  -Some scripting inconveniences dealt with

*From Beta .06 to Beta .07
Ã,  -Mouse and Arrow Key ship placement
Ã,  -Explosions upon ship destruction (via my Particle Engine)

*From Beta .02 to Beta .06:
Ã,  -Four new unlockable ships
Ã,  -Four new playable levels
Ã,  -Updated menu colors
Ã,  -Updated menu graphics
Ã,  -New Temporary menu with save/load
Ã,  -Giant asteroids

*From Beta-Beta to Beta .02:
Ã,  -Level and Ship select GUI's
Ã,  -Four playable levels [Mirk System]
Ã,  -Some scripting flaws corrected

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

Screenshots:







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

Download:

Click the link below, then find the link "Reutrn_of_the_Crrlee..>", and click that to begin the download.
http://geocities.com/oyamuka/

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

Please comment/make suggestions here.Ã,  Thank you for your time, and I hope you enjoy!

-Regards, Akumayo
#326
Oh, oops, that was a stupid mistake, and I was looking at the hotspot part of it for solutions  :-[
It's supposed to be:  player.x, player.y

BTW, thanks!
#327
I have the following line of code in my repeatedly_excecute:

Code: ags

if (Hotspot.GetAtScreenXY(character.x, character.y) == hotspot[talktocheck_ak]) {


talktocheck_ak is a variable, I have already ensured that it is set to a number 1-29, so it doesn't violate the hotspot numbers.
The following error is generated for the above line of code:

Quote
'[' expected

What have I done wrong?

Thank you for your time - Akumayo
#328
Well, it's been three days, does Ashen win?  What's happening Rocco?
#329
A GUI seems to be the most logical answer here, as there is no limit to GUI buttons.
#330
Well, I suppose I'd better vote too, since Ashen did...

At first glance, Endrews would be my choice, becuase his battles are fun and party based, which is difficult to script, he has my kudos for that.

However... Ashen's commented code makes it easy to understand what is happening and why, and I think if I were to try to build off one of the entry's, or put them into a game, I would use Ashen's, becuase it would be easiest to change and re-engineer.

So, I cast  my vote for

Ashen
#331
I started my entry from scratch.  It's the first one I've ever build using structs instead of individual variables.
#332
Interesting idea... maybe it could be invulnerable so long as it is still somewhat transparent?  That would give you time to get out of the way I think.  I will it.  BTW, thank you for playing.
#333
I'm too lazy to capture any screen shots, deal with it.Ã,  So I'm posting this here, instead of in the Games In Production thread.Ã,  Let's face it, I'm never going to make an Adventure game.Ã,  It's just not in meÃ,  ;D.

This version features:

-A ship to pilot
-Guns to shoot with
-Stuff to shoot at
-More stuff to shoot at
-More stuff to shoot at
(what more could an arcade need?  ;D)
-Stuff to dodge
-More stuff to dodge
-A short synopsis of what's going on, and the controls
-No sound (There's no air in space, therfore there is no sound, so I don't have to make sound effectsÃ,  ;) ... yet)

I hope you play it and find it at least mildly enjoyable.Ã,  I would highly appreciate any comments or ideas you have for it to be posted here.

Download:
http://www.2dadventure.com/ags/space_battle_alpha_alpha.zip

-Regards, Glacies Akumayo
#334
Ahh, that seems to have been the problem.  It seems the engine counts in 10's for transparency.  Thank you very much Ashen!
#335
I'm pretty positive that I'm calling it correctly.  It is called by a function, and this script is also in that function:

Code: ags

  if (cCoppera.Transparency == 0) {
    score ++;
    cCoppera.Transparency = 50;
  }
  else if (cCoppera.Transparency == 50) {
    score ++;
    cCoppera.ChangeRoom(-1);
  }


This script works perfectly.  The first run makes cCoppera half-invisible, and the second run makes it disappear.  This script (the one above) is in the same function, but errors like I described:

Code: ags

if (cIronf.Transparency == 0) {
    score ++;
    cIronf.Transparency = 33;
  }
  else if (cIronf.Transparency == 33) {
    score ++;
    cIronf.Transparency = 66;
  }
  else if (cIronf.Transparency == 66) {
    score ++;
    cIronf.ChangeRoom(-1);
  }


Thank you for any help you can offer.
#336
I'm having a problem with the 'if' an 'else if' operators.Ã,  Here's the code:

Code: ags

if (cIronf.Transparency == 0) {
Ã,  Ã,  score ++;
Ã,  Ã,  cIronf.Transparency = 33;
Ã,  }
Ã,  else if (cIronf.Transparency == 33) {
Ã,  Ã,  score ++;
Ã,  Ã,  cIronf.Transparency = 66;
Ã,  }
Ã,  else if (cIronf.Transparency == 66) {
Ã,  Ã,  score ++;
Ã,  Ã,  cIronf.ChangeRoom(-1);
Ã,  }


The problem is that the first time the script is run, cIronf's transparency is set to 33, but after that when the interaction is run, nothing happens.Ã,  Why is this?Ã,  How do I fix it?
#337
Thank you pesty, for the trans and the link.
#338
It's... French???  Really?!?  :o :o  :-[

I feel stupid...
#339
Can someone translate this for me, please, I'd really appreciate it, as I can't translate it at all:

"Nous avons également une banque de smileys que vous pourrez mettre dans vos messages sous forme d'un code qui se transformera en image dès que le texte sera posté !
Par exemple :Ã,  Ã,  Ã, :) se transformera en (img)
Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, et :lol: se transformera en (img)"

Thank you for your time!
#340
Code: ags

if (CodeComp.Deadline == 14) {
  Ashen.EnterCodeComp = 1;
}
if (Ashen.EnterCodeComp == 1 && Akumayo.EnterCodeComp == 1) {
  Ashen.WinCodeComp = 1;
  Akumayo.WinCodeComp = 0;
  Ashen.Mood = eMoodHappy;
  Akumayo.Mood = eMoodSad;
}
SMF spam blocked by CleanTalk