My character sprite origin is in the middle of a 16x16 sprite. So it's -8 so when it hits the enemy's origin, it sets it's variable dead to true.Right now, you the enemy only dies if you are below it. I'd guess this is not the behavior you want.
if instance_position(x,y-8,oWalkEnemy) { vspd=-10 with instance_position(x,y-8,oWalkEnemy) dead=true } else{ if instance_position(x,y,oWalkEnemy) dead=true }
- Game Maker Community
- → Viewing Profile: Posts: LOLZ97
LOLZ97
Member Since 20 Aug 2010Offline Last Active Yesterday, 03:51 AM
Community Stats
- Group GMC Member
- Active Posts 115
- Profile Views 2301
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
Posts I've Made
In Topic: Platformer Enemy Detection Problem
21 February 2013 - 02:41 AM
In Topic: Inventory Problems
06 December 2012 - 03:22 AM
In Topic: ...39DLL is Hard...
27 November 2012 - 11:55 PM
What or where to put all of that in a game?!?!IDK whats hard to understand,
dllinit(false,true,true) to initialize.
dllend() to end
clearbuffer() to clear the buffer
sendmessage(socket) sends a message
receivemessage(socket) receives a message
writebyte(), writeushort(), writeshort() with there respective arguments are saved in the buffer till there sent.
Whats the part you don't understand?
In Topic: 39DLL Where can I start?
26 November 2012 - 11:41 PM
Yes I know but they don't really explain how things work. At least for what level of coding I'm at.There are a bunch of tutorials just for this in the tutorials section to help get you started.
If you actually are using 39dll, in the zip file that comes with it are actual tutorials 39ster made that you can look at.
In Topic: 39DLL Where can I start?
26 November 2012 - 11:32 PM
What is that exactly?I recommend Faucet Networking, personally.
- Game Maker Community
- → Viewing Profile: Posts: LOLZ97
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content
