Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read 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.

Topics - wisemanxxx

Pages: [1]
1
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.
 

2
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.

3
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

4
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.

5
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.033 seconds with 18 queries.