The Sinister Design Forums

Please login or register.

Login with username, password and session length
Advanced search  


Welcome to the new Sinister Design forums!

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.

Messages - algebra15

Pages: 1 ... 41 42 [43] 44 45
Forum Games / Re: King of the hill
« on: June 12, 2010, 06:11:41 PM »
I enlist Shadowcat, who phases through you and shorts out all your defenses.

Forum Games / Re: Of the Two Posters Above You
« on: June 12, 2010, 06:10:30 PM »

Forum Games / Re: Of the Two Posters Above You
« on: June 12, 2010, 06:07:44 PM »

Forum Games / Re: You're banned
« on: June 12, 2010, 06:06:29 PM »
Duskling is banned for talking over my head. I have no idea what you're talking about.

Forum Games / Re: Corrupt a Wish Foundation
« on: June 12, 2010, 06:02:27 PM »
Granted, but you accidentally swallow a box of Menthos. We all know what happens.

I wish for North Korea to not be as dysfunctional.

Forum Games / Re: Corrupt a Wish Foundation
« on: June 12, 2010, 05:56:48 PM »
Granted, but spellcheck reads the word backwards and corrects it to "ewok." The ewok (with a slingshot) is grumpy...

I wish for a gangrenous limb.
corrupt THAT.

General Discussion / Re: Ask the developer a question!
« on: June 12, 2010, 05:50:57 PM »
1: Who could want to have a relationship with a guy with eyes like Gollum on a BAD day?

2: how do you make a preloader in AS3? I looked on the web, but the  solutions were all for programming on the timeline. How would you do it in a 1-frame game?

Harvester / Re: Has anybody else played Harvester?
« on: June 01, 2010, 01:55:01 PM »
Which one is the "Use equipped soul"?

General Discussion / Re: Ask the developer a question!
« on: May 31, 2010, 06:28:19 PM »
I don't think that my document class is unattached; I ran a few trace statements, and found that everything was working, expect for the fact that Flash wouldn't actually draw the MovieClip object. The document class, my menuHandler Class (I set up a class to handle all of the menu screens; drawing them, and setting them to null once I'm done with them), and my first screen, (the Main Menu)-- all of them ran their constructor functions. The system was working fine until I added a GameLevelHandler (a class that would handle the level select screen and the screens nearby, like achievements, stats, shops, that sort of thing), using an Event called NavigationEvent to deal with menu navigation, GameNavigationEvent to deal with level screen navigation, and GameEvent to deal with going between the menu, the level select screen, and later, a class that dealt with toolbars and pulldown windows. The following is my document class.
Code: [Select]
package {
import flash.display.MovieClip;
public class DocumentClass extends MovieClip {
public var menuHandler:MenuHandler;
public var gameLevelHandler:GameLevelHandler;
public function DocumentClass() {
menuHandler = new MenuHandler();
menuHandler.addEventListener(GameEvent.GAMESTART, onGameStart);

public function onGameStart(gameEvent:GameEvent):void {
gameLevelHandler = new GameLevelHandler();
gameLevelHandler.addEventListener(GameEvent.GAMEBACKTOMENU, onGameBackMenu);

menuHandler = null;

public function onGameBackMenu(gameEvent:GameEvent):void {
menuHandler = new MenuHandler();
menuHandler.addEventListener(GameEvent.GAMESTART, onGameStart);

gameLevelHandler = null;

I'm going to have this problem solved in a while anyway, so if you think it's probably some problem that you can't solve because of lack of information, I'll solve it on my own. But if anything jumps out a t you, let me know please.

P.S. For some reason, in a different game I was making, the Timer instance I was using for the game Timer was saying it didn't want an input variable for the constructor, whereas I had been informed that a "25" for 25 milliseconds was what was supposed to go in...?  I don't think anything happened to t he Timer class, so if you know what might have hapened, lplease let me know as well. It kind of forced me to abandon the project...


Now I feel kind of stupid. I forgot to add the "addChild" statement...

General Discussion / Re: Ask the developer a question!
« on: May 31, 2010, 08:08:56 AM »
I've finally seen the light and started to program in AS3.

The thing is, I was making a menu system, a level screen, and an options screen; I test out the whole thing, and the entire screen is black (that's my background colour), so while no actual errors have shown up, my main menu isn't showing up. Since I can't actually put my code here (it would take up several pages -- you know AS3), do you know of a general cause or type of cause that would do this?

General Discussion / Re: Ask the developer a question!
« on: May 15, 2010, 10:53:20 AM »
sorry for double post, but I forgot to add the question. Is there a better way to do this with the structure I've got, or to I have to rip it out and start again with coding for the class?

General Discussion / Re: Ask the developer a question!
« on: May 15, 2010, 10:52:05 AM »
I was making some code for the game I asked you about before, and I opted to make it a bit differently. The code makes 5 platforms once. Problem is, "thyPlatform"'s properties and methods seem to go away when the variable is assigned to a different platform; this means only one works, and causes the jumper to bounce. I also have some code for the class "Platform", but the hitTest seems not to work as simply as it does in the frame code.
Code: [Select]
_root.makePlatform = function(){
if (_root.make != true){
for (x = 0; x < 5; x += 1){
newPlatformNumber += 1;
_root.attachMovie("platform", "platform" + newPlatformNumber, 50+newPlatformNumber);
thyPlatform = eval("platform" + newPlatformNumber);
thyPlatform.onEnterFrame = function(){

thyPlatform.checkJumper = function(){
if (thyPlatform.hitTest(jumper._x, jumper._y, true) && (jumper.dy > 0)){
_root.boing = true;
_root.make = true;
Code: [Select]
class Platform extends MovieClip {
function Platform(){
_x = Math.random()*Stage.width;
_y = 400;
function checkJumper(){
if (

General Discussion / Re: Ask the developer a question!
« on: May 15, 2010, 06:16:57 AM »
Before this conversation gets too far astray (and it may have already), thanks a million.

General Discussion / Re: Ask the developer a question!
« on: May 14, 2010, 06:48:45 PM »
sorry to interrupt, but if one wants an onEnterFrame behavior on all the instances of one object, how would one phrase the onEnterFrame? More specifically, WHATGOESHERE.onEnterFrame. I tried to use the name of the library item, ("platform") but it only worked on instances named "platform."

P.S. as another question, how do you change the game so people can't just right-click the game and step forward or backward?

Forum Games / Re: Associations Game
« on: March 13, 2010, 06:35:13 AM »

Pages: 1 ... 41 42 [43] 44 45