Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

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

Pages: [1]
1
Technical forum / Keyboard key "P" always pause the game
« on: February 08, 2012, 02:05:51 PM »
It's a bit strange, whenever i hit "p" button the pause menù is loaded.

But the only control for that menù is:
Code: WME Script
  1. if(Keyboard.KeyCode==VK_ESCAPE || Keyboard.KeyCode==VK_F1)

i cannot found the solution in keys.inc...the P code should be 80 but there isn't.
What i'm missing?

2
Technical forum / GUI fixed elements on the screen
« on: January 18, 2012, 09:55:49 AM »
So here we are with my daily question  :D

What about fixed elements on the screen (like GUI object)? If my scene is 1024x768 and my main layer is 2000x768...how can i show a window (or something) that "follow" the scene scroll and remain visible and at its position, wherever the actor it's going?

I thought that i can add a new layer (GUI layer 1024x768) to all my scenes, with highest z-index, where i load all my gui-window. Could be right solution?

3
Technical forum / "ActorEntry" event on Region object
« on: January 15, 2012, 08:31:05 PM »
I have a strange bug with a trigger region.
This region is activated when an event occured in game, and has a script attached that is executed when the actor entry this region (actorentry event).

I've set the SaveState attribute of this region to true, so when i return the scene, my region is regularly activated, and it's ok...but wherever my actor enters the scene he activates the trigger and the actorEntry event is executed...how is that possibile?
I can't find a solution...

4
Technical forum / File Object, ReadLine method
« on: January 10, 2012, 10:40:51 AM »
It's not really clear how ReadLine() method works.
It reads "a" line...but how can i read each line of my file? There is an index to pass as a parameter for this method?

5
Technical forum / Problem with file object
« on: January 07, 2012, 06:53:08 PM »
I'm trying to code a script that reads/writes some informations on a .txt file.

I need to save these informations in global variables when the game start, and update them dynamically when some trigger happens in game.

So i included a .inc script (mapInfo.inc) in base.inc and created a file object with my txt. (access: reading).

I read the info and load it in const variable.
Everything works! ok!

But when i try to reopen the file object to write (and update the informations when get the trigger) i get a "File not open" error...the syntax is ok, i think the problem is that the file is opened the firts time and never closed (even though i used file.Close)...or something like that

Someone can help me?
Thanks!

6
Technical forum / Pop-up window
« on: December 26, 2011, 05:17:25 PM »
Hi everybody, merry xmas :D

I'm trying to implement in my game a pop-up window wich appears in some situation. Something like "Your diary has been updated", wich appears like friends login advise on skype or msn...you know?

I create a window to do that...but the only way to display it on screen is by calling GoSystemExclusive, while i want to allow player to continue playing while showing advise, and let it autoclose after some time...

And this is the first problem...the second one is that i'd like to have the animation...any idea how to program the window tho pop up like skype/msn advise?

Thank you for help :)

7
Technical forum / Scrolling the scene
« on: December 16, 2011, 12:57:25 PM »
I am sorry if the problem was faced in other topic, i didn't find anything useful!

I have a 1024x768 scene, it's a "between-levels" map, where the player can choose where to go by clicking places.
The problem is that the background image is 1900 pixel wide, and i have to scroll right and left the map to view all the scene.

This task is automatically done by engine when the actor walk around...but what if actor is not loaded? How can i achieve this?

thank you very much!

8
Technical forum / Changing actor speed
« on: November 26, 2011, 02:37:41 PM »
Hi everybody,

I have a little problem with my character's movement speed. It is determinated by the walking sprite "move by" properties.
In some scenes where the actor is strongly scaled down (about 2-4%) it takes too much time to walk around and the game is too slow and boring.

How can i change the "move by" properties of all my walinking sprite's frames, in every walking animation (up, up-right, right, etc...) when i load these scenes?
there's another method to do that rather than using "move by" properties?

Thank you for help!

9
Technical forum / Stucked in first tutorial
« on: November 18, 2010, 08:23:13 PM »
Hi all!
I'm very newbie in wintermute and in videogames development!
I'm attending a course of videogame development at university and i'm going to develop a Graphics Adventure with WME.

Ok, let's talk about the first problem, in the first (very basic) tutorial "Step 1: Creating the scene; introducing the SceneEdit tool" i've followed all the step but my background image doesn't work, and the run function too.
The screen remain black. It seems like my computer lack some features to run the graphics part of the engine...

I've tryed to download a game made by WME to verify my suspects and seems that game run...but there's no graphic...i only listen to the intro music and dialogs, but the screen is always black.
Maybe can be a problem of graphic card but i really don't know how to fit it...i'm using windows 7 home premium (64-bit) with nvidia 310M (but seems that the engine uses the integrated intel graphic card)

Anybody can help me?
Thank you very much!

Pages: [1]

Page created in 0.024 seconds with 20 queries.