Please login or register.

Login with username, password and session length
Advanced search  


Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - pirko7

Pages: [1] 2 3 ... 12
WME Lite / Re: Convert game by windows to android
« on: August 26, 2013, 07:42:32 PM »
I used eclipse to build the wmelite project, but "New android project from existing code" not work.

When i imported project folder button for finish not worked. "Click click click" but nothing happens.

WME Lite / Re: Convert game by windows to android
« on: August 17, 2013, 07:49:10 PM »
I try CD, but same problem. Yes i have eclipse, this step can make in it?

WME Lite / Re: Convert game by windows to android
« on: August 17, 2013, 01:33:43 PM »
When i change way on path E:\adt-bundle-windows-x86_64-20130219\sdk\tools\apps\test

Commands do not work.

WME Lite / Re: Convert game by windows to android
« on: August 17, 2013, 01:18:09 PM »
Code: [Select]
E:\adt-bundle-windows-x86_64-20130219\sdk\tools\android.bat update project --path .This is my code.

What i must write instead --path . ? Please example with complete way.

WME Lite / Re: Convert game by windows to android
« on: August 17, 2013, 01:02:24 PM »
I know CMD.

Please progressively:
I start cmd. I type path (way to android tools)

And now i must update app.
Here is my app files.

I try write command, but wrong.
When i write android update, then cmd see this options:

