Jump to content

  • Log In with Google      Sign In   
  • Create Account

asvsfs

Member Since 03 Aug 2007
Offline Last Active Jan 09 2014 10:37 AM

Topics I've Started

Macro and GCC Compiler problem

08 July 2013 - 01:15 AM

Hi,

 

i have a bit of problem with getting a macro working with gcc compiler ,

im working with marmalade SDK and when compiling my code with arm gcc compiler it shows an error , im using one of gamedev article source code for object factory

 

Source Code Attached.

 

and here is the errors

Error    9    error : macro "MACRO_REPEAT_1" passed 5 arguments, but takes just 4   

Error    10    error : unterminated argument list invoking macro "MACRO_REPEAT_1"  

 

Thanks

Amir


Seeling IPhone Games with source Code

06 July 2013 - 01:10 AM

Hi,

 

i have a list of 50 games (+ source code) made by cocos2d + box2d ready to  sell,

the price is pretty nice

and i'll provide you an example of games with source code, there many types of regular games

 

Regards


Dividing a texture into new textures

26 January 2011 - 05:09 AM

Hello everybody,

my question is how can i divide my sprite into (for instance) 4 sprites, for example i have a circle and i want to divide it into 4 unequal pieces
and every new sprite would be a quad with texture on it,

Posted Image


i want an efficient way for doing it

Thx ,
Regards

Group Behaviour (movement) in RTS

13 October 2010 - 10:45 PM

hello everyone,

i'm really confused with flocking algorithm it works right but when i combine it with arrive behaviour it don't look really good! specially in case of direction, units rotates all the time and they don't have balance (forces are not balanced) i changed parameters for 1 hour now but i couldn't get ideal result , i was just wondering how everyone manage group movement and forces between them ! for these specific goals
*units shouldn't overlap(not very precise)
*units should stop when they rich their target ( some times there is already something in target position , and they should solve their problem on their own!

thanks

Line Of Sight AI ,,,Detect Object

29 April 2010 - 04:30 AM

hi, i need a way to detect player and player's structures in enemie's line of sight in real time ,but i dont know how to implement this efficient , all of object in this game has same class with different behaviours and data attached to them, i use very simple 2d spatial hashing (fixed cell size) thx image: http://www.2shared.com/file/12925656/f0474c9a/lineofsight.html

PARTNERS