Menu

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.

Show posts Menu

Messages - spacefractal

#3691
Might been gernot should add http://developer.android.com/guide/developing/tools/proguard.html as part of the compiling? This make much harder to decompile code. Could do that when debug is disabled.

Shoebox can still use for graphics, which normally here it's steal, not audio. But would been nice if it's worked for audio, eventually a separate one.

Edit: did not read it's also cannot load external audio files, if used for graphics. So here it's unable? That should been fixed, so we can use a least external audio.
#3692
The only thing is there is no win32 distribution folder, so I won't could hear the music on windows, due it's would been missing. I could here do outside folder for windows....

but for final version it's a meantime fix through :-).
#3693
I have yesterday tried to writeprotest the folder to prevent to copy the files from source to the distrubtion folder, which should also does the job.

But its seen its just writeable it again and copy all folders anyway. I dont see why I need both ogg/mp3 versions when one of them work (and ogg work for other). I have put them into own dir.

Its no hurry really since the game is stll few months still ahead.

PS. The same should go if I write protect a file, then its should not try to replace that.
#3694
Don't do that in the primary folder, just put that file in the distribute folder. Here they have each own platform allready, and could been checked if the text file exists or not.

If glb-distibute.txt exits (regaardless its empty or not), no files/subfolders would been copied at all, so all you would leave is the folder with the text file (and leave eventuelly other files putted in manual).

PS. Sorry for edit, I throught I posted in another post.


#3695
I have releaze mp3 wont play on Android (not sure its directly of a MUSICVOLUME issue, so nothing to talk about here at all, I just started on the sound part).

Here I have a sfx folder under Media player which I want a contain folder to exclude from contain folder or the other way. Example I might need to include ogg versions of the music on Android and mp3 for iOS, and I dont want to have unneeded files (like ogg for iOS).

By now its simply just copy all files from Media filer without any control over it. Its not need to been do at file level, since I could just do content in the OS specefic folder. I could do that outside Media folder, but would been much eaiser if IDE just could exclude a folder under Media copy (except if you can run a batch file just after media copy, and before compiling).
#3696
Rage (Id Software) actuelly used dynamic framebuffer to change resolutions before output and here, its works pretty fine to make sure its 60fps. Its something like that that could been very cool, so there would been some balance if its require 60fps rather than 30fps. Eventuelly might use offscreen when its SD, but direct when HD (on HD devices).

I don't mind 30fps, and even my game run nice on both 25fps as well 50fps, so iPad 2 and 4s got 50fps and rest 25fps. I choiced to use 25fps and not 30fps due there was some problems for Android, as well noticable could been seen in real play at all (I dont like mix of 25fps and 30fps since animations might look and run wrong).

On some iDevices I dedicated to disable some graphics details as well as well Android users have possible to have 3 graphicdetails to choice from.
#3697
You should, if you ask me, always support any native resolutions the device support. Users have brought retina devices to see HD graphics, not SD graphics (howover not all type of games might not need retina support of course throught).

Howover if the device can't support 60fps, you could fall back to 30fps instead, and/or remove some graphics details for that hardware. This is what I does (I also have some code to detect which hardware people have and set some settings for that automatic under launch).

I could also been some upset if I brought a HD, that run slow (under 30fps) and need to get a SD version for more mone.

Apple have not released that many device, so its easy to detect. Its much worse for Android, here I could no other to let possible to change graphics details for those users.
#3698
You should do both SD as well HD, if possible. This mean you have much more market place to sell the game in as well other device (Android is a hell about 117 kinds of resoultions, if you are not aware about it). Some graphics might not need in both resolutions, its depend on the content. Example still pictures could been HD and scaling down to SD in code.

IPad is also use 4:3 , but you could eventuelly just center the screen, so its less notiable and then use use controls that suit for the bigger screen (eventuelly in the border, but its depend style of the game).

#3699
I found was it was happens. Both command (other was SYSTEMPOINTER of course) works as they should (I of course disable it when analog mouse control is used).

When I used SETMOUSE() I have simply not send it to the mouse cords variables used, which was still on the old xy, so when I Limit the mouse (just before mouse status check) to only move on the primary screen, its have override SETMOUSE() completly with no effect.

Its something like that I have in mind because I have dual screen setup and I dont like when apps send back to desktop when clicking outside in fullscreen in games.

PS. The example should do update to fix the warnings when missing LOCAL or GLOBAL throught as well some document its only works when SYSTEMPOINTER is off (which does make very seance, so no worry). So more now, its only a minor document issue.

PPS. Move this thread to GlBasic EN eventuelly.
#3700
Pointer is set here when it works, elsewise its impossible to use mouse as a analog joystick (because it's world stop as the edge which I not interested in).

I can clearly see the system pointer was set in example.
#3701
the example seen works, but for some reason SETMOUSE() broken in the game. That even I just trying do a SETMOUSE 100, 100 directly before SHOWSCREEN, but it did not reset it to center (which I use it to when "trackpad" control is used). That one time I see the pointer actuelly reset to center is just after a loading, wierd.....

By now I cannot show the example but seen if I can reproduce this bug. Its somewhere mystery because I think some other command effect it. I also tried to degrade version and clean temp folder... now its not work, so its mystery by now why.

PS. same happens on OSX as well.
#3702
It's only on that update, but testing again later tomorrow....
#3703
asthe  subject say, this command suddently not working anymore after a update today, so this command might been broken?

I use Windows 7 64bit as a only platform tested on.
#3704
I wish it was possible to check device name using platform info, so it's would doing that runtime (I doing this for iOS with a system call).

Amazon store works for other devices than it's own, so no good doing that.

Better if gernot could fix it or a least doing that like above.
#3705
Look like there is some CPU hog in background, that cause it? Did or do a restart work?