[PROJECT] OpenGL Framework for games and apps - HD2 Windows Mobile 6.5 Themes and Apps

Hi there!
With a little help from you I'd like to start a little project here. The idea is to create a simple OpenGL framework, that can be used for games and apps on the HD2 (and other devices).
As you might have read, OpenGL is very difficult to get working right on the HD2. But thanks to Chainfire and his modified drivers things look a lot better now
During the past few days I have created a first version of the OpenGL framework. You can download it HERE!!!.
All it does is loading a texture and drawing a few rotating quads on the screen. The frames per second are also displayed:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now that's basically everything you need to get started with simple OpenGL apps/games.
But there is one problem where YOU come in
The code is running AWFULLY slow (only 6 FPS!). Since Chainfire's modified drivers don't help here I guess the problem lies inside my code.
So I'd be very happy if we could gather all our knowledge, code samples etc. in this thread to create a fully working OpenGL sample application.
That way we'll hopefully get a lot of people to start developing and creating cool stuff for the HD2.
Anyone interested? Let's get started

What no one's interested in helping VanKurt??

So it seems. If everyone want's to cook his own soup that's fine for me
But it would have been nice to have some open source framework here to get beginners started with game development for the HD2... because what WindowsMobile really needs is some cool, good looking, finger friendly (OpenGL based) applications...
OK then, consider this topic closed!

Hi VanKurt, have you looked into the OpenTK toolkit, I think that has C# bindings for OpenGL ES (1.0 and 2.0 I think?)

Diamond Beer port
I would like to have a framework ready. I did use OpenGL on my Diamond (Diamond Beer and Diamond Cubes for example) and would like to port it to the HD2. But I would like to use OpenGL ES 2 instead of 1.x
I would not mind if it were C# or C/C++, but if there is anybody that could show a minimal project, even if it just display a triangle.
My main problem is that I do not know which DLLs I need to copy to my PC to use inside my VS projects.
I read abit about the open source OpenGL ES but I am not sure if I can just copy their include files for the HD2.
Anybody any advice on this ?
I would not mind to open source some of my projects so that others can learn from it too.

I had a quick glance at the code. You don't need to use glFlush so comment those lines out.. that should pick some speed up.
I tried a couple of quick apps with that same openglesutilities c# framework but I found it overly complicated and annoying compared to just straight calls to opengles in c++

Related

MoDaCo - Automatic Application Update Check (App2Date?)

Paul over at MoDaCo is starting to get some interest in a new application he's developing - basically it involves developers providing some XML with their installer that ties in with some similar XML on the applications' download page on their web server.
When a new version is released, the XML on the download page is updated, "AppToDate" will check the download server and you'll be able to see that a new version is available.......
AstraWare, Developer One and SK-Tools have already expressed an interest in making their software work with "AppToDate".......what are you waiting for!?!?!
I'll stop babbling, this is what Paul posted over at MoDaCo "AppToDate"
I have a dream! OK, so it's not quite as ground breaking as some other dreams of our time, but it's a dream none the less. It goes something like this...
I have a whole bunch of software on my device. Probably 15 apps at least. I also write software, which is downloaded by a fair few people, both commercial and free. I like to ensure that my software on my device is up to date with the latest versions, and it's a right pain in the ****. Not only that, I'd like my end users to have the latest versions installed to get the best possible experience... and to facilitate that I have to write a custom update checker into each of my applications. Fine for big apps, not great for quickly rustled up apps or tweaks.
But there could be another way.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What if you could have an application that lived on the device, that wasn't tied to any one application or vendor, that could check for updates for everything installed on your device? IMHO, that would be awesome. A dream. For such an approach to work, you'd need a few things...
Someone to write the update application, and to develop it. A community project perhaps?
The update application MUST be FREE for end users and developers
The update application MUST be easy for developers to plug in to
The application needs to be used by end users!
Freeware developers need to use the application!
Commercial developers need to use the application!
Now here comes the audience participation part - if you are a user, would you like to see such an application? If you are a developer - either freeware or commercial - would you like - and would you use - such an application? Make your voice heard here, and if there's an appetite for this, let's make it happen! I'll be updating this topic to list developers who would like to be involved.
Oh, I forgot to mention... I've basically written the update application! It's simple, has plenty of scope for future development, can update itself (of course) and in order to be used by a 3rd party, just needs an XML file dropped into the updater directory from your install CAB, and a current version XML on your server!
Beautiful! The response to this topic will determine how much time I spend on getting it production ready
P
Click to expand...
Click to collapse
Lend your support to this - with all the updates for various applications flying around, it's an almost impossible task to know if you're running the latest and greatest version - hopefully it will grow into a REALLY useful tool.
Thanks for listening
Mark.
Cheers for the post Mark!
I'd love to see support for all the great apps on XDA-Devs - who's interested?
P

