Search found 34 matches

by phipslk
Sat Dec 21, 2024 5:07 pm
Forum: Newbie questions
Topic: ListRequest goes behind the screen, can i get it front?
Replies: 5
Views: 345

Re: ListRequest goes behind the screen, can i get it front?

perhaps try ActivateDisplay(id) before calling the screen mode requester?
Or use

Code: Select all

CreateDisplay(id, {Mode = "ModeRequester", Active=True})
by phipslk
Tue Dec 17, 2024 6:08 pm
Forum: General programming
Topic: Writing my own texteditor...
Replies: 3
Views: 694

Re: Writing my own texteditor...

thanks, I've noticed that too. My main problem with the IDs is, that I can't find them out. When givin "Nil" as ID when creating an object, it should get an automatic ID, but somehow I can't put them in an array for later delete them, when the user types backspace.
by phipslk
Sat Dec 07, 2024 7:10 pm
Forum: General programming
Topic: Writing my own texteditor...
Replies: 3
Views: 694

Writing my own texteditor...

I have the idea to create a LetterMaker, like these for C64 and Amiga existed. You type in a text, and all your moves get recorded and replayed in the final exe like a notice, the reader can watch, how you typed. But I have problems with the "Delete/Backspace" routine. I just don't get how...
by phipslk
Mon Nov 25, 2024 7:43 pm
Forum: General programming
Topic: Fixed width fonts
Replies: 5
Views: 807

Re: Fixed width fonts

I think this uses a font requester from the operating system underneath. For example, the font requester in MorphOS does have an option to show only Fixed Width fonts (or bitmap fonts or unicode fonts etc.). So FontRequest() with Hollywood on MorphOS does have this option already. I think on AmigaO...
by phipslk
Mon Nov 25, 2024 7:42 pm
Forum: General programming
Topic: Fixed width fonts
Replies: 5
Views: 807

Re: Fixed width fonts

plouf wrote: Sat Nov 23, 2024 8:48 pm but maybe, as a workaround, you can compare FontWidth("IJ1") with FontWidth("OWM") to see if it equal ?
that would be a nice command, FontWidth(). I take dimensions of a TextObject with the letter and GetAttribute() for size measuring
by phipslk
Sat Nov 23, 2024 8:33 pm
Forum: General programming
Topic: Fixed width fonts
Replies: 5
Views: 807

Fixed width fonts

Is it possible to tell FontRequest() only show fixed witdth fonts?
by phipslk
Fri Sep 20, 2024 6:14 pm
Forum: General programming
Topic: Platformer / Jump & run
Replies: 5
Views: 2388

Re: Platformer / Jump & run

Here is how it should behave. that's how it should work. Did you code that in hollywood? plouf, it's as jalih said. it's for gravity, so the player falls always down, otherwise he would stay "in the air". I didn't do the collision routines, just the player movement, so it may interfere no...
by phipslk
Thu Sep 19, 2024 4:40 pm
Forum: General programming
Topic: Platformer / Jump & run
Replies: 5
Views: 2388

Platformer / Jump & run

I am trying to code a platformer with hollywood-mal and I have some troubles with it. Just trying now the player movement. Left/Right works well :-) I ported the code from pico8-lua, but it doesn't work as expected. If I press "up" to jump, it reacts delayed. Any hints for a beginner? @DIS...
by phipslk
Wed Jun 05, 2024 6:35 pm
Forum: Newbie questions
Topic: Layers and double buffer in same project
Replies: 3
Views: 1642

Re: Layers and double buffer in same project

you must disable layers to use DoubleBuffer(). But why would you mix these two things?

see: https://www.hollywood-mal.com/docs/html ... ayers.html
by phipslk
Wed Jun 05, 2024 6:31 pm
Forum: General plugin questions
Topic: Showing TEX-Files?
Replies: 2
Views: 2419

Re: Showing TEX-Files?

just a quick guess without having tried it yet:

in your code, require the tex-plugin, load a .tex file with Readfile() and then display it as a TextObject.
This should work if I understood the manual right.