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 - anarchist

Pages: [1] 2 3 ... 13
1
Don't know about Lite but I had some weird side effects on my fonts after a resent Windows 10 update. If "Change the size of text, apps, and other items" is not set to 100% my fonts are increased in size and make a mess.

2
Make sure that in your base.inc script you have:

Code: WME Script
  1. global new_actor;
  2.  

Also what mihaipuiucernea said needs to be done. Why this you will ask.

Well, the actor variable which already exists is a global variable, meaning that it is maintained regardless in which scene you are and you can use it anywhere. There is a little catch though. To use it in a script you need to have this before using it:

Code: WME Script
  1. global new_actor;
  2. <do stuff with new_actor>
  3.  

You will notice that base.inc is included in all your scripts, be it game.script, in a scene_init.script, in an entity script, anywhere. If you add global new_actor in base.inc, then you can assume that the command runs as soon as base.inc is included, which is always at the beginning of your script. Think of it as code that is always executed.

Don't get carried away though and start adding any global variable you need in base.inc. Add only variables which you will need to use in almost every script. For instance, global Statestarttest; is not a variable you normally need in base.inc, because you most probably will use it only in the scene_init.script and maybe in some of your entities.

There is no shame in being a beginner, we all start somewhere. Bear in mind that the documentation contains everything you will need. What you need now is to become a better programmer and then you will realise that WME is a piece of cake to use. I suggest that you restart the tutorial and do the work that you are instructed to do, instead of just reading it. You will understand many necessary concepts. Your code might initially be a big mess, but you will gradually get better. I suggest that you also read some articles about proper programming style and best practices, they are very useful.

3
You need to show us the contents of scene_init.script to be able to help you.

4
My fear is that the lack of traffic in the forum means that WME is not used by new adventure games creators anymore. Unity is very popular at the moment and not only for 3D games. It remains free up to a point and I think their pricing is quite fair.

We will also probably move away from this wonderful engine because of the multiple platforms but also because the engine has not been updated for a long time. Mnemonic had announced WME v2.0 but I assume that the project must be halted since we haven't had news for years. Also, the latest release of v1 has been on beta for a long time. It is sad for me because this engine has absolutely everything you need for a 2D or 2.5D adventure and the community has been very helpful.

I haven't tried Lite to be honest. Our game is near release (it has been greenlit by Steam and we are finishing the bureaucratic part now so we can release it) so I will try it out. Has it been updated recently?

5
Thank you very much for the advice eborr.

I chose to move the entity container. I added events to each frame of my animation and then I catch the events in my entity's script. I then get the entity container control from my window and change its X value on each event occurrence.

P.S. Dude, are we the only active members of this forum left?

6
Technical forum / Moving animation in Window Entity Container does not move
« on: November 27, 2016, 10:48:01 PM »
Hello everyone.

I have created an entity container inside a window. I have linked an entity which has a moving sprite (it is a tiny actor moving left and right).

The entity's animation plays but it does not move left and right. The actor moves his legs and turns left and right but does not move on the screen.

Am I doing something wrong or is there nothing I can do about this?

7
The problem was in the way I build the file name string:

Code: WME Script
  1. var fileName = "sound_effects\\" + actor.Name + ".ogg";
  2.  

I was mislead by SciTE that '\' character works as an escape character, so I used double slash ('\\'). In debug mode, this was not an issue. But when I compiled the packages this stopped working. So, only a single '\' is used to solve the issue.

8
Technical forum / TalkAsync sound file does not work in compiled packages
« on: September 04, 2016, 02:04:02 PM »
Hello everyone,

I use the command:

Code: WME Script
  1. actor.TalkAsync("", "fileName.ogg", 5000);
  2.  

to trigger the talk animation and play a speech sound. I show the dialogue text in a separate window, which is why I send an empty string.

When I run the game in debug mode, the speech sound plays fine. When I compile the game and run it from "packages" folder, the speech sound is not heard. I believe it is not an issue with sound effects volume, because other sound effects are heard fine.

Any ideas why this might happen?

9
Bug reports / Re: SceneEdit crash
« on: May 22, 2016, 09:59:21 PM »
Problem solved.

I found out that RuntimeBroker.exe is related to Windows security. So I run WME as Admin and the problem was fixed. Thanks for your time Mnemonic.

10
Bug reports / Re: SceneEdit crash
« on: May 22, 2016, 03:36:17 PM »
I was running Windows 8.1. I have just upgraded to Windows 10 and get the same problem (I removed and reinstalled WME):

