Search found 1412 matches

by Bugala
Sun Apr 12, 2026 7:36 am
Forum: General programming
Topic: table dimensioning...
Replies: 3
Views: 1104

Re: table dimensioning...

Plouf explained correctly, but might be easier to understand it this way. The point here is that you can't just make Table = {} and then use something like Table.x{1].sub[2], because you have not made any tables beyond "table", as in Table.x doesn't exist yet, you have to first do it using...
by Bugala
Wed Mar 11, 2026 8:13 am
Forum: Wishlist
Topic: Wishlist: Physics Engine
Replies: 2
Views: 5506

Wishlist: Physics Engine

I have never used actual Physics Engines, just done something similar, very light, myself.

But to my understanding LUA has some Physics Engines available, so I wonder how hard would it be to make Physics Engine plugin from one of them?

That could be useful I suppose.
by Bugala
Fri Mar 06, 2026 1:05 pm
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14360

Re: Minor bug with SeekMusic

AvCodec seems to fix the issue. Compariosn between using SeekMusic with AvCodec on and without it, result in SeekMusic jumping to completely different locations, several seconds apart when jumping to location at about 2 minutes.

Thanks from the suggestion Flinx, can use this to solve my problem.
by Bugala
Wed Mar 04, 2026 10:14 pm
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14360

Re: Minor bug with SeekMusic

No, not using avcodec plugin for this test.
by Bugala
Wed Mar 04, 2026 7:40 pm
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14360

Re: Minor bug with SeekMusic

And more info. I tried with a different file, and it works fine. So has to do with the specific MP3, going to email you the file.
by Bugala
Wed Mar 04, 2026 11:43 am
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14360

Re: Minor bug with SeekMusic

Actually, This isnt such a minor after all. Here is what I tried: First I did: OpenMusic(5, "musicfile.mp3") PlayMusic(5) SeekMusic(5, 124800) I kept changing the Seekmusic location number to find easily recognisable spot, which in this case was 124800. Then I did following: OpenMusic(5, &...
by Bugala
Wed Mar 04, 2026 11:25 am
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14360

Re: Minor bug with SeekMusic

Actually, I just took that SeekMusic line off from my program, and noticed that timings I have done are all off. It appears it is actually the other way around. It is systematically jumping to wrong location, and only randomly jumps to, I assume, right location, since my animations are happening too...
by Bugala
Wed Mar 04, 2026 11:10 am
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14360

Re: Minor bug with SeekMusic

Just took a try with this:

Code: Select all

OpenMusic(5, "sfx/musicfile.mp3")
PlayMusic(5)
SeekMusic(5, 225000)
WaitLeftMouse()
And bug doesnt happen.
by Bugala
Wed Mar 04, 2026 11:03 am
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 14360

Minor bug with SeekMusic

I am currently making an entro, and trying to time things right. To avoid needing to watch the whole thing from beginning, I am using SeekMusic to jump to a certain location in the Music, and then timing is based upon using: GetAttribute(#MUSIC, 5, #ATTRPOSITION) I have only one SeekMusic in the who...
by Bugala
Sun Mar 01, 2026 10:21 am
Forum: Newbie questions
Topic: image dimensions
Replies: 8
Views: 22523

Re: image dimensions

You are using wrong command.

It is not OnLeftDown, and OnLeftUp, but it is OnMouseDown and OnMouseUp.

Change those and it works.