Posted By
|
Message
|
EleXor
Registered 21/01/2003
Points 269
|
9th June, 2003 at 15:56:43 -
there is few questions in a small nice package...
Grid:
I wan't to create fighting game, the players have own turns etc. I can use grid somehow, but how to create movement like in Chess? I wan't the player would move 1 square or something...
Multiplayer
I found a directplay object and i just wan't to know can i use it to play with my friend from our computers or something? Can someone tell what is this used for and tell how to use...
Zimbabzbaoozb renadaa renaada... thanks im totally insane
n/a
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
10th June, 2003 at 01:24:35 -
Do you want fluid transition? Or snap to grid movement? Fluid is when they move pixel by pixel and snap is when they move to the next place in the grid immediatly.
To do snap just say - If player pressed up. Piece.y = piece.y - 50(Grid space)
And for fluid -
Repeat while player pressed up
+ Alterable value a = 0 - Set alterable value a to (grid space).
Always
+ alterable values <> 0 - piece.y = piece.y - 1
- subtract 1 from piece.alt val a
Multiplayer
Direct play is awsome, except for the only way to connect to a game is do use the box at the Runtime. Most people use Moo Api, use the search for tuts because there's a fair bit to talk about.
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
EleXor
Registered 21/01/2003
Points 269
|
11th June, 2003 at 13:42:03 -
I didn't exactlyunderstand so can u give me events for that snap thing?
n/a
|
Long John Kickbag
Registered 26/08/2002
Points 148
|
11th June, 2003 at 15:48:20 -
MOOGame works on LAN as well.
Resize! - www.clicksplat.com/comparison.html
|
Blackgaze Possibly Insane
Registered 01/11/2002
Points 3161
|
12th June, 2003 at 14:41:52 -
i never have tryied direct play. i have it but.. nah.
but it is suppose to be hard, VERY hard.
Formerly known as "Spiderhead".
Returned after four years.
www.youtube.com/user/sevlech for more infomation
|
Shen Possibly Insane
Registered 14/05/2002
Points 3497
|
12th June, 2003 at 15:45:40 -
Supposed to be hard? Maybe you just need practice with it.
If you have MMF (you didn't say) you can use Easy Grid object.
Look at DPlay examples or just work it out.
gone fishin'
|
Knudde (Shab) Administrator
Crazy?
Registered 31/01/2003
Points 5125
|
15th June, 2003 at 13:11:31 -
Look at it this way, for a grid board on a 640*480 screen say you want each grid to be 32 pixels wide (standard icon size). The first thing you have to do is divide 640 by 32, easy it = 20, do the same with the 480 which = 15. Ok, now how do you use all of this?
Say you want to move your icon to grid 9,7 (remember X before Y) you would use set position for the X coord, and it would look something like this. Some event - [Set X Position 9 (grid location) * 32 (X width of the icon)]
This will put you character over to the x9 grid, now for the Y one
Some event - [Set Y Position 7 (grid location) * 32 (Y width of the icon)]
NOTE: The some event mean you stick your own condition in there, like playe1 presses fire one or something. Hope this helps out.
Craps, I'm an old man!
|
|
|