Code: [Select]
Log Name:      Application
Source:        Application Error
Date:          2016-05-22 17:33:35
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      CA-PC
Description:
Faulting application name: RuntimeBroker.exe, version: 10.0.10586.0, time stamp: 0x5632d7e0
Faulting module name: Windows.Internal.Shell.Broker.dll, version: 10.0.10586.218, time stamp: 0x56ff3976
Exception code: 0xc0000005
Fault offset: 0x000000000003bdea
Faulting process id: 0x13f0
Faulting application start time: 0x01d1b435e1a2051d
Faulting application path: C:\Windows\System32\RuntimeBroker.exe
Faulting module path: C:\WINDOWS\system32\Windows.Internal.Shell.Broker.dll
Report Id: 0bfb9341-61ed-41e7-8279-6f36e1ac3210
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-05-22T14:33:35.017791700Z" />
    <EventRecordID>394</EventRecordID>
    <Channel>Application</Channel>
    <Computer>CA-PC</Computer>
    <Security />
  </System>
  <EventData>
    <Data>RuntimeBroker.exe</Data>
    <Data>10.0.10586.0</Data>
    <Data>5632d7e0</Data>
    <Data>Windows.Internal.Shell.Broker.dll</Data>
    <Data>10.0.10586.218</Data>
    <Data>56ff3976</Data>
    <Data>c0000005</Data>
    <Data>000000000003bdea</Data>
    <Data>13f0</Data>
    <Data>01d1b435e1a2051d</Data>
    <Data>C:\Windows\System32\RuntimeBroker.exe</Data>
    <Data>C:\WINDOWS\system32\Windows.Internal.Shell.Broker.dll</Data>
    <Data>0bfb9341-61ed-41e7-8279-6f36e1ac3210</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

Code: [Select]
Log Name:      Application
Source:        Windows Error Reporting
Date:          2016-05-22 17:33:36
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      CA-PC
Description:
Fault bucket 120450993616, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: RuntimeBroker.exe
P2: 10.0.10586.0
P3: 5632d7e0
P4: Windows.Internal.Shell.Broker.dll
P5: 10.0.10586.218
P6: 56ff3976
P7: c0000005
P8: 000000000003bdea
P9:
P10:

Attached files:
C:\Users\C\AppData\Local\Temp\WER44E9.tmp.WERInternalMetadata.xml

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_RuntimeBroker.ex_cbaf8a6c2a45956268b1a999c78ba86fc7443a_d4ed13af_23f14883

Analysis symbol:
Rechecking for solution: 0
Report Id: 0bfb9341-61ed-41e7-8279-6f36e1ac3210
Report Status: 0
Hashed bucket: 003eea5ead4b683876c3fcd5e0d05bdf
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Windows Error Reporting" />
    <EventID Qualifiers="0">1001</EventID>
    <Level>4</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-05-22T14:33:36.064071500Z" />
    <EventRecordID>395</EventRecordID>
    <Channel>Application</Channel>
    <Computer>CA-PC</Computer>
    <Security />
  </System>
  <EventData>
    <Data>120450993616</Data>
    <Data>4</Data>
    <Data>APPCRASH</Data>
    <Data>Not available</Data>
    <Data>0</Data>
    <Data>RuntimeBroker.exe</Data>
    <Data>10.0.10586.0</Data>
    <Data>5632d7e0</Data>
    <Data>Windows.Internal.Shell.Broker.dll</Data>
    <Data>10.0.10586.218</Data>
    <Data>56ff3976</Data>
    <Data>c0000005</Data>
    <Data>000000000003bdea</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
C:\Users\C\AppData\Local\Temp\WER44E9.tmp.WERInternalMetadata.xml</Data>
    <Data>C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_RuntimeBroker.ex_cbaf8a6c2a45956268b1a999c78ba86fc7443a_d4ed13af_23f14883</Data>
    <Data>
    </Data>
    <Data>0</Data>
    <Data>0bfb9341-61ed-41e7-8279-6f36e1ac3210</Data>
    <Data>0</Data>
    <Data>003eea5ead4b683876c3fcd5e0d05bdf</Data>
  </EventData>
</Event>

11
Bug reports / Re: SceneEdit crash
« on: May 21, 2016, 10:25:39 PM »
I run the command. It took some time to finish:

Code: [Select]
C:\Windows\system32>sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

C:\Windows\system32>

But it made not difference.

12
Bug reports / SceneEdit crash
« on: May 21, 2016, 05:28:04 PM »
This problem started lately. I recently updated my gpu drivers to latest version.

When I open SceneEdit, the SceneEdit window appears fine and I can click around and do some work. But after some seconds, the window crashes. I have tried installing v1.10 but the problem persists.

