Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - wisemanxxx

Pages: [1]
1
Technical forum / Re: WME 1.9.1 (Kinjal Edition, v1.8)
« on: May 24, 2010, 08:57:26 AM »
I downloaded Kinjal edition and copy to WME directory over older files.
But when I use Game.RestoreGamma() etc. wme doesn't recognize commands and gives script error.( Call to undefined method 'RestoreGamma'. Ignored.
)


2
Technical forum / Re: Different timings on different machines
« on: May 22, 2010, 07:59:58 PM »
thank you so much.At last I understood... :)

3
Technical forum / Global variable problem
« on: May 17, 2010, 12:27:31 PM »
I want some global values like score, time, player's name etc.
I put a global variable in base.inc (I tried const.inc and game.script too).
Anywhere in game I change this value and use it with a textbox.
But textbox always shows null.Only it works when I give value in same script.
 

4
Technical forum / Different timings on different machines
« on: May 12, 2010, 08:18:43 PM »
How can I set a fix timing for every machines?
I have a puzzle routine like this:
There is a indicator which moves in a range with a fixed speed. And player must click mouse when indicator on red areas. I hope I can tell my problem.
I tested routine on different machines and indicator runs fast or slower depends machine's speed.
and my fade in fade out routines are also run at different speed on different configurations.
I use Sleep function for this. When I want to faster indicator or faster fade in fade outs I use Sleep(1).
Can I fix this problem.

5
Technical forum / Re: Rotating Buttons
« on: May 08, 2010, 10:01:48 AM »
excuse me this question has asked before. :)

6
Technical forum / Rotating Buttons
« on: May 08, 2010, 09:52:36 AM »
method LockPick(vCount)
{

var LkPkRedZonePos = Random(8,20);
var LkPkRedZone ;

Game.Msg(LkPkRedZone);


for(var i=0; i<vCount; i=i+1)
{
  LkPkRedZone = this.CreateButton("But");
 
 LkPkRedZone.SetImage("sprites\lockpick\lockpickredzone.sprite");
  LkPkRedZone.X =103;
  LkPkRedZone.Y = 103;
  LkPkRedZone.Movable=true;
  LkPkRedZone.Rotatable=true;
LkPkRedZone.Rotate=(i+LkPkRedZonePos)*11.25;


}
}

Can I rotate buttons like entities on a window? This code doesn't work

7
Technical forum / Re: z-Order of an entity
« on: April 11, 2010, 10:44:35 AM »
As you said I tried use 3 layers.
One is bottom, one is main and other is top layer.
When I draging object I insert a temp. entity in top layer after drag put it to bottom layer.
Thanks for your answer.

8
Technical forum / Re: z-Order of an entity
« on: April 10, 2010, 05:05:11 PM »
I tried this but I didn't success.
My entity is not a free entity. I put 9 different sprite entities at scene editor.
One script controls all. I made a region on top named "upreg"
All of this at main layer.

in entity's script;

on "LeftClick"
{
global mousex=Game.MouseX-this.X;
global mousey=Game.MouseY-this.Y;
mouseon=true;


this.StickToRegion("upreg");
while (mouseon==true)
{
 this.X = Game.MouseX-mousex;
 this.Y = Game.MouseY-mousey;
Sleep(10);
}

it doesn't work. I guess I'll try your other suggestion.
In fact I plan generate puzzle pieces with script.

9
Technical forum / z-Order of an entity
« on: April 10, 2010, 04:21:07 PM »
I'm designing a puzzle. User can click and drag an object(I'm using sprite entity) to a place. When I click object I want to make this;  object is at top while dragging (top layer) and then when we put it to place it's z-order position must be at bottom. I hope I can tell my problem. I can't solve this problem. If there is a way to change object's layer in script this may be very helpful.

thanks.

10
Technical forum / Packaged EXE Doesn't work now.
« on: March 07, 2010, 09:34:49 PM »
after creating package I try to run exe;
Game doesn't start and exit immediately.
Log file is

 Auto selecting devices:
22:24:   Video: ATI Radeon HD 5700 Series  (accelerated)
22:24:          Windowed:yes  Colors:32bit  T&L:yes  Multisample:0
22:24:   Audio: Primary Sound Driver
22:24: Error loading 'wme_console.dll'. Make sure the file is present and .NET framework 2.0 is installed.
22:24: Maximum texture size: 8192x8192
22:24: Error opening file '\fonts\outline_white.font'
22:24: Error opening file '\fonts\outline_white.font'
22:24: CBFontBitmap::LoadFile failed for file '\fonts\outline_white.font'
22:24: Error loading STATIC definition
22:24: Error loading WINDOW definition
22:24: Error loading INVENTORY_BOX definition
22:24: Error parsing INVENTORY_BOX file 'interface\inventory.def'
22:24: Error loading GAME definition
22:24: Error parsing GAME file 'default.game'
22:24: Error loading game file. Exiting.
22:24:
22:24: Shutting down...
22:24: Shutting down scripting engine
22:24: ********** DEBUG LOG CLOSED ****************************************


My packaging settings are default.

Can you help what is problem?

Pages: [1]

Page created in 0.041 seconds with 20 queries.