The Sinister Design Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new Sinister Design forums!

Pages: 1 ... 10 11 [12] 13 14 ... 118

Author Topic: Ask the developer a question!  (Read 277602 times)

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3245
    • View Profile
    • Sinister Design
Re: Ask the developer a question!
« Reply #165 on: June 13, 2010, 09:53:51 AM »

What does the Nameless One do with all the money?

That's really the Nameless One's business, don't you think? ;)
Logged

MikeW781

  • Black Cape
  • ***
  • Offline Offline
  • Posts: 651
    • View Profile
Re: Ask the developer a question!
« Reply #166 on: June 13, 2010, 11:27:21 AM »

What does the Nameless One do with all the money?

That's really the Nameless One's business, don't you think? ;)
I think it depends-if it involves Rahel, its very much our buisness, isn't it?  ;)
Logged
Currently tied with Zack for the title of Master of Light!

algebra15

  • Red Cape
  • **
  • Offline Offline
  • Posts: 129
    • View Profile
Re: Ask the developer a question!
« Reply #167 on: June 14, 2010, 07:36:37 PM »

How does one refer to a movieclip that is... a cousin?

(The grandchild of a grandparent movieclip)

I want to put, in a class definition, a checking hitTest statement for wave boxes. (In a defense game, waves come, right? So since there are boxes overhead that show wave progress, I needed to set up the game so as the wave box hit the present (like past, future and __), it would start up a wave of enemies. Since I'm no longer in AS2, I can't just use the _level0 that worked for me before)

So can one refer to a cousin, or do you have to have a complex workaround with events and such?
Logged
This is Gambit. The cards are about to explode. Goodbye!

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3245
    • View Profile
    • Sinister Design
Re: Ask the developer a question!
« Reply #168 on: June 14, 2010, 08:14:08 PM »

I'm not sure why'd you'd need to hitTest for that. By "box," you are referring to a progress bar, right? Why not just use a setInterval to time the release of each wave, and scale the bar's x proportionately to time passed during a wave?
Logged

algebra15

  • Red Cape
  • **
  • Offline Offline
  • Posts: 129
    • View Profile
Re: Ask the developer a question!
« Reply #169 on: June 15, 2010, 11:43:36 AM »

Right... thanks a lot :). I swear there was no sarcasm in that sentence.

But unfortunately, I don't know how to do a setInterval, and since I'm lazy, I'd like to use code I already know. Do you think a Timer class instance would work in it's place?
Logged
This is Gambit. The cards are about to explode. Goodbye!

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3245
    • View Profile
    • Sinister Design
Re: Ask the developer a question!
« Reply #170 on: June 15, 2010, 02:28:23 PM »

Actually, what might work better (since setInterval is independent of framerate, and might be unfair to people with slower machines), is to have a simple counter function that runs onEnterFrame. Something like this:

Code: [Select]
var waveCounter:Number = 0;
var timesUp:Number = 5000;

function increaseCounter () {
     waveCounter++;
     if (waveCounter>= timesUp) {
          launchNewWave();
          waveCounter = 0;
     }
}
Logged

algebra15

  • Red Cape
  • **
  • Offline Offline
  • Posts: 129
    • View Profile
Re: Ask the developer a question!
« Reply #171 on: June 15, 2010, 05:36:40 PM »

I see.... sounds great!

Thanks a lot. :)

But one more thing... (although I'm sure I'm going to be back with more questions sooner or later; such is the nature of learning anything)

I read on a blog about the this.parent property of a MovieClip.

I tried to access this in the class definition, and it said that I was trying to access the parent property of a class, which doesn't exist. (I'm turning this into English, of course; error messages are bothersome) Is there a way one can access the parent of a movieclip though a class script? Don't worry, I'm taking your advice. It would  still just be useful.

Logged
This is Gambit. The cards are about to explode. Goodbye!

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3245
    • View Profile
    • Sinister Design
Re: Ask the developer a question!
« Reply #172 on: June 15, 2010, 08:08:11 PM »

Honestly, I'm still trying to wrap my mind around the scope shifts in AS3 myself--I'm probably not the best person to ask. :)
Logged

algebra15

  • Red Cape
  • **
  • Offline Offline
  • Posts: 129
    • View Profile
Re: Ask the developer a question!
« Reply #173 on: June 16, 2010, 11:30:42 AM »

Well, okay. Thanks again for what you've helped  me with so far; it let me get about 400% farther than I would have without.

 :) :D ;D 8)  :-\
Logged
This is Gambit. The cards are about to explode. Goodbye!

Bromtaghon

  • Blue Cape
  • **
  • Offline Offline
  • Posts: 351
  • Current Elemental Master of Cryokinesis.
    • View Profile
Re: Ask the developer a question!
« Reply #174 on: June 17, 2010, 09:57:20 AM »

Is it possible to code in a multi-tile enemy that can be attacked on more than one tile?
Is it possible to code in an enemy with more than one resistance?
Will there ever be a Mental-Resistance orb for TSoG? (Seeing as very few enemies attack with Mind Blast, maybe not.)
Logged
He drove his expensive car into a tree and found out how the Mercedes bends.

Current Elemental Master of Cryokinesis.

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3245
    • View Profile
    • Sinister Design
Re: Ask the developer a question!
« Reply #175 on: June 17, 2010, 12:46:36 PM »

Is it possible to code in a multi-tile enemy that can be attacked on more than one tile?
Is it possible to code in an enemy with more than one resistance?

It's always possible to code anything, but TSoG's engine isn't designed to handle those things. It would require a major rewrite to add support for them.

As for the orb: probably not.
Logged

Xemadus Echina

  • Blue Cape
  • **
  • Offline Offline
  • Posts: 235
  • :D ;D :) :( :-X :-[ :'(
    • View Profile
Re: Ask the developer a question!
« Reply #176 on: June 18, 2010, 06:23:08 PM »

can you make an easter egg in the game where you can rename your character (or give it a nickname)?
and will you ever take the names of the regulars and put us into your games as characters?
Logged
im writing a book!
http://sinisterdesign.net/forum/index.php?topic=236.0;topicseen
heres a free verse poem I wrote for school
You never know
Just what you will find after you
Lost your favorite thing. But
The important thing is that the
Game you play will help you to get by.

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3245
    • View Profile
    • Sinister Design
Re: Ask the developer a question!
« Reply #177 on: June 18, 2010, 06:33:53 PM »

Maybe. :P
Logged

Bromtaghon

  • Blue Cape
  • **
  • Offline Offline
  • Posts: 351
  • Current Elemental Master of Cryokinesis.
    • View Profile
Re: Ask the developer a question!
« Reply #178 on: June 19, 2010, 08:51:49 AM »

What about an easter-egg boss battle with KZ ('999' HP, all area attacks) that unlocks a new orb? Okay, maybe this should go in the thread about orbs...
Logged
He drove his expensive car into a tree and found out how the Mercedes bends.

Current Elemental Master of Cryokinesis.

MikeW781

  • Black Cape
  • ***
  • Offline Offline
  • Posts: 651
    • View Profile
Re: Ask the developer a question!
« Reply #179 on: June 19, 2010, 03:34:47 PM »

What is the name of the native religon of Ravinale?
Logged
Currently tied with Zack for the title of Master of Light!
Pages: 1 ... 10 11 [12] 13 14 ... 118