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

Pages: 1 2 [3]
31
Technical forum / screen scroll
« on: April 25, 2012, 09:15:26 PM »
Hi

Another day, another problem :/

Why in full screen mode my screen scroll is much slower than in window mode?? Also my character walks much slower in fullscreen mode. Whole game run much slower...

32
Technical forum / Function cameraShake
« on: April 24, 2012, 10:43:49 PM »
Hi

I think that I missed something. I wrote cameraShake function but it's not what I expected. There is code for it and it should go to base.inc

Code: [Select]
function cameraShake(strX, strY, speed, length, resX, resY)
{
 var shakeX, shakeY, shakeDirection;
 for(var i=0; i<length; i=i+1)
  {
Scene.SkipTo(resX/2, resY/2);
shakeDirection = Random(0,3);

if (shakeDirection == 0)
{
          //left up corner
  shakeX = Random(0,strX);
  shakeY = Random(0,strY);
}

    if (shakeDirection == 1)
{
          //right up corner
  shakeX = Random(0,strX) + resX;
  shakeY = Random(0,strY);
}
 
if (shakeDirection == 2)
{
  //left down corner
  shakeX = Random(0,strX);
  shakeY = Random(0,strY) + resY;
}
 
if (shakeDirection == 3)
{
  //right down corner
  shakeX = Random(0,strX) + resX;
  shakeY = Random(0,strY) + resY;
}
 
Scene.SkipTo(shakeX, shakeY);
Sleep(speed);
Scene.SkipTo(resX/2, resY/2);
Sleep(speed);
  }
}

strX, strY is a strenght of shake
speed its speed between shakes in milisec
resX, resY is resolution of your game
lenght is just a lenght of shake

Thanks to putting this function to base.inc you have access to this from every script just calling cameraShake(100,100,100,10,1280,720); - this parameters works for me.

If somebody has any idea how to improve this function please help :) Maybe together we will do it properly.

33
Technical forum / Camera Shake
« on: April 21, 2012, 01:18:02 AM »
Hi

Is there any way to simulate camera shake?

34
Technical forum / GUI element
« on: April 17, 2012, 07:54:13 PM »
Hi

I want make some kind of health bar for my character. It should be displayed all the time in the same place on screen. I have no idea how to do it. I need some tip, some example will be awesome.

Thanks.

35
Technical forum / Caption problem
« on: April 12, 2012, 09:20:36 PM »
Hi

I got right click inventory and it works. What is the problem? Problem is that when I got my inventory on screen, my scene objects (active objects on scene) are still active. It's bad because my inventory looks like it was transparent and caption shows names of my scene objects. How can I deactivate my scene objects when I got my inventory on?

Sorry for my poor english :)

36
Technical forum / Screen Size
« on: February 18, 2012, 02:42:42 AM »
Hello

I know that Wintermute doesn't allow me to change screen resolution in game. So, I got problem. I think that my adventure game will be finished somewhere in 2013 year. Question is which screen resolution should I select for my game?? Which screen size will be most common in 2013?? What's your opinion??

37
Technical forum / Wintermute 2
« on: November 16, 2011, 01:33:04 AM »
Hi

What about this project?? There is no news since april...

http://wme2.dead-code.org/

Mnemonic:
When do you expect to complete WME2?? How's the project??

Best Regards :)

Pages: 1 2 [3]

Page created in 0.095 seconds with 21 queries.