Recent posts by ehaugw on Kongregate

Flag Post

Topic: Game Programming / Anyone wanna make a game with me?

Originally posted by Fenragus:

So i would like to make a game.I have no skills in progamming whatsoever but i might learn some.I am looking for people to help me make a 2D shooter (I havent made the statistics in my head yet) but ill fill you in with the details via Skype.
(If you have a microphone that would be great!).So here is the general idea:Apocalyptic 2D shooter.I want this to be very addictive so ill need a LOT of ideas.I have a few of mine like shops,story,maybe multiplayer.I think we will be using Game Maker or Flash.If anyone is interested contact me via Skype:aurimas.fenragus
:)

You should rename the topic to “Anyone wanna make a game for me?”.

 
Flag Post

Topic: Game Programming / Detention Simulator - Feedback please

My opinion is: You’ve been making games like this for 3 years now, it’s time to move on, make a shooter or something enjoyable. There’s a lot of tutorials out there.

 
Flag Post

Topic: Game Programming / Kongregate can't find my font

Originally posted by GregTheTraceur:

I truly hate this. (this being the embedding requirement)

Now all my text is blurry, and there’s nothing I can do about it, so my game looks super sloppy…

Again, I’ve never used FD, so I can’t help you much. I would suggest googling “FlashDevelop font embed trouble”.

 
Flag Post

Topic: Game Programming / Kongregate can't find my font

I’ve never used FlashDevelop, but in the regular Flash, you have to embed fonts.

 
Flag Post

Topic: Game Programming / Trouble with "stage" in external SWF

Lol, I went full retard… Thanks Vesperbot.

 
Flag Post

Topic: Game Programming / Trouble with "stage" in external SWF

Originally posted by ehaugw:

Actually, that makes sense, thanks.

It works, thanks bro.

 
Flag Post

Topic: Game Programming / Trouble with "stage" in external SWF

Actually, that makes sense, thanks.

 
Flag Post

Topic: Game Programming / Trouble with "stage" in external SWF


import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.events.ProgressEvent;

function startLoad()
{
   var mLoader:Loader = new Loader();//Or use ProLoader
   var mRequest:URLRequest = new URLRequest('Oasis.swf');
   mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
   mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
   mLoader.load(mRequest);
}

function onCompleteHandler(loadEvent:Event)
{
   addChild(loadEvent.currentTarget.content);
}
function onProgressHandler(mProgress:ProgressEvent)
{
   var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
   trace(percent);
}
startLoad();

Gz with 666 posts btw.

 
Flag Post

Topic: Game Programming / Trouble with "stage" in external SWF

I can’t access the stage property in an externally loaded swf, I’m quite sure someone has heard about this problem before. Would anyone bother to explain it?

 
Flag Post

Topic: Game Programming / Unity3D Dev Recruitment

Who will host the server? Who will pay for the domain? How will the income be shared? Which language are you using?

 
Flag Post

Topic: Game Programming / Show us a screenshot of what you're working on!

Here’s my skill/attribute UI

 
Flag Post

Topic: General Gaming / Lead for Dead: Call of the Dead

Originally posted by 6thgraderhere:
Originally posted by ehaugw:
Originally posted by 6thgraderhere:

Right, it’s been a while. How’s it coming along? Is the ETA still xmas?

Yeah, something like that.

It’s Halloween right now, game coming along smoothly as expected? :3

Nope, I didn’t include exams in my estimation :P Although, there’s a small chance that the a locked beta will be done before 2014. We’ve finished the talent specs, navigation items and stuff like that. All that remains is the city fortification and villager training, as well as some major gameplay stuff.

Also, the most important still remains… The sponsorship :P

 
Flag Post

Topic: General Gaming / Lead for Dead: Call of the Dead

Originally posted by 6thgraderhere:

Right, it’s been a while. How’s it coming along? Is the ETA still xmas?

Yeah, something like that.

 
Flag Post