Windows event log:
Code: [Select]
Log Name:      Application
Source:        Application Error
Date:          2016-05-21 19:06:01
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      CA-PC
Description:
Faulting application name: SceneEdit.exe, version: 1.10.1.0, time stamp: 0x50081787
Faulting module name: COMCTL32.dll, version: 5.82.9600.17810, time stamp: 0x553afcee
Exception code: 0xc0000005
Fault offset: 0x0002d160
Faulting process id: 0xd14
Faulting application start time: 0x01d1b37aa8e6741d
Faulting application path: C:\Program Files (x86)\WME DevKit\SceneEdit.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1\COMCTL32.dll
Report Id: e8f8a603-1f6d-11e6-85b5-1c6f652d7aea
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-05-21T16:06:01.000000000Z" />
    <EventRecordID>106675</EventRecordID>
    <Channel>Application</Channel>
    <Computer>CA-PC</Computer>
    <Security />
  </System>
  <EventData>
    <Data>SceneEdit.exe</Data>
    <Data>1.10.1.0</Data>
    <Data>50081787</Data>
    <Data>COMCTL32.dll</Data>
    <Data>5.82.9600.17810</Data>
    <Data>553afcee</Data>
    <Data>c0000005</Data>
    <Data>0002d160</Data>
    <Data>d14</Data>
    <Data>01d1b37aa8e6741d</Data>
    <Data>C:\Program Files (x86)\WME DevKit\SceneEdit.exe</Data>
    <Data>C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1\COMCTL32.dll</Data>
    <Data>e8f8a603-1f6d-11e6-85b5-1c6f652d7aea</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

The log from SceneEdit does not appear to have recorded the error:
Code: [Select]
19:05: ********** DEBUG LOG OPENED 21-05-2016 (Release Build) *****************
19:05: Wintermute Engine ver 1.10.1beta, Compiled on Jul 19 2012, 16:18:06
19:05: Platform: Windows XP or higher  (Build 9200)
19:05: DirectX version: 9.0
19:05:
19:05: Scanning packages...
19:05:   Registered 0 files in 0 package(s)
19:05: Initializing scripting engine...
19:05:   Script compiler bound successfuly
19:05: Loading plugins...
19:05:   wme_sample_pixel.dll
19:05:   wme_snow.dll
19:05: Scanning packages...
19:05:   Registered 0 files in 0 package(s)
19:05: Enumerating Direct3D devices...
19:05: Enumerating DirectSound devices...
19:05: Game aspect ratio:    -1.#IND00
19:05: Monitor aspect ratio: 1.777778
19:05: Game aspect ratio is the same as monitor aspect ratio.
19:05: Backup resolution:  0 x 0
19:05:
19:05: Available video devices:
19:05:   AMD Radeon HD 5800 Series (accelerated)
19:05:     Driver: aticfx32.dll 8.17.10.1404
19:05:     Monitor: 0
19:05: Available audio devices:
19:05:   Primary Sound Driver
19:05:   Speakers (Realtek High Definition Audio)
19:05:   Realtek Digital Output(RCA) (Realtek High Definition Audio)
19:05:   Realtek Digital Output (Realtek High Definition Audio)
19:05:   /syseng0019/[no sound]
19:05: Auto selecting devices for windowed mode:
19:05:   Video: AMD Radeon HD 5800 Series (accelerated)
19:05:          Windowed:yes  Colors:16bit  T&L:no  Multisample:0
19:05:   Audio: Primary Sound Driver
19:05: Maximum texture size: 16384x16384
19:05: ----- Open file: 'F:\Job\Games\DrDoyle\scenes\scenes\WhitehavenHallExterior\WhitehavenHallExterior.scene' -----

13
Technical forum / Re: How to empty an array
« on: May 06, 2016, 11:27:11 PM »
Hi Dan. You can simply reassign the variable it a new array:

Code: WME Script
  1. arrayVariable = new Array();
  2.  

or you can set Lenght to 0 (I haven't tested this, it's according to the documentation):

Code: WME Script
  1. arrayVariable.Length = 0;
  2.  

14
Technical forum / Re: Highilighting a scene Region Entity
« on: April 23, 2016, 02:46:11 PM »
Hello eborr, thanks for the response.

I am afraid that your first proposal will not work for me. I am not using entities (coloured yellow in Scene editor), I am using region entities (coloured green in Scene editor), which are entities without a sprite. The drawing of the bookcase is part of the background and I simply traced the region entity around it. Therefore, the decoration region that I add does not have an effect on the region entity. It only affects entities with a sprite. Not a bad idea when using entities though  ;)

Your second idea would require to cut graphics from the background to create sprites for entities. Instead of going this way, I would follow your first idea instead and have normal sprites for entities and a decoration region to apply a graying effect on the entity's sprite.

I will wait though just in case someone has a solution for region entities, so I don't have to convert all region entities of every scene into normal entities.

15
Technical forum / Highilighting a scene Region Entity
« on: April 22, 2016, 11:18:56 PM »
Hello everyone

In my scenes I have mainly region entities. I am trying on MouseEntry to achieve:

- either highlight around the region entity
or
- shade the inside of the region

For instance, in my background I have a bookcase. I traced a region entity around it. Now I would like when the mouse hovers above the bookcase to have a highlighting effect.

I have tried:

Code: WME Script
  1. on "MouseEntry"
  2. {
  3.         this.AlphaColor = 255;
  4. }
  5.  
  6. on "MouseLeave"
  7. {
  8.         this.AlphaColor = 0;
  9. }
  10.  

But this doesn't have any effect.

Any ideas?

Pages: [1] 2 3 ... 13

Page created in 0.325 seconds with 17 queries.