Is there a "popup list maker" or similar?

I want to do a small menu for my WM6.5 MULTIplugin:
http://forum.xda-developers.com/showthread.php?t=523015
I imagined something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
...that is supose to show 4 options.
I tried it with many softwares and also mortscript and was able to go as far as this:
But is ugly compared to the original idea... IS there some sort of application like a menu, even if it doesnt allow skinning, but at least that looks like a system message window?
---edit---
Already tried Mortbuttons, FingerMenu and launcher.
Do yourself a favour and learn some .NET programming. Then you can do this yourself in C# or even VB.Net.
As a webdesigner I already taught myself to code in BATCH files, HTML/XML, AS2 (Flash) and recently Mortscript... I could do more if I had any programming bases, but that and my love for Math is the reason why I chosed arts...
It seems simple enough to do, and with a little INI file it could be easy to change, but I simply dont know how to do it and it would time some time to get that done in a new language.
Also tried FLOATME:
http://forum.xda-developers.com/showthread.php?t=282913
...to see if I could change the size if the mortscript menu, and so make it float, but no luck...
I found this great application:
http://www.saman-cz.com/ppc/nmnovrw.html
And it may work for what I want, It just needs to be much bigger:
Is there any way to change this without messing up the rest of the system messages?
I remenbered that I can do that with FingerMenu, that I can enable and disable after use, but its a little buggy on some machines still and the disable sometimes fails and its more 300kb just for that effect... :/
Just to post in the current status, I found this great menu kvvQuickMenu:
http://kvv.my1.ru/load/6-1-0-43
..and I'm having some bugs still, but I believe its on a good path.
For the record, I also found FSMenu:
http://4pda.ru/forum/index.php?showtopic=112228
...but its only in russian...
FloatingFatMan said:
Do yourself a favour and learn some .NET programming. Then you can do this yourself in C# or even VB.Net.
Click to expand...
Click to collapse
Can you PM me some good C++ and VB.Net and C# programming applications to do some programming? I want to learn on my own but I need some suggestions for the best programs for this.
twolf said:
Just to post in the current status, I found this great menu kvvQuickMenu:
http://kvv.my1.ru/load/6-1-0-43
..and I'm having some bugs still, but I believe its on a good path.
For the record, I also found FSMenu:
http://4pda.ru/forum/index.php?showtopic=112228
...but its only in russian...
Click to expand...
Click to collapse
I think this app is way cool.
i am looking at making a mockup now for The Mortifier.

[EMU] ResidualVM

