Recent posts by qwerberism on Kongregate

Flag Post

Topic: Game Programming / Attacking

calculate the positions of the end points of the segment at each frame and model it as a traveling point (start from one point, travel to the other). sweep this model (using a point vs AABB sweep algorithm) across all enemy bounding boxes and look for the positive return values.

 
Flag Post

Topic: Game Programming / Attacking

use a mathematic representation of the sword geometry

 
Flag Post

Topic: Game Programming / Arduino

http://forum.processing.org/tag/arduino

 
Flag Post

Topic: Game Programming / Sticky Thread && Your Source Code

I’m trying to think of something real hard beut i think you should be a bit more detailed with your request :)

 
Flag Post

Topic: Game Programming / Arduino

I think using the processing language will help you, try it; I have it installed and the examples can get yous tarted real quick.

 
Flag Post

Topic: Collaborations / Lime_ Collabs [AVAILABLE]

Why have reserved so many posts?

 
Flag Post

Topic: Game Programming / Shadow Casting Engine (SOLVED)

sure, I assume you are looking for this:

http://dl.dropbox.com/u/17828135/index.html

If you PM me with an email or something I’ll send you my software version when have the chance; however the software version can only run 3~4 dynamic lights before slowing down greatly.

The above runs on hardware but is very untidy and unoptimized and engine specific.

 
Flag Post

Topic: Game Programming / Deleting sprites (How would You do it #5?)

Originally posted by EndlessSporadic:

I never said anything about overhead… What are you going on about? lol

Overhead is something I wanted to point out. It really has nothing to do with what you said, but I am a stickler for optimization even though I am still learning about it. It is just a thought process that I arrived at. If it is incorrect, please let me know.

Yeah, you are right; there is not enough overhead to make the removing part worth optimizing. A quick profiling with monocle will show that the time spent executing the entire game logic will probably less than 1 ms over even 30 frames. The part we need to optimize the most is rendering.

 
Flag Post

Topic: Collaborations / The Hero's of Olmpus. MMORPG. Need people to collabarate with.

olmpus. lol…

 
Flag Post

Topic: Game Programming / Using addchild to add the same movie clip twice

IMO you are optimizing in the wrong places. If you are experiencing lag, I’m betting that 90% of the frame time is occupied with rendering.

 
Flag Post

Topic: Game Programming / Deleting sprites (How would You do it #5?)

Originally posted by EndlessSporadic:
Originally posted by qwerberism:

remember; each object should be worrying about things about itself; whether it has touched another object is not one if those things.

That is debatable. Assuming you aren’t making next gen games there is no loss or overhead for making each unit check its own state. If anything there is more overhead for not having the class check its own collision (in smaller games) since you can do other stuff within the same loop.

I never said anything about overhead… What are you going on about? lol

 
Flag Post

Topic: Game Programming / Deleting sprites (How would You do it #5?)

remember; each object should be worrying about things about itself; whether it has touched another object is not one if those things.

pick up the removal right after or right before updating.

 
Flag Post

Topic: Game Programming / Deleting sprites (How would You do it #5?)

am I the only one who doesn’t get why this is a problem? The method you use really depends on your paradigm and game strucuture.

 
Flag Post

Topic: Game Programming / Question About Vcam

How about not using vcam. put everything in a container, scale it, and move it.

 
Flag Post

Topic: Game Programming / are there more multiples of 3 or 7?

Originally posted by someone93:
Originally posted by ErlendHL:

What’s infinity / infinity?

This is one of the cases where we can’t really say anything.

Other such cases include:
0*inf, 1^inf, inf – inf

can you explain why 1 ^ infinity is obscure? o-o

 
Flag Post

Topic: Game Programming / Creating an encoder/encryption class

There are already libraries for that, but you can check out the documentation and articles for encryption standards and start implementation from there.

 
Flag Post

Topic: Game Programming / are there more multiples of 3 or 7?

Originally posted by player_03:

Multiples of three can be enumerated as follows: f(x) = 3x, where x is an integer. Multiples of seven can be enumerated similarly: g(x) = 7x, where x is an integer.

Both of these functions are one-to-one mappings, and what’s more, the two can be combined: h(x) = 3x/7, where x is a multiple of 7.

h(x) provides a one-to-one mapping from the set of integer multiples of 7 onto the set of integer multiples of 3. In other words, every multiple of 7 can be paired with a multiple of 3, and no numbers from either set will be left out.

Therefore, the sets are the same size. Q.E.D.

See also: Hilbert’s Grand Hotel.

fascinating :)

 
Flag Post

Topic: Game Programming / are there more multiples of 3 or 7?

my friend and I talking about this, he say equal cus both infinite, i say:

lim x→ inf (floor(x/3) > floor(x/7))

Originally posted by UnknownGuardian:

False.

edited,

http://www.wolframalpha.com/input/?i=lim+x+to+infinity+%28floor%28x%2F3%29+%3E+floor%28x%2F7%29%29

 
Flag Post

Topic: Game Programming / From a programmer standpoint what is this engine missing?

Originally posted by BigJM:

What’s causing the shadow directly above the player? The shadows could be a bit more diffuse too, given that that’s the nature of the light sources.

Well actually, the player appears to be a point light source while the bullet’s shine is diffuse. Maybe some consistency?

Sorry, I just realised; that’s the muzzle flash which isn’t position directly on the muzzle; it’s put on the top left of the player because I was lazy. It’s fixed in the local version; Thank you very much guys!

 
Flag Post

Topic: Game Programming / anyone familier with Arcade Machines?

Originally posted by alecz127:

I have a few questions.

- What does the game play off of, is it a CD?

- Is it in a special programming language?

- Lets say I made a game with as3 or c++ and wanted the arcade machine to play this game. How impossible would it be to do this?

and would buying this book be an investment or a ripoff?

- There are probably many ways to do this
- Any code that runs on their processor, be it arm or what ever
- It would be possible but you need a flash player that can run on their platform.

 
Flag Post

Topic: Game Programming / From a programmer standpoint what is this engine missing?

Originally posted by UnknownGuardian:

The partial shadow going up and to the right is caused by the gun’s light source, which is colliding with the vertex of the wall. Perhaps you need to tweak the position of the light source or something?

Can you elaborate? I can’t seem to see which one you are talking about.

 
Flag Post

Topic: Game Programming / From a programmer standpoint what is this engine missing?

Originally posted by BigJM:

It looks a lot better but the shadows aren’t right yet (as ug pointed out).

Also, bullets don’t usually create light when they hit a wall (assuming those are bullets I’m shooting).

ok :)

 
Flag Post

Topic: Game Programming / From a programmer standpoint what is this engine missing?

Originally posted by Senekis93:

That link shows a yellow screen and nothing more. Am I missing something?
FP 11.4, FF 16.2. Also, I’m not at the desktop, so I can’t blame my old computer this time.

http://dl.dropbox.com/u/17828135/index.html, I need to use the page link :)

 
Flag Post

Topic: Game Programming / From a programmer standpoint what is this engine missing?

Lighting fixed according to last picture:

https://dl.dropbox.com/u/17828135/shooter.swf

 
Flag Post

Topic: Game Programming / Custom debug panel display

the debugger works great for me; there you can find out what all the variables currently are, even array elements and locals.