Guest Access
Go to page : 1, 2, 3, 4
Active Member
Active Member
Active Member
profile
handy333
profile
Let me begin by saying thanks for your time and help.
Some of the window sizes are on purpose.
The only problem I'm having is the help bar at the bottom. I was experimenting with the - 32 thing and lots of other ideas but no dice. Things started out with the text saying help via example. So I decided to change some stuff. Then the text turned tiny and sometimes was cut off.
When I tried to change the text size nothing happened, then after that the text didn't display from that point on.
"You must unactive $game_temp.scene_gallery when the gallery is disposed and active it when initialize. I give you this because, I want you to read and understand what I made.
I'm very confused about the aliasing."
The other things with text is confusing me.
I'm still learning the programming lingo.
So most of it I don't understand.
I use most of the strategy I use in eventing.
What exactly does "rescue" do?
What exactly does "alias" do?
...I think that's about it.
^I don't really understand this.^
Thanks in advance.
I would like to fully understand all of this.
For Project Rising Sun.
Some of the window sizes are on purpose.
The only problem I'm having is the help bar at the bottom. I was experimenting with the - 32 thing and lots of other ideas but no dice. Things started out with the text saying help via example. So I decided to change some stuff. Then the text turned tiny and sometimes was cut off.
When I tried to change the text size nothing happened, then after that the text didn't display from that point on.
"You must unactive $game_temp.scene_gallery when the gallery is disposed and active it when initialize. I give you this because, I want you to read and understand what I made.
I'm very confused about the aliasing."
The other things with text is confusing me.
I'm still learning the programming lingo.
So most of it I don't understand.
I use most of the strategy I use in eventing.
What exactly does "rescue" do?
What exactly does "alias" do?
...I think that's about it.
^I don't really understand this.^
Thanks in advance.
I would like to fully understand all of this.
For Project Rising Sun.
Active Member
Show Signature
EVENTALIST
EVENTALIST
EVENTALIST
profile
mr_wiggles
profile
rescue, is do this if the code fails.
and alias is making edits that involve the original code.
if you where to just do this:
it will write over the first code and never run it. but if you want to make an edit that adds to the previous code you make an alais.
@nuka - you graduate from school.
- Code:
File.open("my name") rescue print("file not found")
and alias is making edits that involve the original code.
- Code:
def update
do_this
... ect
end
if you where to just do this:
- Code:
def update
do_this_instead
... ect
end
it will write over the first code and never run it. but if you want to make an edit that adds to the previous code you make an alais.
- Code:
alias :new_update :update
def update
do_this_code_first
... ect
new_update # this will call the old method
now_do_this_after # do some more new code if necessary
... ect
end
@nuka - you graduate from school.
EVENTALIST
Show Signature
EVENTALIST
Active Member
The only one
The only one
The only one
profile
Try this: http://www.mediafire.com/?ysuhp9qqload5yh
It's 1 of my 11 references/tutorials I took from the web.
NuKa_BuBble
profile
Try this: http://www.mediafire.com/?ysuhp9qqload5yh
It's 1 of my 11 references/tutorials I took from the web.
The only one
Show Signature
Active Member
Active Member
Active Member
profile
handy333
profile
Alias is just my enemy.
I can't seem to fully understand it.
I've looked everywhere on the topic
but its explanation is hazy.
I can't seem to fully understand it.
I've looked everywhere on the topic
but its explanation is hazy.
Active Member
Show Signature
Administrator
Administrator
Administrator
profile
Yo Handy! One of my most common mistakes that I repetitively make when it comes to code is "over thinking"
what part of the alias method do you not get?
the alias method is mostly used so that one script can write to another and use an existing method without have to rewrite the whole sha-bang-bang.
G@MeF@Ce
profile
handy333 wrote:Alias is just my enemy.
I can't seem to fully understand it.
I've looked everywhere on the topic
but its explanation is hazy.
Yo Handy! One of my most common mistakes that I repetitively make when it comes to code is "over thinking"
what part of the alias method do you not get?
the alias method is mostly used so that one script can write to another and use an existing method without have to rewrite the whole sha-bang-bang.
Administrator
Show Signature
Active Member
Active Member
Active Member
profile
handy333
profile
Is it like this?
class You
def this
alsdj;fkl;
end
end
class Me
alias this
end
If it is, isn't super() the same way?
I think I get confused when I read about more than one topic and try to try them all at once.
class You
def this
alsdj;fkl;
end
end
class Me
alias this
end
If it is, isn't super() the same way?
I think I get confused when I read about more than one topic and try to try them all at once.
Active Member
Show Signature
Administrator
Administrator
Administrator
profile
G@MeF@Ce
profile
you're getting it...
class You
def this
blah
blah
blah
blah
end
end
class Me < You
alias do_this this
def this
more_blah
do_this
end
end
^,^
class You
def this
blah
blah
blah
blah
end
end
class Me < You
alias do_this this
def this
more_blah
do_this
end
end
^,^
Administrator
Show Signature
The only one
Active Member
Active Member
Active Member
profile
handy333
profile
So the "<" in "Me < You" is needed for alias?
Is alias like include?
Is alias like include?
Active Member
Show Signature
Go to page : 1, 2, 3, 4