Search found 61 matches

by Mazze
Wed Apr 11, 2018 12:12 am
Forum: Wishlist
Topic: Physics engine
Replies: 4
Views: 300

Re: Physics engine

by Mazze
Tue Apr 10, 2018 11:11 pm
Forum: Wishlist
Topic: Physics engine
Replies: 4
Views: 300

Re: Physics engine

I found an overview page
Chipmunk is one of the rare engines written in C. I don't have experience with that one.
by Mazze
Sun Apr 08, 2018 8:25 pm
Forum: General programming
Topic: HGF updated
Replies: 4
Views: 2243

Re: 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 timin...
by Mazze
Sun Apr 08, 2018 5:08 pm
Forum: Wishlist
Topic: Physics engine
Replies: 4
Views: 300

Physics engine

A physics engine would allow for Angry Bird like games.

https://love2d.org/wiki/love.physics (a Lua game engine) uses http://box2d.org/about/. I don't know if a C++ library can be added to Hollywood. Maybe there're alternatives.
by Mazze
Fri May 27, 2016 4:18 pm
Forum: Hollywood bugs
Topic: HW 5.3 documentation errors
Replies: 1
Views: 1163

HW 5.3 documentation errors

LoadAnim: table attribute is "Frames", not "Frame"
PlayAnim: X and Y aren't optional (at least not when the animation was loaded from a png image)
by Mazze
Tue May 17, 2016 6:36 am
Forum: General programming
Topic: Enable alpha channel if available
Replies: 2
Views: 1266

Re: Enable alpha channel if available

Thanks.
by Mazze
Mon May 16, 2016 2:09 pm
Forum: General programming
Topic: Enable alpha channel if available
Replies: 2
Views: 1266

Enable alpha channel if available

Hi, with Hollywood 5.3 I want to load a brush such that the alpha channel is enabled if available. LoadBrush(2, self.picture, {LoadAlpha=True}) gives an error for e.g. a JPEG file. LoadBrush(2, self.picture) If GetAttribute(#BRUSH, 2, #ATTRHASALPHA) DebugPrint("!!!!alpha*****") ChangeBrushTransparen...
by Mazze
Wed Aug 21, 2013 1:13 am
Forum: Hollywood bugs
Topic: Antialias + shadow disables alpha channel
Replies: 1
Views: 1716

Antialias + shadow disables alpha channel

When I run this sample with Hollywood 5.3... @DISPLAY 1, {Color=#WHITE} SetFormStyle(#NORMAL) SetFillStyle(#FILLCOLOR) ; black bar so that we can see alpha channel better Box(50, 0, 300, 600, #BLACK) Box(0, 50, 200, 50, ARGB(100, #BLUE)) SetFormStyle(#SHADOW, #RED, 10, #SHDWSOUTHEAST) Box(0, 150, 20...
by Mazze
Thu Aug 15, 2013 2:36 pm
Forum: Hollywood bugs
Topic: Antialiased fonts under AROS
Replies: 1
Views: 1487

Re: Antialiased fonts under AROS

Nevermind. After another cup of coffee I found out that I must call SetFontStyle after SetFont. :?
by Mazze
Thu Aug 15, 2013 1:03 pm
Forum: Hollywood bugs
Topic: Antialiased fonts under AROS
Replies: 1
Views: 1487

Antialiased fonts under AROS

Hi, this sample should show the difference between normal and antialiased fonts. Additionally I have compared both native and inbuild engine. txt = "ABCDE123" SetFontStyle(#NORMAL) SetFont("Vera Mono",130, {engine=#FONTENGINE_NATIVE}) TextOut(10, 0, txt) SetFontStyle(#ANTIALIAS) SetFont("Vera Mono",...