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

Author Topic: About Save/Load  (Read 4096 times)

0 Members and 1 Guest are viewing this topic.

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
About Save/Load
« on: June 09, 2011, 05:17:20 PM »

Hello there!

i was wondering if i can to make a save/load scene without to use window edit..
i create a scene with load menu with thumbnail inside..
is there some code for all this? some example..maybe!
i need to use thumbnail + date + time...

thanks! :)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: About Save/Load
« Reply #1 on: June 10, 2011, 03:24:16 PM »

If you want to display text, you have to use a window, there is no other way.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: About Save/Load
« Reply #2 on: June 11, 2011, 07:04:46 AM »

thanks man! :)
Logged

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: About Save/Load
« Reply #3 on: June 11, 2011, 04:12:13 PM »

mnemonic, about window.. one more question!

can i rotate the text or button in window edit?

i use this code but i have some error*

var Window = this.Parent;
var myText = Window.GetControl("myText");
myText.Rotatable = true;
myText.Rotate = 90;



* Call to underfined method "GetControl". Ignored.
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: About Save/Load
« Reply #4 on: June 13, 2011, 09:42:36 PM »

Did you checked if Parent returned null? Where did you write that code? If it belongs to the window itself, there's no need for this.Parent, simply use this.


greets,

spellbreaker
Logged

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: About Save/Load
« Reply #5 on: June 13, 2011, 10:26:52 PM »

Ok! i fix this error..
and i change the code.. with or without "this.Parent" but i think buttons & text can't rotated.
i don't know..

somebody who knows about rotate, if have any sample code to show me.. because i stuck!

thanks for the replay spellbreaker.. :)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: About Save/Load
« Reply #6 on: June 15, 2011, 04:26:02 PM »

GUI elements cannot be rotated. Only actors and entities support rotation.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.039 seconds with 23 queries.