Page 1 of 1

pspokemon BETA development question (for sony_psp_player)

PostPosted: Tue Aug 12, 2008 1:59 pm
by debiani386
I am trying to program more enemieplayers into the game. I got them in and working properly, but i am wondering how to make it so that the sprite doesnt walk through the enemy

edit: Could you give me some hints as to where in the source code i should be looking?

PostPosted: Tue Aug 12, 2008 6:56 pm
by roxfox64
What language?

PostPosted: Tue Aug 12, 2008 7:41 pm
by crait
You need collision checking.
http://www.psp-programming.com/forums/i ... 88.msg5949
This is LUA but you can easily port it to C or whatever.

PostPosted: Tue Aug 12, 2008 8:07 pm
by roxfox64
----####--##------###---#--#####
---#-------#--#---#---#--#----#--
---#-------###---####---#----#--
---#-------#--#--#---#---#----#--
----###---#---#-#---#---#----#-- Please, don't hijack stuff...