Jump to content


LOLZ97

Member Since 20 Aug 2010
Offline Last Active Yesterday, 03:51 AM

Posts I've Made

In Topic: Platformer Enemy Detection Problem

21 February 2013 - 02:41 AM


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
}

Right now, you the enemy only dies if you are below it. I'd guess this is not the behavior you want.

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.

In Topic: Inventory Problems

06 December 2012 - 03:22 AM

Hmm... so how would I go across looping the array??

In Topic: ...39DLL is Hard...

27 November 2012 - 11:55 PM

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?

What or where to put all of that in a game?!?!

In Topic: 39DLL Where can I start?

26 November 2012 - 11:41 PM

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.

Yes I know but they don't really explain how things work. At least for what level of coding I'm at.

In Topic: 39DLL Where can I start?

26 November 2012 - 11:32 PM

I recommend Faucet Networking, personally.

What is that exactly?