Page 1 of 1

@Bitmapfromfile / Folder scanning / open file dialog

Posted: Tue Nov 27, 2012 8:44 pm
by Lupo
Hi all,

A couple of questions:

1. Can I use @bitmapfromfile programmatically in order to load (at runtime) an image (JPG using Nanojpg included) or can I refresh a bitmap component in order to load another pic?

2. Is it possible to use some kind of trick in the fileaction component to load the directory listing ( like "$" in C64 ;) )?

I'm working on a GameMaker(ish) 2D clone to run on Android, and I'm implementing it using ZGE and its quite easy to build that over ZGE (@commands rocks).

I'm using a very simple/short definition file (text) for objects/actions, at the moment I'm using a generic sprite sheet and sound clips, but I'll love to let the user pick theirs.

Thanks,
Luis.

Posted: Mon Dec 03, 2012 1:24 pm
by VilleK
Hi Lupo,

See latest beta update for an example of how to load a jpeg from file.