kivy secret of mana game

2015-01-22 Thread Automn
Hello,

I am programming a "Secret of Mana" (Seiken Densetsu) game in kivy, it runs
on a phone with kivy launcher.

Features for now are : movement by swiping, polygon collision and image state
changes with resource handling.

The codebase can be found at : 
https://sourceforge.net/projects/kivypriestsoflore2

The graphics have been licensed for this.

Automn
-- 
my blog : http://thediaryofelvishhealer.blogspot.com/
Time heals.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: kivy secret of mana game

2015-01-23 Thread Automn
On 2015-01-22, Ian Kelly  wrote:
> On Thu, Jan 22, 2015 at 10:13 AM, Automn  wrote:
>> The graphics have been licensed for this.
>
> Really? I'm surprised Square-Enix would even give consideration to
> licensing something like this.

The graphics have all been purchased. I forgot to tell that the game and its
codebase are GPL version 2 and PFL 2.0.

-- 
my blog : http://thediaryofelvishhealer.blogspot.com/
Time heals.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Loading a module from a subdirectory

2015-01-23 Thread Automn
On 2014-03-10, Virgil Stokes  wrote:
> This is a multi-part message in MIME format.
> --030903060901020503030004
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
> I have the following folder-file structure:
>
>   C:/PythonCode/VideoPlayerSimulator/
>   +--  __init__.py   (empty file)
>   +--  GlbVars.py (contains the single 
> class Glb)
>
>   C:/PythonCode/VideoPlayerSimulator/RubberBanding/
>   +--  __init__.py
>   +--  ImportDemo.py
>
>   where, ImportDemo.py contains the following code (a single line):
>
> from VideoPlayerSimulator.GlbVars import Glb as G
>
>   gives the following error when I execute it:
>
> *ImportError: No module named VideoPlayerSimulator.GlbVars*
>
>   Note:
>1. My sys.path contains:
>   ['C:\\PythonCode\\VideoPlayerSimulator', ...]
>2. Python 2.7.5 on a Window 7 platform
>3. The same ImportDemo.py file when executed on my Window Vista platform
>   with the same folder-file structure, *DOES NOT* give an error and 
> works
>   as expected.
>
> Why does the error occur, and why does it not occur on the Windows Vista 
> platform?
>

I don't think you understand what Mr. Otten said, it is not undefined behaviour,
maybe you could demangle your import statement.

Automn
-- 
https://mail.python.org/mailman/listinfo/python-list


joke

2015-01-29 Thread Automn
What about : 

- "The royal Python is Clean your highness." 
- "Thank you."

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: logging question

2015-02-07 Thread Automn
Hello,

On 2014-08-13, Arulnambi Nandagoban  wrote:
>
> My pc restarts regularly. Whenever it restarts I lose all the log since it
> writes in the file once per day.  Is there a way to log information in a
> file as soon as it available.

You can log in the /var/tmp directory instead of /tmp. The former does not get
cleaned when you restart. You can rotate your
/var/log logfile manually or with a cronjob or with a shell program.

>
> My application is a tcp server. Before I did it without using logger module,
> I developed customized log module for the application.  As soon as there is
> a connection I append it in the log file.
>
> By that way I didn't lose any log information.  
>

Try to find out why your logfile gets truncated. I don't know it very well in
python but if you open a file with libc you get to choose if you truncate, 
AFAIK it can be in sys or logging module.

HTH,
Automn
-- 
my blog : http://thediaryofelvishhealer.blogger.com/
Time heals.
-- 
https://mail.python.org/mailman/listinfo/python-list