6,093 reputation
11637
bio website
location Tehran, Iran
age 23
visits member for 3 years, 2 months
seen 5 hours ago

university student studying applied math, part time programmer.

as a hobby I'm currently working on a game named Battery http://battery.intellisenseless.com


8h
comment Estimated framerate for custom engine?
does it really matter? I mean as long as you are above 60fps, continue development, and as soon as you got under it, start optimizing.
Jun
17
comment Dynamic navigation mesh changes
since my answer was not relevant, I've deleted it, to not receive the bounty
Jun
8
comment How can I mark a pixel in the stencil buffer?
take a look at stencil chapter in open.gl it's obviously opengl tutorial, but principles are the same
May
16
comment Ideas for 2D Water Simulation
@ashes999 I've got no screenshot, but here the same algorithm implemented! youtube.com/watch?v=avJPrL9UJ28
Apr
29
comment Endless 2d runner with increasing speed, how to adjust jump behavior?
you can scale the time to go faster instead of increasing the speed of background moving.
Apr
24
comment Mixing interpolation with extrapolation in multiplayer game
about fixed time step, take a look at gafferongames.com/game-physics/fix-your-timestep or gamedev.stackexchange.com/questions/1589/…. I'm not sure if I could explain better, but if you still had problems understanding them, I'll be more than glad to help you out.
Mar
13
comment Connecting Circular Rooms
well, it does guarantee the shortest path. And even if I'm making any mistake (that I really doubt), the paths generated will be near optimal.
Feb
7
comment How to make a game without OOP?
@Zhafur yep, just made a mistake :|
Feb
7
comment How to make a game without OOP?
@Philipp for one, as you asked, most of those kinda games were developed in an era when OOP languages were not introduced (or at least were not common). and second there are some people who think exactly opposite of your. for example see why linux is developed in C instead of C++.
Jan
30
comment How to apply logarithmic type formula for speed?
what library is this code using?
Jan
30
comment Colour intersection of two alpha-blended sprites
@Arne can you tell which combination of blend functions will result in that behavior?
Nov
14
comment Cocos2d: Moving background on update: offsett issue
not int, but for moving objects, that should always be aligned like the background you are working on, it's much nicer if you round the position just before drawing, always working with integers is not really nice since objects won't move smooth enough
Nov
14
comment Cocos2d: Moving background on update: offsett issue
base on my experience image positions should not have a fractional part, otherwise you'll see those artifact
Nov
5
comment What's wrong with this Open GL ES 2.0. Shader?
also are you sure you can use implicit casting from int to float? I mean shouldn't you use (float)u_XSpritePos? also note that in your current code, into to float conversion is happening for every vertex, it would be faster if you move that piece of code to CPU side, and pass float values to u_XSpritePos and u_YSpritePos.
Nov
5
comment What's wrong with this Open GL ES 2.0. Shader?
try commenting shader lines one by one and see when it's successfully compiled?
Nov
1
comment How to make natural-looking paths with A* on a grid?
here is just an idea, increase the cost of moving from one tile to another for every step agent moves in same direction.
Sep
17
comment What makes Unity3D games look so similar?
this answer actually very true, and it's not restricted about unity games. For example you can easily recognize UE3 games, CryEngine3 games or even Source Games. Even the heavily moded Engines (like the one used in FarCry3 brings some traces of original engine's rendering result, which makes it kinda easy for anyone to tell what's under the hood. I guess shaders, and then lightening have the most impact in this case. but we shouldn't forget about other smaller (less similar) details, like LOD, or texturing or programming habits, or resource file organisation encouraged with each engine.
Sep
13
comment How can I modify PlayStation 1 games?
what about creating an image file from that CD, modify it, and then burn it down again? though I think for such a process to work your device should be jail broken?
Sep
13
comment How can I modify PlayStation 1 games?
@Evan I'm pretty sure it's possible, since I've seens some modes. in that case it was PES6 on PS2, but I think the procedure should be almost same. in the mod I'm walking about almost all players had all their properties maxed out.
Aug
14
comment Converting data file of Sprite Atlas from JSON to Cocos 2D
regarding of your first paragraph, note that he has the JSON atlas, he want to convert it to cocos2d format (aka. TP defautl export format)