Search found 69 matches
- Sun Apr 08, 2018 8:25 pm
- Forum: General programming
- Topic: HGF updated
- Replies: 4
- Views: 7345
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...
- Sun Apr 08, 2018 5:08 pm
- Forum: Wishlist
- Topic: Physics engine
- Replies: 4
- Views: 4666
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.
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.
- Fri May 27, 2016 4:18 pm
- Forum: Hollywood bugs
- Topic: HW 5.3 documentation errors
- Replies: 1
- Views: 3283
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)
PlayAnim: X and Y aren't optional (at least not when the animation was loaded from a png image)
- Tue May 17, 2016 6:36 am
- Forum: General programming
- Topic: Enable alpha channel if available
- Replies: 2
- Views: 4122
- Mon May 16, 2016 2:09 pm
- Forum: General programming
- Topic: Enable alpha channel if available
- Replies: 2
- Views: 4122
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*****") ChangeBrush...
- Wed Aug 21, 2013 1:13 am
- Forum: Hollywood bugs
- Topic: Antialias + shadow disables alpha channel
- Replies: 1
- Views: 3762
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...
- Thu Aug 15, 2013 2:36 pm
- Forum: Hollywood bugs
- Topic: Antialiased fonts under AROS
- Replies: 1
- Views: 3649
Re: Antialiased fonts under AROS
Nevermind. After another cup of coffee I found out that I must call SetFontStyle after SetFont.
- Thu Aug 15, 2013 1:03 pm
- Forum: Hollywood bugs
- Topic: Antialiased fonts under AROS
- Replies: 1
- Views: 3649
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) ...
- Sat Aug 03, 2013 6:17 pm
- Forum: Showcase
- Topic: HollyPaint
- Replies: 10
- Views: 15912
Re: HollyPaint
HollyPaint 1.1 is available at: https://sourceforge.net/projects/hollypaint/files/?source=navbar ChangeLog: * Rebuilt with Hollywood 5.3 * Fixed issues with running stable under AROS, Morphos and AmigaOS4 * Colorwheel with alpha sliders in own window * Individual setting of color for gradient, shado...
- Sun Feb 24, 2013 9:30 am
- Forum: Newbie questions
- Topic: Simulating C++ Constructors
- Replies: 2
- Views: 4059
Re: Simulating C++ Constructors
You could use a function with "variable number of arguments" (see documentation)
Code: Select all
Function test(...)
; arguments will be stored in table 'arg'
DebugPrint(arg.n .. " arguments")
EndFunction
test()
test(5,6)
test(1,9,"aaa",b)