realbasic-games
[Top] [All Lists]

Re: doubt about load graphic files

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: doubt about load graphic files
From: William Squires <wsquires at satx dot rr dot com>
Date: Mon, 18 Dec 2006 19:13:13 -0600
Cc:
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <17EA1232-AFF8-41B0-A7CE-963C099541B4 at mac dot com> <9b774370a4c8d29f440a50c6cda1a3f5 at 98115 dot net>
I personally only import graphics from disk into the project for custom controls (like the icon for a BevelButton, or for a Canvas subclass); the others I load at runtime.

On Dec 18, 2006, at 11:27 AM, Craig M. wrote:

Both work fine. If your doing something like loading arrays of pictures, or you might want to change pictures without recompiling the app, or you might want to be able to update the app without sending another copy of the pictures, load them from the disk. I like to keep files in the project unless I find a reason not to, like one of the ones I listed.

I haven't thought about this much before, anyone else have any thoughts?

Thanks,
Craig.
On Dec 18, 2006, at 8:21 AM, Landoq wrote:

Hello,

I am writing a game in rb and i have a doubt:

Add graphic files to project or load graphics from disk in code ? the first option assemble all graphics in the executable file but i don´t know if this option is recommend or not.

thanks and Merry Christmas from Spain.

Víctor Fernández
Landoq Software



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>