April 25, 2024, 08:45:29 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest WME version:
WME 1.9.1
(January 1st, 2010) -
download
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
About Save/Load
« previous
next »
Pages: [
1
]
Print
Author
Topic: About Save/Load (Read 4096 times)
0 Members and 1 Guest are viewing this topic.
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
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
Gender:
Posts: 5683
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.
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: About Save/Load
«
Reply #2 on:
June 11, 2011, 07:04:46 AM »
thanks man!
Logged
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
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
Gender:
Posts: 376
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
Apeiron Studios
http://www.apeironstudios.com
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
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
Gender:
Posts: 5683
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.
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
About Save/Load