MyLuckyDay
112 posts
|
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
[as3] stage error.... i think
“screenManager” is not a property of Stage. You need to find another way to access it.
option 1: keep a reference to screenManager in your document class, then call it with
MovieClip(root).screenManagerReference.changeScreens(yada, yada);
of course this can only be called by a DisplayObject that is currently in the display list.
option 2: pass around a reference to screenManager when you instantiate your objects.
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
Poison Games! (We need flash artists!) [Looking for Team Members]
Nice banner. What font is that?
So what’s wrong with AS3 programmers?
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Planning a game
You could try looking into UML.
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
50 Minigames Collab
I jumped the gun. I counted myself in before you posted the rules. I don’t use AS2. Sorry.
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
50 Minigames Collab
I’m in.
but…
I prefer not to communicate through email. Why not coordinate the project here? This could be the official project collab thread.
|
|
|
MyLuckyDay
112 posts
|
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Cannon Game
Thank you for your response TH155.
I’m not exactly sure what you’re saying, but I think you’re advising me not to program any type of frame-independent collision detection, and just stick to the built in hitTestObject (which, of course, will only detect actual overlapping of images).
That option does have it’s advantages. Probably less lag than using my own methods. Easier to program.
The only issue I have with it is that it feels like I’m cheating the player somehow.
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
Premium Games removed
Originally posted by athanor77:
I’ve just seen Kongregate is no longer seeking to fund Premium games.
Link please.
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Cannon Game
I’ve been inspired by “Toss the Turtle” and I’d like to make a Cannon style game. Does anyone have any experience with that type of game? I could use all the tips and advice I can get.
For example:
How would you handle the high speed collision detection?
How would you manage the vertical and horizontal scrolling of the background images?
And anything else you think I’ll need to know before I get started.
Thanks for all help.
|
|
|
MyLuckyDay
112 posts
|
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
game engines
en·gine
Pronunciation: \ˈen-jən\
Function: noun
Etymology: Middle English engin, from Anglo-French, from Latin ingenium natural disposition, talent, from in- + gignere to beget — more at kin
Date: 13th century
1 : something used to effect a purpose : agent, instrument
2 : something that produces a particular and usually desirable result
3 : computer software that performs a fundamental function especially of a larger program
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
FL Studio Artist - Bored
I could use some music and sfx.
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
AS3-frame events?
You could make a custom event that fires when you enter a certain frame if you want to.
But it might be easier just to check MovieClip’s currentFrame property.
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Rotation Constraints
Originally posted by UnknownGuardian:
Does rotation get ‘%ed’ if it goes over 360?
The method I’m using to calculate rotation wraps from 0 to 360.
var xDist:Number = mouseX - shooter.x;
var yDist:Number = mouseY - shooter.y;
var ang:Number = Math.atan2(yDist, xDist);
shooter.rotation = ang*(180/Math.PI);
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Rotation Constraints
Originally posted by notallama:
theta = //whatever you have to find the angle
rotation =
theta > max_angle ? max_angle :
theta < min_angle ? min_angle :
theta;
Yeah, tried that already. It doesn’t really work.
It breaks if max_angle > 360 or min_angle < 0.
Another problem with that method: let’s say min_angle == 10 and max_angle == 90, the shooter will jump to 10 if theta is between 0 and 10, but it will jump to 90 if theta is between 90 and 360. So if you’ve got the mouse at an angle just short of 0 the shooter will be pointing the wrong way. That looks really bad in a game.
any thoughts on how to overcome these issues?
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Rotation Constraints
I’ve got a shooter thingy that rotates toward the mouse and fires on mouse down.
Now I need a good method for constraining the rotation so that it won’t go past a minimum and maximum angle.
Any suggestions?
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
Artist needed for collaboration
Originally posted by Ncio:
I’m interested. Check your whispers buddy.
Hi Ncio.
You’ve got some good stuff there. You shouldn’t have any problem with the art for this.
Do you have a favorite messenger?
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
Artist needed for collaboration
Still looking for an artist to help me bring my project home.
Please don’t let me release this game with my own art. That would be a crime.
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
Artist needed for collaboration
Hi all,
I’m getting to the point in my current project where it’s time to start replacing my ugly ass programmer art with some quality graphics.
I can’t give away too much about the game, but it’s pretty simple as far as the art. Not too much work.
What I really need is someone with a good eye for design.
Contact me however you like. Reply here, PM, IM, Email, Carrier Pigeon, whatever you’re comfortable with.
just be sure to include samples of your work.
Thanks
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Thanks for Sharing
It’s a rare thing when developers are willing to share their sales stats.
The guy who made the game Fig. 8 did an interesting thing. He put up on his blog a time line of the bidding process for his game on FLG.
Very cool.
check it out here
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Flash for iPhone
As far as I know CS4 doesn’t have the capabilities to publish stand alone iPhone apps. If it does then I blew $3,000 on Unity for nothing.
I believe some devs are working on an iPhone version of Haxe, but I think that’s still alpha.
|
|
|
MyLuckyDay
112 posts
|
Topic: Game Programming /
Flash for iPhone
I just heard the next version of Flash will compile natively to iPhone. This means we will be able to create apps in Flash. Yeah!
AS3 only, btw. Another good reason to switch from AS2.
|
|
|
MyLuckyDay
112 posts
|
Topic: Collaborations /
Artists needed for a card game!
I happen to know a very talented artist who would be perfect for this project. He actually designed Blizzard’s “World of Warcraft” Trading Cards.
But…
He doesn’t work for percentages. If you would be willing to pay a flate rate I’ll shoot him an email for you.
|
|
|
MyLuckyDay
112 posts
|
|