I try try try, but not i do not know right command :-(

WME Lite / Re: Convert game by windows to android
« on: August 17, 2013, 11:03:24 AM »
I do not know where i must write this command. Android.bat start only SDK manager, where i can only download other modes.  :(

WME Lite / Re: Convert game by windows to android
« on: August 17, 2013, 10:44:14 AM »
Batch file started only SDK manager.

Here is code from android.bat

Code: [Select]
@echo off
rem Copyright (C) 2007 The Android Open Source Project
rem Licensed under the Apache License, Version 2.0 (the "License");
rem you may not use this file except in compliance with the License.
rem You may obtain a copy of the License at
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an "AS IS" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.

rem Useful links:
rem Command-line reference:

rem don't modify the caller's environment

rem Set up prog to be the path of this script, including following symlinks,
rem and set up progdir to be the fully-qualified pathname of its directory.
set prog=%~f0

rem Grab current directory before we change it
set work_dir="%cd%"

rem Change current directory and drive to where the script is, to avoid
rem issues with directories containing whitespaces.
cd /d %~dp0

rem Check we have a valid Java.exe in the path.
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF

set jar_path=lib\sdkmanager.jar;lib\swtmenubar.jar

rem Set SWT.Jar path based on current architecture (x86 or x86_64)
for /f %%a in ('%java_exe% -jar lib\archquery.jar') do set swt_path=lib\%%a

    rem Copy android.bat and its required libs to a temp dir.
    rem This avoids locking the tool dir in case the user is trying to update it.

    set tmp_dir=%TEMP%\temp-android-tool
    xcopy %swt_path% %tmp_dir%\%swt_path% /I /E /C /G /R /Y /Q > nul
    copy /B /D /Y lib\common.jar         %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\commons-codec*     %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\commons-compress*  %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\commons-logging*   %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\dvlib.jar          %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\guava*             %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\httpclient*        %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\httpcore*          %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\httpmime*          %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\layoutlib-api.jar  %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\org-eclipse-*      %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\sdk*               %tmp_dir%\lib\        > nul
    copy /B /D /Y lib\swtmenubar.jar     %tmp_dir%\lib\        > nul

    rem jar_path and swt_path are relative to PWD so we don't need to adjust them, just change dirs.
    set tools_dir=%cd%
    cd /d %tmp_dir%


rem The global ANDROID_SWT always override the SWT.Jar path
if defined ANDROID_SWT set swt_path=%ANDROID_SWT%

if exist %swt_path% goto SetPath
    echo ERROR: SWT folder '%swt_path%' does not exist.
    echo Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
    goto :EOF

rem Finally exec the java program and end here.
REM set REMOTE_DEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
call %java_exe% %REMOTE_DEBUG%"%tools_dir%" -classpath "%jar_path%;%swt_path%\swt.jar" %*

rem EOF

WME Lite / Re: Convert game by windows to android
« on: August 17, 2013, 09:36:36 AM »
Thank you for your answer.

I have SDK ready.
But i have not file android.EXE.


And this is folder tools:


Is there only android.bat and this start SDK manager.

WME Lite / Re: Convert game by windows to android
« on: August 16, 2013, 11:07:29 PM »
Thank you for help. But i have problem with command line tools. I can not find it  :(. I still seeking instructions on google.
Please, can you give me more information about this step?



WME Lite / Re: Convert game by windows to android
« on: August 13, 2013, 08:06:49 PM »
Many Thanks  :), i wanted to do. I finished all steps.. but... I need a little help with export to .APK with files. Android SDK i have ready, i used it when i hack my android phone. Eclipse too.
Please i need help with next steps.



WME Lite / Convert game by windows to android
« on: August 11, 2013, 05:12:50 PM »
Hello guys,

i tried demo.apk and worked fine.

I have little question. My wish is: convert my completed game on windows to android.

It is possible? Please can you give me steps for this?

I finded manual on wiki. But i have problem with point where i must copied dcp on folder assets => I do not have this folder.

Building a game package from precompiled libraries

    Note: Before starting, make sure you are capable of building an Android app using one of the examples from the Android SDK.
    If not already done, install the SDK platform for Android 2.3.3 (API 10).
    Obtain sources from Mercurial repository:
    Download dependencies for Android (dep_android_*.zip):
    Unpack dependencies into the wmelite/android folder.
    Place your game files into the wmelite/android/assets/raw folder and rename them from ".dcp" to ".png". If you are going to distribute your game via the Google Play store, your game must not be bigger than 50 MB in total.
    Change the package and class name of org/example/yourapppackagename/ located at wmelite/android/src/ into something meaningful for your game.
    You need to change the AndroidManifest.xml as well, which is located at wmelite/android/, to reflect your changes. Edit package="" and android:name="SDLActivity" to match your changes.
    Edit res/values/strings.xml located at wmelite/android/ to fill in the name of your app.
    Modify the game package and file path to point at the asset directory. Edit org/deadcode/wmelite/ located at wmelite/android/ and change the return values of the getGamePackagePath() and getGameFilePath() from "/mnt/sdcard" to "asset://raw".
    If you use bitmap fonts with a different locale than "US-ASCII", fill in the proper locale in the functions getEncodedString() and getUTFString().
    Build the Android app.



Obecné fórum / WME pro android
« on: December 31, 2012, 06:14:04 PM »

tento dotaz je spíše pro tvůrce WME. Chtěl bych se zeptat, jestli se neuvažovalo o předělání programu pro tvorbu adventur pro system android  (.*apk).

Ja osobně bych to velice rád uvítal (ihned bych udělal PC hru "kulivočko" i pro tuto platformu.

S pozdravem



Obecné fórum / Připojení hry ke službě steam
« on: January 18, 2012, 06:55:48 PM »

chtěli bysme prodej naší hry "kulivočko", tvořenou ve WME připojit ke službě steam. Má s tím někdo zkušenosti?
Do WME je údajně potřeba připojit jakýsi SDK Kid od Valve. Zajímá mě, zda je možné implementovat ten Kid nějak do WME?

Vážím si a předem děkuji za každou pomoc.

S pozdravem


Technické fórum / Game.PlayTheora - černa obrazovka
« on: December 04, 2011, 12:45:41 AM »

video ve formátu avi kontejneru, ogg theora kodek, zvuk v ogg vorbisu. Scéna naběhne, hudba v ní běží, efekty nejspíš taky a vše, je ale vidět jen černá tma a nejde nic dělat, ani zavřít hru.

Už jsem tento problem četl na forum, ale nebyl vyřešen.

(Video mám vložené ve volné složce nepackagovane s názvem videa.)

Příkaz mám takhle: Game.PlayTheora("intro.avi");

Technické fórum / Minihra - Posun myši po mapě s překažky
« on: March 01, 2011, 05:51:31 PM »

vytvořil jsem si prototyp na jednu minihru. Hra má ale jeden problem, dortik (cursor, kterým se jede po dráze) má určitou velikost a krajů, kterých by se neměl dotýkat, se dotkne a furt se nic nestane. Má někdo nějaký napad jak to jednoduše ošetřit, aby hra končila když se dotkne jeho okraj kraje dráhy?


Pages: [1] 2 3 ... 12

Page created in 0.046 seconds with 18 queries.