Jump to content

  • Log In with Google      Sign In   
  • Create Account


We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.

Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Member Since 26 May 2012
Offline Last Active Aug 05 2014 07:50 PM

Posts I've Made

In Topic: How to achieve some folding paper effect like IOS game Tengami

02 August 2014 - 12:51 AM

sorry,here is the video from youtube.it flip too fast.
and thank you kryzon for the keywords and book,it really helps.

In Topic: 2D game like worm reloaded,how to calculate grenade?

18 April 2014 - 06:51 PM

thank you,Mats,this really helps a lot,i haven't consider too much about weapon.

actually right now i only consider rocky luncher and grenade,

in this case,if grenade is not best weapon to use,what else weapon should AI use?

i found in worm reloaded,computer AI always give a crazy grenade bounce angle and hit me,

In Topic: 2D game like worm reloaded,how to calculate grenade?

17 April 2014 - 05:40 PM

er,i guess i mean how to get the computer to do accurate shots with grenades to attack player.

my english is bad,maybe the title is wrong.what should i use,how to calculate computer enemy to attack player with grenade?or something?

why i post this question here in math and physics,it's because i post this before in AI sub forum,and seems it is not AI question or something,so i post it here this time.


i have written reflect part,it is dirVector2d add ( surfaceNormVector2d.multiply(2) ) or outVector2D  = inVector2D + 2 * normVector2D

other part like DvDmanDT written.


my friend suggest to let the computer calculate all the situation,0 - 360 degrees shooting with various power level,and see which one get the nearest distance to player or enemy.

i think it is not a good idea

In Topic: 2D game like worm reloaded,how to calculate grenade?

17 April 2014 - 04:58 AM

thank you and i have download the source,but can not understand what's going on...

so i post this thread,trying to write something myself.sometimes i found it's easy to write my own code than read others.

anyway i just need some general idea on how to do this.


if anybody have read that source code and can explain to me a little bit,that will be appreciated

anything else direct on how to do that is also appreciated

In Topic: how to write a Worms Reloaded AI

14 November 2013 - 10:34 PM

Hummm... I think its a misunderstanding about AI...


Are you talking about Physics?? AI is the process of decision making, I mean, what kind of weapon the 'computer characters' will use in each situation ( assuming they may change weapons ) and how the characters will decide witch player to attack...


If the problem is how the projectiles interact with the map, so you may search for help with physics or something like that... 


So.. you need help with Physics or AI? or both? smile.png

both i think,first for AI to pick a right way to shoot,and this shooting algorithm requires physics about terrain,actually need Math and Physics i guess?

and because is's a 2d game,it may also need some graphics algorithm to run parabola on pixels and effective?

so many things involved...