Jump to content

  • Log In with Google      Sign In   
  • Create Account


Ecoste

Member Since 22 Sep 2011
Offline Last Active Sep 09 2013 05:16 PM
-----

Topics I've Started

Designing levels...

01 September 2013 - 06:57 AM

Hello, I had an idea for a flash game, basically it's a puzzle game that's tile-based. Each level has a finish that you must get to, but to get to it you need to place tiles that are given to you. I have a prototype going and it's not really a code intensive game, but the problem is creating the puzzles. Like, I only really thought of 1 or 2 levels but I can't come up with anything anymore, how do you do it? I mean, you could always "Borrow" them from other games and then take out some tiles to place, this is the last resort though.


Vector hell!

12 August 2013 - 12:09 PM

Hello, this is the first time using Vectors, and I don't get the math behind them. 

 

Here's my situation(3d Space):

Vector X

Vector Y

 

I want to get a third vector that goes from Vector X to Vector Y, and then I can just scale it myself. Halp.


How much will this cost approx?

06 April 2013 - 08:13 AM

Outsourcing art, I need some assets done for 2D pixel-ish art nothing too complicated. 'Cause right now I'm making a skeleton for a game just don't have any art, so I'm thinking if that gets all done and goes well I could put some GOOD art into it(Not my crappy shit). I honestly have NO idea even approximately how much this will cost. I'm hoping around 300 bucks or so though.

 

-A character and running animation.

-3 Other similar to each other characters

-Background with a foreground, middleground and a background.(Day/Night)

-Tiles/platforms about 4 kinds


AS3 creating new objects.

03 April 2013 - 09:24 AM

Basically I have a simple game. And each 2 seconds a bullet flies out across the screen.

 

//bullet spawner
import flash.utils.Timer;



var myTimer:Timer = new Timer(2000, 1); // 2 second
myTimer.addEventListener(TimerEvent.TIMER, runTimer);
myTimer.start();

function runTimer(e:TimerEvent):void{
	var bulletG:bullet = new bullet(565,Math.random()*400); //Screen is 400 pixels in heigth
	addChild(bulletG);
}
//bullet
package  {
	
	import flash.display.MovieClip;
	import flash.events.Event;
	
	
	public class bullet extends MovieClip {
		
		
		public function bullet(xS:int, yS:int) {
			addEventListener(Event.ENTER_FRAME, update);
			x = xS;
			y = yS
		}
		function update(e:Event){
			x -= 3;
		}
	}
	
}

 

Simple stuff right. Anyway, I wanted to ask if there's a better way of creating bullets. Because right now, if I wanted to create a shit ton of bullets, I could make an array full of bullets and simply spawn them.  That's cool until you get into spawning thousands of bullets, it's not time efficient to write each object yourself, so my question is how would you do it?


Extending a normalized vector?(3d)

01 July 2012 - 12:00 PM

Hello, I have a normalized vector on my hands(Where the camera is facing) and I basically need to extend it further(Basically, draw a line to where I'm looking at) I'm not that good at math, could any body explain how to do it? Thanks.

PARTNERS