Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

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

Pages: [1]
1
Game design / About Sprites and Photoshop
« on: August 19, 2011, 08:06:27 AM »
Hi guys,
do you think Photoshop could be suitable for creating the various frames for  a 2D actor / NPC animation? My Girlfriend, the person handling the artistic  side of our project, is quite skilled with that software, but she has always used it only for photo editing... So I'd like to know if there might be problems/limitations using that software for our purpose.
Thank you! :)

2
Technical forum / scene_init.script problem
« on: August 18, 2011, 11:30:43 AM »
Hi everybody,
I'm new to the forum and the Wintermute Engine, I've read many topics searching for a solution for my problem but I couldn't find any...
So, I have a script on an entity that plays a certain music and trigger a "cut-scene" the first time you click on the hotspot, the FIRST time you visit the scene.

well, that should be the right  behavior, instead every time I exit the scene and re-enter it, the script become active again.
Here, I'm telling you what I tried to do to solve the problem:

1) modify the entity script this way: (just after the on "LeftClick" event line, before the other instructions )

global StateOutside;
if (StateOutside.Visited == true){
gargoyle.DetachScript("\scenes\Outside\scr\gargoyleworm.script",true);
}


the detached script is the same that is running...


more over, as a test I also made this thing in the scene_init.script:

if(!StateOutside.Visited)
{
  StateOutside.Visited = true;
  Game.Msg("state is true now");
}


but it didn't print anything on screen...

where am I making mistakes?

thank you!


Pages: [1]

Page created in 0.034 seconds with 15 queries.