Search found 276 matches

by jalih
Mon Apr 01, 2019 10:45 am
Forum: Tutorials
Topic: Let's build a Dungeon Crawler with Hollywood-MAL!
Replies: 20
Views: 24173

Re: Let's build a Dungeon Crawler with Hollywood-MAL!

Hi Allanon, Sounds like really interesting and fun project! I nowadays program mostly in 8th programming language which is like Forth on stereoids but have been thinking about fixing my old game framework for Hollywood. The 8th programming language is not really that well suited for games (lack of h...
by jalih
Tue Mar 06, 2018 6:18 pm
Forum: GL Galore
Topic: GL Galore rocks!
Replies: 18
Views: 26522

Re: GL Galore rocks!

This small demo with only one moving sprite (the cat) should have more fps. Seems to be an issue of the framework, because for example HollyMan has several moving objects/sprites and runs really smooth with around 20%-24% cpu usage. Ok, the demo has a scrolling playfield but if it doesn't scrolls i...
by jalih
Sun Aug 06, 2017 3:22 pm
Forum: Announcements
Topic: Hollywood plugin for Vim released
Replies: 6
Views: 11892

Re: Hollywood plugin for Vim released

VIM is not an IDE, it is "just" an editor -- but a very powerful one. However, If you do not know VIM and do not attest yourself some kind of nerdyness , you most likely will not fall in love with VIM. However, I will give you a hint why VIM is such an indispensable tool: Why, oh WHY, do ...
by jalih
Thu Oct 15, 2015 8:10 pm
Forum: Newbie questions
Topic: Prevent a sprite (which follows the mouse) out of a circle?
Replies: 8
Views: 9525

Re: Prevent a sprite (which follows the mouse) out of a circ

@themartian I would like to know how to have an object that rotates around a fixed axis which follow the mouse Not sure, if I understood right... If you need to calculate the angle in a circle (useful, if you want to rotate object towards mouse pointer): x1, y1 ; Center point of the circle x2, y2 ;...
by jalih
Wed Sep 09, 2015 9:23 am
Forum: Wishlist
Topic: return value for iskeydown or waitkeydown
Replies: 6
Views: 8653

Re: return value for iskeydown or waitkeydown

zylesea wrote:I think it would be great if iskeydown and waitkeydown would accept "any" as argument for any key and return the value of the pressed key accordingly.
How would multiple simultaneously pressed down keys get handled? One return value is not enough, you would need a state table.
by jalih
Sun Sep 06, 2015 8:11 pm
Forum: Hollywood bugs
Topic: Add the alternative to CreateKeyDown
Replies: 2
Views: 3970

Re: Add the alternative to CreateKeyDown

Bugala wrote: I am right now looking for something like CreateKeyDown, I just dont know by what name to look it for.
Why not just install event handler and handle "OnKeyDown" or/and "OnKeyUp" events?
by jalih
Tue Sep 01, 2015 6:45 pm
Forum: Newbie questions
Topic: hey there (+ newbie questions)
Replies: 7
Views: 8785

Re: hey there (+ newbie questions)

This throws an error "Wrong operator for this type!" in the console. So it'll only take a string here? What did I do wrong? Error message says it all, you are using "+" operator to concatenate strings (probably due to javascript background). You should be using ".." as...
by jalih
Sat Jul 11, 2015 12:58 pm
Forum: GL Galore
Topic: MakeButton and DoubleBuffer Displays
Replies: 3
Views: 9371

Re: MakeButton and DoubleBuffer Displays

Is it correct, that if I have a DoubleBuffer display I cannot use MakeButton() to create zones for mouseevents? The regular eventhandler responds to mouse events (if set up to do so). But if I include a MakeButton statement, I am told that - 'A BGPIC needs to be active when calling button functions...
by jalih
Sun Jul 05, 2015 11:21 am
Forum: General programming
Topic: Bitmap font support files
Replies: 1
Views: 3474

Re: Bitmap font support files

I have added some useful functionality:

- Calculate size of the text rectangle
- Handle clipping
- Center text inside the rectangular area
by jalih
Wed Jul 01, 2015 5:01 pm
Forum: GL Galore
Topic: GL Galore rocks!
Replies: 18
Views: 26522

Re: GL Galore rocks!

I have added interpolation...

Could you please test this Windows demo and let me know how it performs on your system. On my old Windows 7 computer it runs really smooth.