1
2
ID:167642
Feb 16 2006, 6:31 am (Edited on Feb 16 2006, 6:48 am)
|
|
is it possible to make it so one person sees one set of icons and the other player sees a different set of icons...i tried alot of things like vars and if, and image() but im haveing a lot of trouble. I'm making stratego and i don't want you to see your opponents pieces. if you don't know how to do rthis exactley as i want leave a post with an idea on how to do it!
|
Feb 16 2006, 7:07 am
|
|
...just changing the heading
|
In response to Dmingmage
|
|
There is an edit button. Make good use of it.
|
In response to Artemio
|
|
how??????? im looking at the options and there nothing that says one person can see the fron and he other cant
|
In response to Dmingmage
|
|
I was talking about your double-posting habit.
|
Attach two image objects to each piece and output the appropriate one to the player.
obj/game_piece |
In response to Loduwijk
|
|
Stratego? I LOVE THAT GAME!!! I hope the game comes out soon. :)
|
Ahh, Stratego... I was working on a Stratego project and made it so when you put your mouse over one of YOUR pieces, it showed the name on the screen, if it's not yours, nothing happens.
|
In response to Exophus
|
|
Clever. Anyway, I searche dfor stratego, and I found Dmingmage's project. I can move the pieces even if they're not assigned yet... And I can name the pieces anything. (I.E I can name a piece "pie" instead of "F" or "B")
Just thought I'd give you the heads up. |
In response to KirbyRules
|
|
thats the oldder version...i updated it to have real pictures, you can only move your pieces, and im trying to make it so only you see your pictures......www.geocities.com/dmingmage/ scrnshot2.png...also argorth_of_dillen is my other name
|
In response to Loduwijk
|
|
how do i define the opponent.my_side var..... thats my only error right now...also how would i set up my icon states...i have 13 differeent iconstates right now! can i call 12 front and 1 back???
its getting really hard to do this through the forum...if i could send out a zip with the codding ind icon stuff would somebodly be able to look at the codding??? either leave me a post with your email or email me a [email protected] |
In response to Loduwijk
|
|
how do i attach two image objects?
|
In response to Exophus
|
|
just so i can get something up for testing...how? i prob won't even use it...but maybe i can use it to figurre this out
|
In response to Dmingmage
|
|
Wow, you really have a habit of double posting...
I can't really help you, I just had to point that out... |
In response to KirbyRules
|
|
i try not to...just when i used to go to byond coders for help they still had the chat room
|
In response to Dmingmage
|
|
I showed you how in my example. As for icon states, yes you can have multiple front ones with the various types of pieces, and one back.
|
In response to Loduwijk
|
|
i think im confusing the compileir...everytime i try to compile it the game locks up...
obj <align = center> loading board game.dme BYOND(347.899) Error: the file C:\Documents and Settings\Compaq_Owner\Desktop\BYOND\board game\board game.rsc is locked up! obj.dm:51:error:'red.dmi':cannot find file BYOND(347.899) Error: the file C:\Documents and Settings\Compaq_Owner\Desktop\BYOND\board game\board game.rsc is locked up! obj.dm:55:error:'blue.dmi':cannot find file BYOND(347.899) Error: the file C:\Documents and Settings\Compaq_Owner\Desktop\BYOND\board game\board game.rsc is locked up! obj.dm:60:error:'red.dmi':cannot find file BYOND(347.899) Error: the file C:\Documents and Settings\Compaq_Owner\Desktop\BYOND\board game\board game.rsc is locked up! obj.dm:64:error:'blue.dmi':cannot find file mob.dm:15:O :warning: variable defined but not used board game.dmb - 4 errors, 1 warning (double-click on an error to jump to it)</align> also i made 12 front icon_states and 1 back for each red.dmi and blue.dmi |
In response to Dmingmage
|
|
Are you sure it's "red.dmi" and not "Red.dmi"? You have to put the exact file name.
|
In response to KirbyRules
|
|
positive...but now it doesnt lock up.....now it has a prob. where when it loads the screen is black
|
In response to Dmingmage
|
|
Try going to "Build" and clicking "Clean Compile". That will wipe the rsc file and re-uplaod all of the resources to it. That might fix the problem...Not exactly sure. I'm not too familier with error messages.
|
1
2