@Bitmapfromfile / Folder scanning / open file dialog

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
Lupo
Posts: 76
Joined: Wed Sep 09, 2009 6:21 pm
Location: Montevideo, Uruguay

@Bitmapfromfile / Folder scanning / open file dialog

Post 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.
Close, but not there yet.
User avatar
VilleK
Site Admin
Posts: 2280
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Hi Lupo,

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