Found this on another site (SOURCE - droidgamers) and thought would share. No onscreen controls as uses hardware keys (early port's). have not got time to test at mo but if the Xperia Play Keys dont work straight off you can remap unworking buttons with Gamekeyboard.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ResidualVM is another emulator that is a cross-platform 3D interpreter which allows you to play LucasArts' Lua-based 3D adventures games and has had a team working on it for awhile now. As with all things relating to emulators, the inevitable question arises about an Android version. Well it seems some users over on the ResidualVM forums have taken it upon themselves to unofficially port the emulator over in the hopes that the ResidualVM team picks it up and makes an official version from it. However, the unofficial version works very well and you can grab it and play a little Grim Fandango on your Android device if you're up for it.
Of course this is still a work in progress and there happens to be no overlay with on-screen controls that you can use to play the game. The solution to this is to either use a physical controller or an application like Game Keyboard to have a custom overlay that you can use to play the game. You will also need a fairly high-end Android device to run everything as full speed. Our tipster has it running nice and smooth on a Samsung Galaxy S II so you don't need a bleeding edge Android device to run it well, just a decent high-end one at least.
If the current coder of the unofficial Android version decided to merge his port with the code base of the ResidualVM team's version, we could see an official version of ResidualVM not too long from now. Until that happens though, we have an unofficial version to toy around with. Of course if you aren't technically inclined when it comes to emulators, especially those that are a work in progress, you might want to wait on grabbing this one. If you're up for mucking around with this unofficial version, and playing a little Grim Fandango, hit up the official forums below and on page 4 and 5 of the thread there are links to the different ports.
Click to expand...
Click to collapse
Link to the original - http://forums.residualvm.org
Have attached the Apks below incase the Dropbox link on original forum go's down
Thanks for the share!

[APP][2.2+] LOLCODE Interpreter [Beta][Open Source]

Hai, I'd like to share with you an LOLCODE interpreter and editor that I have been working on the past few days.
It was made in three days so expect a few bugs here and there, they will be fixed in time.
It is open source! There are two parts of the app:
The console and editor itself: Apache License 2.0
The LOLCODE interpreter: GNU General Public License 3
App source: https://github.com/bandoncontortion/LOLCode
Interpreter source: https://github.com/bandoncontortion/LOLCodeInterpreter
If you're interested in helping on the app PM me and I will get back to you as soon as I can.
Features:
- Run and test LOLCODE scripts
- Edit LOLCODE files
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits:
Adam Lindsay for creating this great language!
Brett Kail for his open source Java LOLCODE Interpreter
If I missed someone feel free to message me and I will add you to the list.
Thanks for the post http://www.xda-developers.com/android/open-source-lolcode-editor-and-interpreter-for-android/
Downloads:
(It isn't an attachment because the file size is 12 MB when this only allows 8 MB apks)
Google Play: https://play.google.com/store/apps/details?id=net.linxdroid.lolcode
Or MediaFire: http://www.mediafire.com/download/2d2c54r65ef7vqg/LOLCodeAPP.apk
this looks interesting lol
ill make sure to give it a shot (once my device comes back from repair).
thanks for this!!
btw First!
HAHAHA This is awesome
im totally trying this out
what are the limits of it? is it just like print this and copy this and do some math here and stuff, like enetertaining developers when they get bored or frustrated?
or does have like some deep usefulness(i.e. file movement, external script execution, graphics manipulations)
Second
(i need to feel important too)
zawata said:
HAHAHA This is awesome
im totally trying this out
what are the limits of it? is it just like print this and copy this and do some math here and stuff, like enetertaining developers when they get bored or frustrated?
or does have like some deep usefulness(i.e. file movement, external script execution, graphics manipulations)
Second
(i need to feel important too)
Click to expand...
Click to collapse
It's pretty basic. Mainly just a for the lulz language to entertain developers but I hope to work off it to make it a little more functional sometime soon.
Ha itz funny,
One little bug.
When i press open, and then back, it goes to Home, instead of back to the editor.
LOLCODE What!?
What is LOLCODE?
And what does it even do, if it does a thing or two...?
Can I haz moar lulz?
Sent from my Nexus 4 using Tapatalk 4
error
I've just posted information about an error with this application. It is on Google play. In case someone cannot access Google play I've posted it below:
If I try to execute any lolcode (even hello world) it displays this error in the command prompt:
I/O Error: EOCD not found; not a Zip archive?
I have tried to reinstall but it didn't help the problem.

[GAME][2.1+] SkidPad Lite

After a few months of on and off part-time efforts, I've managed to design and develop an android game. Its a small autocross game called SkidPad. Currently I have a lite version published and am working on pushing out a full version soon.
This is my very first attempt at pushing something out to an app store.
It should be there on Google Play under the name "SkidPad Lite"
Its an autocross style game where you need to cross a sequence of checkpoints in order as fast as possible. Points will be deducted for cutting the track. Unlock cars/levels as you play.
The controls are quite simple using the touch interface. The tilt interface though.. I'm not a big fan of it, so its still pathetic. That will probably need some more work.
It would be really great if the forum members try out the game and provide some feedback
Providing a link will be come in handy!!!
https://play.google.com/store/apps/details?id=com.garagegames.SkidPadLite
safariking said:
Providing a link will be come in handy!!!
Click to expand...
Click to collapse
Thanks a lot. Since I'm pretty much a "new" member (been lurking around the forum for years without posting much), the system didn't allow me to post a link. I can't even quote your message that has the link in it. All for greater good I guess.
However, that will not be a problem going forward
Here are a couple of screenshots from the game.. Hope you all like it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any reviews/feedback yet?
???
Have you done it with Unity?
StarInSky said:
Have you done it with Unity?
Click to expand...
Click to collapse
Nope. This was entirely done using the Proton SDK in C++. I'm not that comfortable with Java or C#.
Proton is a nice and free SDK, but it lacks documentation - basically you have to run through the code to find out what's what.
[GAME][2.1+] SkidPad Full Version
shyamvenky said:
Nope. This was entirely done using the Proton SDK in C++. I'm not that comfortable with Java or C#.
Proton is a nice and free SDK, but it lacks documentation - basically you have to run through the code to find out what's what.
Click to expand...
Click to collapse
Hello all, I have finally released the full version of my game in Google Play.
The game has 17 levels and 3 cars that you unlock as you progress.
The game can be found at
https://play.google.com/store/apps/details?id=com.garagegames.SkidPad&hl=en
There is a demo video for those who are already curious
The Lite (FREE) version can still be found at the old link
https://play.google.com/store/apps/details?id=com.garagegames.SkidPadLite
Hope you all like it Looking forward to reviews and comments
Thanks
--shyamvenky

Categories

Resources