Search found 276 matches

by jalih
Tue Jun 30, 2015 8:24 pm
Forum: General programming
Topic: HGF updated
Replies: 4
Views: 7284

Re: HGF updated

Just fixed my bitmap font support module...

- added clipping, so now text going out of screen boundaries is handled properly
by jalih
Tue Jun 30, 2015 9:46 am
Forum: GL Galore
Topic: GL Galore rocks!
Replies: 18
Views: 26472

Re: GL Galore rocks!

Title screen flickers like hell here too but I don't get any warnings or crashes. I'm on Pegasos 2 and a Radeon 9250 and MorphOS 3.9. Performance is at 10fps. Could probably be increased by disabling the line hook using DisableLineHook() and EnableLineHook() like in the GL Galore examples. It shoul...
by jalih
Tue Jun 30, 2015 8:00 am
Forum: General programming
Topic: HGF updated
Replies: 4
Views: 7284

Re: HGF updated

Looks like you're using some kind of manual throttle in the game loop in HGFgame:run(). For the best performance you should leave this to Flip() which will automatically synchronize with the monitor's vertical refresh, i.e. it will wait for the vblank and then refresh automatically. I am using fixe...
by jalih
Sun Jun 28, 2015 10:12 pm
Forum: GL Galore
Topic: GL Galore rocks!
Replies: 18
Views: 26472

Re: GL Galore rocks!

bitRocky wrote:Could you compile a MorphOS version or as applett?
Sure, here you are.

It's using my new framework. Could you let me know how it performs on MorphOS?
by jalih
Sun Jun 28, 2015 8:14 pm
Forum: General programming
Topic: HGF updated
Replies: 4
Views: 7284

HGF updated

Hi all, I just re-wrote most of my Hollywood Game Framework. It's now more modular and uses OOP for purposes where it matters. I dare to say, it's the easiest way to program hardware accelerated double buffered games in Hollywood. Currently supported features: - easy game loop handling (Delta timing...
by jalih
Sun Jun 28, 2015 9:14 am
Forum: General programming
Topic: Bitmap font support files
Replies: 1
Views: 3474

Bitmap font support files

Hi all, I have added initial support for AngelCode.com's Bitmap Font Generator output data files into my simple game framework. So now it's really easy to achieve hardware accelerated drawing for games using GL Galore. All it takes is just three lines of code and output files from Bitmap Font Genera...
by jalih
Sat Jun 27, 2015 9:11 pm
Forum: GL Galore
Topic: TexOut() not supported with GL Galore?
Replies: 4
Views: 10142

Re: TexOut() not supported with GL Galore?

I added initial support for AngelCode.com Bitmap Font Generator output files into my framework.
by jalih
Mon Jun 22, 2015 8:02 am
Forum: GL Galore
Topic: TexOut() not supported with GL Galore?
Replies: 4
Views: 10142

Re: TexOut() not supported with GL Galore?

airsoftsoftwair wrote:A better idea would be to store the characters you need in a hardware brush and then do the text drawing yourself.
Yep, I will add support for some popular bitmap font generator output format into my framework.
by jalih
Sun Jun 21, 2015 2:21 pm
Forum: General programming
Topic: Help needed in finding a bug in my path finding code.
Replies: 7
Views: 6834

Re: Help needed in finding a bug in my path finding code.

I found the bug. No wonder I had trouble finding it, I had misunderstood how Hollywood works. Good, that you got it figured out! I would still recommend using some kind of a tree structure to store the game map data as network of nodes for Risk style game. I wrote you a little example. It also serv...
by jalih
Sat Jun 20, 2015 4:30 pm
Forum: General programming
Topic: Help needed in finding a bug in my path finding code.
Replies: 7
Views: 6834

Re: Help needed in finding a bug in my path finding code.

Test this Windows demo written in PL/I. Instructions: Program will first ask you to insert links to city nodes. You must use the format provided in example or else you will get a conversion condition as it uses list-directed I/O. example: 'Finland' 600 'Sweden' or 'Finland', 600, 'Sweden' After you ...