Topic: General Gaming / Lead for Dead: Call of the Dead

Originally posted by 6thgraderhere:

So, how’s it coming along?

No progress at all, trollolol

I’ve started on university 2 weeks ago, I’ve not done anything else than partying :3

When the hard core party times have passed, and I’ve done my studies, I might be able to code again ;)

 
Flag Post

Topic: General Gaming / Lead for Dead: Call of the Dead

http://anaron.comoj.com/Oasis/pics/

 
Flag Post

Topic: General Gaming / Lead for Dead: Call of the Dead

Originally posted by 6thgraderhere:

Oh, and I was wondering. What’s the storyline of the game? Like, why are you here, where did these zed come from, etc. Or are you saving that for later on in the development timeline?

I’ll get my buddy to answer that for ya, he made the story (which is awesome).

 
Flag Post

Topic: Game Programming / as2:main timeline problem

Originally posted by darkjonas8:

i dont think thats for as2…

actually, it is

 
Flag Post

Topic: Game Programming / as2: doing hittest with square using math

Originally posted by darkjonas8:

okay… i only want to check collision for the tiles that are in a specific range of the player, how could i check the collision on only the tiles that are within a 100 pixel range or so?

for (tile in tiles) {
    if (Math.sqrt(Math.pow(player.x - tile.x,2) + Math.pow(player.y - tile.y,2)) < 100) {
        //The range is less than 100 px.
    }
}

 
Flag Post

Topic: General Gaming / Lead for Dead: Call of the Dead

Originally posted by 6thgraderhere:

Sounds pretty sweet, so what’s the estimated completion time?

Uhm, xmas maybe.

 
Flag Post

Topic: General Gaming / Lead for Dead: Call of the Dead

Originally posted by 6thgraderhere:

Daayum, that’s a lot of crap I dunno ._. Also, are you thinking about putting the game on other websites?

Ofc, after I got my kong sponsorship I’ll spread it as good as I can. All versions except for the kongregate one will have limited content so you have to move to kongregate to play the full game.

 
Flag Post

Topic: Game Programming / as2: doing hittest with square using math

Originally posted by darkjonas8:

okay, i understand how to check if something collides with another thing now, but how do i check where they collide? like if i have a wall i want to go left until the right side of the player hits the wall, how would i do this? (like : if(rightsideofplayer hit wall) )

Then you start making vectors and do real calculations ;)

 
Flag Post

Topic: Game Programming / as2: converting code to main timeline

Originally posted by Draco18s:

Or be correct and use addEventListener

AS2 guys don’t wanna use event listeners.

 
Flag Post

Topic: Game Programming / as2: converting code to main timeline

Originally posted by darkjonas8:

I want to put the code i had on my movieclip and put it on my main timeline, i did so but i get this error:

Scene=Scene 1, layer=main, frame=1, Line 1 Clip events are permitted only for movie clip instances

i get this for onClipEvent(enterFrame) and onClipEvent(onLoad), please help :) thx

This is the point you would normally start using AS3, or at least classes. To be honest, I’ve never used classes in AS2, so I can’t really help you. I would suggest sending a PM to GameBuilder15, he’s the master of not-moving-on-to-AS3.

 
Flag Post

Topic: Game Programming / Awful Code [You've Written!]

Originally posted by Draco18s:

Not a bad way to do it. I just squish the loader into the main document class because the main document class HAS to be loaded before anything else, it’s perfectly positioned to handle the preloader.

My LoadingScreen is not a preloader though, it’s the interface where you select which game save you want to play on ;)

 
Flag Post

Topic: Game Programming / Awful Code [You've Written!]

Originally posted by Draco18s:
Originally posted by ehaugw:

My script files adds up to 205KB.

Code density at work.
I also notice you’ve got multiple files where I have one; eg. Loading Screen, Main, Main Game. I handle all of that in one script.

I like to have one class file for each interface, so LoadingScreen is one, MainGame is another, and Main is where I add the different UIs to stage.