Search found 1178 matches

by Bugala
Fri Mar 13, 2015 6:39 pm
Forum: General programming
Topic: what id means in [id] = LoadAnim(id, filename$[, table])?
Replies: 8
Views: 7951

Re: what id means in [id] = LoadAnim(id, filename$[, table])

hmm, found from user manual about that #LIGHTUSERDATA.

I guess this is a bug in ShowLayerFX command that it doesnt work with that.

I am using Hollywood 5.3

edit: Just checked with "Showlayer(id)" command, doesnt work with that either.
by Bugala
Fri Mar 13, 2015 6:29 pm
Forum: General programming
Topic: can foreach command include tables name it is going through?
Replies: 2
Views: 3601

Re: can foreach command include tables name it is going thro

And also since on that topic already: http://www.hollywood-mal.com/docs/html/hollywood/ForEach.html I think you should add example of using: foreach(table, func) function func(index, value) debugprint("index:"..index.." value:"..value) endfunction for the current example is quite...
by Bugala
Fri Mar 13, 2015 6:24 pm
Forum: General programming
Topic: what id means in [id] = LoadAnim(id, filename$[, table])?
Replies: 8
Views: 7951

Re: what id means in [id] = LoadAnim(id, filename$[, table])

How can i use it in practice then?

For when i try:

Code: Select all

ShowLayerFX(newlayerid, {Type = #ZOOMCENTER, Speed=10})
i receive an error message saying: "String or number expected in argument 1!"
by Bugala
Fri Mar 13, 2015 5:59 pm
Forum: General programming
Topic: what id means in [id] = LoadAnim(id, filename$[, table])?
Replies: 8
Views: 7951

what id means in [id] = LoadAnim(id, filename$[, table])?

I had this piece of code:

Code: Select all

newlayerid=LoadAnim(Nil, "temp.jpg")
	DebugPrint(newlayerid)
what i was expecting was number like 1

but instead i get:
UserData: 047631E0

What does this id mean actually, and is this right?
by Bugala
Thu Mar 12, 2015 8:22 pm
Forum: General programming
Topic: can foreach command include tables name it is going through?
Replies: 2
Views: 3601

can foreach command include tables name it is going through?

I already solved my problem alternative way as i came to conclusion it was better to be done different way, but I am anyway wondering for future purposes if following would be possible. I had several different card deck tables: abilitycards blesingcards recoursecards These tables contained a list of...
by Bugala
Wed Mar 11, 2015 2:17 pm
Forum: Tutorials
Topic: Hollywood with Designer Tutorial2-First steps to programming
Replies: 3
Views: 19392

Re: Hollywood with Designer Tutorial2-First steps to program

Incomplete Tutorial 3 is now available from youtube as well: https://www.youtube.com/watch?v=2OF8gfDHuNg

Tutorial 2 available only from Indiego still.
by Bugala
Fri Mar 06, 2015 5:34 pm
Forum: Tutorials
Topic: Hollywood with Designer Tutorial2-First steps to programming
Replies: 3
Views: 19392

Re: Hollywood with Designer Tutorial2-First steps to program

Tutorial 2 is now available for free.

In my effort to trying to get to be one of the top 10 developers for march to get the prize money, It is only available from Indiego at this point.
by Bugala
Thu Mar 05, 2015 2:38 pm
Forum: Windows IDE
Topic: Can i copy old install to new machine?
Replies: 1
Views: 5715

Can i copy old install to new machine?

My Win7 machine had some unknown, probably windows problem, and due to its nature, it seemed like best solution to make the machine like new and reinstall win7. I took copy of everything i had in my C drive, and one of the things in there was Hollywood 5.3. Do i have to install Hollywood 5 again and...
by Bugala
Thu Mar 05, 2015 8:15 am
Forum: Tutorials
Topic: Hollywood with Designer Tutorial 1 - Designer Basics
Replies: 4
Views: 18384

Re: Hollywood with Designer Tutorial 1 - Designer Basics

In addition to youtubes 3 part video, Tutorial 1 is now also available from Indiego as one video.
by Bugala
Fri Feb 27, 2015 10:24 pm
Forum: Newbie questions
Topic: adapting a source script to a personnal code
Replies: 41
Views: 40505

Re: adapting a source script to a personnal code

Not sure if you found the solution yet or not, but here is something for that walking that you could perhaps use. this is not real working code, but only part of it, but i think you can figure what i am after: function movecharacter(character) n = character.n curx = character.x cury = character.y de...