Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

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 - 2.0

Pages: 1 2 [3] 4 5 ... 15
31
WME Lite / Re: Any Linux developers out there?
« on: June 13, 2013, 09:09:54 PM »
Here is the log:

Code: [Select]
23:18: ********** DEBUG LOG OPENED 13-05-2013 (Release Build) *****************
23:18: WME Lite ver 1.0.2beta, Compiled on Jun 13 2013, 21:03:22
23:18: Platform: Android
23:18:
23:18: Scanning packages...
23:18:   Registered 323 files in 1 package(s)
23:18: Initializing scripting engine...
23:18:   Script compiler is NOT available
23:18: Loading string table...
23:18:   51 strings loaded
23:18: Orig w=1024 h=768 Transformed w=1920 h=1080 ratiox=1.41 ratioy=1.41
23:18: BorderLeft=240 BorderRight=240 BorderTop=0 BorderBottom=0
23:18: Engine initialized in 160 ms
23:18:
23:18: Cursor point from screen x=0 y=0 <- left top of touch
23:18: Cursor point transformed x=69 y=0 <- in case of correct transform here is needed negative value of x etc
23:18: Cursor point from screen x=45 y=51
23:18: Cursor point transformed x=101 y=36
23:18: Cursor point from screen x=1896 y=29 <- right top of touch
23:18: Cursor point transformed x=1417 y=20
23:18: Cursor point from screen x=1887 y=42
23:18: Cursor point transformed x=1411 y=29
23:18: Cursor point from screen x=1887 y=42
23:18: Cursor point transformed x=1411 y=29
23:18: Cursor point from screen x=1879 y=1075 <- right bottom of touch
23:18: Cursor point transformed x=1405 y=764
23:18: Cursor point from screen x=44 y=1077 <- left bottom of touch
23:18: Cursor point transformed x=100 y=765
23:18: Cursor point from screen x=269 y=41 <- left top of scene
23:18: Cursor point transformed x=260 y=29
23:18: Cursor point from screen x=1679 y=1078 <- right top of scene
23:18: Cursor point transformed x=1263 y=766 <- right bottom of scene
23:18: Cursor point from screen x=260 y=1069 <-left bottom of scene
23:18: Cursor point transformed x=254 y=760
23:18: Cursor point from screen x=260 y=1069
23:18: Cursor point transformed x=254 y=760

On-screen debug log displays modified (transformed) coordinates, as I understand.
Seems that correct values are:
TransformX = (TouchX-BorderLeft)/ratiox
TransformY = (TouchY-BorderTop)/ratioy

32
WME Lite / Re: Any Linux developers out there?
« on: June 13, 2013, 02:30:06 PM »
Hi! Seems that this build is without logging. wme.log file isn't created in the root of sd card.
As for cursor coordinates - seems that they shifted in the X-axis for ~1.5 of width of black bar and remains unchanged everywhere independently of touch position.
The idea that the black bars on the sides of the scene uncertainty associated with the shift of cursor - quite possibly may be true. In this case shift width = width of the black stripe * scaling coefficient.

Hi 2.0,

I have uploaded a new build that writes the original (i.e. from screen) coordinates and their transformation to game coordinates into the log, roughly once per second. Can you please check what happens when you touch the 4 corners on the touch screen and the 4 corners of where your game is drawn? It would be interesting to see how these coordinates are transformed.

33
WME Lite / Re: Any Linux developers out there?
« on: June 12, 2013, 03:10:05 PM »
Hi!
Here is the log from Zopo C2 phone.

16:59: Scanning packages...
16:59:   Registered 323 files in 1 package(s)
16:59: Initializing scripting engine...
16:59:   Script compiler is NOT available
16:59: Loading string table...
16:59:   51 strings loaded
16:59: Orig w=1024 h=768 Transformed w=1920 h=1080 ratiox=1.41 ratioy=1.41
16:59: BorderLeft=240 BorderRight=240 BorderTop=0 BorderBottom=0
16:59: Engine initialized in 168 ms

The displayed art is OK, the cursor is displayed pixels 150-200 more right than the touch area.

34
Техниче�?кий фор�?м / Re: С
« on: June 09, 2013, 10:15:46 AM »
Вот, например, возьмём

35
Техниче�?кий фор�?м / Re: С
« on: June 08, 2013, 02:40:18 AM »
Е

36
WME Lite / Re: Any Linux developers out there?
« on: June 07, 2013, 09:42:14 AM »
But maybe for the first time you can make logging unconditional by defult? I.e. in sources set corresponding flag to true?

37
Техниче�?кий фор�?м / Re: С
« on: June 07, 2013, 08:09:24 AM »
Можно такой вариант попробовать.
В

38
Техниче�?кий фор�?м / Re: С
« on: June 07, 2013, 06:53:48 AM »
Е

39
WME Lite / Re: Any Linux developers out there?
« on: June 07, 2013, 12:28:55 AM »
I don't understand correctly how to get wme.log? I.e. how to enable debugging? When I add wme.ini in the root of SD card (near to data.dcp) - is no result.
Default landscape mode is working.

40
WME Lite / Re: Any Linux developers out there?
« on: June 05, 2013, 06:56:46 PM »
Tried to test on my "china-made" ARM6 Android phone with 480*800 resolution. Application (1024*768) runs at portrait mode, scene is placed at the bottom of the screen, scaled to fit the width. But to move the cursor it was necessary to touch the top part of the screen. And it seems that clicks on GUI elements is works, but clicks on entities - is not.

Update: When I turned "on" auto-turn of the screen, the application was able to start in the landscape mode. Some shift between touch and cursor position is present. When application goes to exclusive mode (when it opens some windows) it seems that it lost controls (cursor hides).

data.dcp file was placed at the root of the SD card.

Performance on the 600-800 Mhz CPU is good.

Generally beginning quite nice :)

41
Technical forum / Re: unload scene
« on: May 31, 2013, 02:10:50 PM »
Can it be so that you create entity and set sprite to it, and then delete entity? But the loaded sprite it remains in memory? I don't know, whether it is possible, but can quite be.
But if it so, try to create the .entity file and add path to sprite there, then load this file.

42
Technical forum / Re: unload scene
« on: May 31, 2013, 01:59:30 PM »
Simply interestingly - is this sprite have "Keep in memory" paramether choosen? And how you load and unload this sprite?

43
Technical forum / Re: unload scene
« on: May 31, 2013, 01:50:13 AM »
Is you tried to find this animation ("manually") and disable it? I think this is the only method to get a result in this case.

44
Technical forum / Re: unload scene
« on: May 31, 2013, 12:24:19 AM »
1 more sprites (21 frames and subframes) and ~100-120 Mb more memory. It is ~5-6 Mb per sprite frame. That is approximately corresponds to size of sprite 1600*900 (5.6 Mb).
It can be some kind of animation? Maybe it is some of background animation? Or uncropped actor's animation?

45
Техниче�?кий фор�?м / Re: О
« on: May 30, 2013, 12:45:24 PM »
Вот этой вот командой

[code=script]Game.QuestionBox("Перезапи

Pages: 1 2 [3] 4 5 ... 15

Page created in 0.033 seconds with 19 queries.