I want to make a Real Time Multiplayer Battle game, for 2 players.
But i don't know how can i make that, can i make it so the networking will be...
Sorry for my mistake, but i meant to write the sprite_index without quotation marks.
With sprite_index you can change the sprite of an Object....
Sure you can edit it.
Just make a variable
sprIndex = "sPlayerRun";
you can modify this if you want just give a new string to the...
There are sprite_index, what means for ex. you made a sprite : sprBall, you make an object and don't give a sprite to it.
now go to the create...
select = bums;
If you use globalvar than you don't have to type global.select you just type select if you want to call it and...
The instance_place checks for collision with an object
inst = instance_place(x, y, obj_Enemy);
if inst != noone
//Do something if...
Try to create an Object: oWarp
to the create event add
roomToGo = "";
toGoX = "";
toGoY = "";
Place the warp object at the room, and...
For example if there are a player object, and inside the player object has a var "health" you can access it from an other object by typing...
Than delete the collision event on the player Object
and type this in the player object's step event
//Collision with enemy...
Than you have to replace the code in the enemy object
How did you made the Player movement?
Post here the movement code
Just add a collision event to the Player object with the enemy
and there just type
I don't really understand what you want to do, so the when the enemy touches the player, the room has to restart?
Add this command to the enemy's step event
This will check if the player is about to fall in to the enemy
//oPlayer is the Player object...
Sorry, my fault, just change the speed to spd, because the speed is built in varriable
On the ememy create event add
hsp = 0;
speed = 3;
//1 will be right and -1 will be left
direction = 1;
Than you will need to make a wall object...
Hello, how do you want? Like in Mario? When an enemy hits the wall, it changes direction?
The max image_alpha is 1
Or you can make it to when you press a button, it will fade out until it will be invisible, and and you oress the button again it will be visible...