[Q] Convert this VB Role playing code to Java code using Canvas? - Acer Iconia A500

Hi all,
Just wondering if anyone would be able to assist me in converting this from Basic (VB?) into Java using canvas for draw? It's Basic code for a simple Wizardry RPG clone that deals with rendering the step based pseudo 3d dungeon?
I have attached the source code and hope to use a Java conversion of this source to assist me with learning the language further as the example deals with primitive graphics/input and arrays etc.
Only if someone is bored and has the expertise and time to do it. Thanks in advance!

Thread moved to Q&A

Actually almost have it fully converted myself and will repost for anyone that wants and is interested. So ignore the initial request!

Related

[PROJECT][OPENSOURCE] - Mobile Adventure Game Engine - First Post: 9/03/09

Hi everyone. I am starting a new Open Source project using VB.net to allow the community to build Adventure Games ala SCUMM / SCI / AGI etc... Users will be able to create games similar to Zak McKracken, Monkey Island, Maniac Mansion, Day of the Tentacle, Space Quest, Kings Quest, Police Quest, Full Throttle, etc...
Some Key Engine features:
*Point and Click game play
*GUI's
*Inventories
*Control of Multiple game characters
*NPC's
*Cutscenes
*Sounds
*Pathfinding
*Hotspots and Masks
*Lighting effects
*Z-Buffering
*Saving/Loading game states.
*And more
Game editing will be done eventually through an editor. But the files will consist of editing:
*Directory structure to contain images and sound and scripts
*XML Scripts
*Engine- Game Player
The game engine is open source. Although with every release, the compilation code will be modified as to make sure noone can get into the game contents.
The project is in design stage currently. So its fresh. What I need is a few experienced VB.NET developers. Not necessarily in .NET CF or Mobile development. But just in VB.NET. In particular I need help writing pathfinding functions.
I am also in search for a mobile VB.NET programmer who can help with the development of reading XML files more efficiently than I know how to write and also for someone to help with game compilation functions and Z-buffering. If you are interested, post here and let me know your sourceforge account and what your applying for. The site is here:
https://sourceforge.net/projects/mobilemage/
cool~looking forward to it!!!
Thank you. In a few days I should have basic Room loading done. That will probably be the first release for it.

NDK porting question - AlmostTI

Hello,
I am interested in trying to port this project:
http://fms.komkon.org/ATI85/
to Android. This is a TI calculator emulator.
I would like some advice as to where to partition the code between C and Java.
My thinking right now is that I should try to replace the X calls in the Linux version of the emulator (which actually is core dumping on me, but that is another story) with OpenGL calls. Then use OpenGL for all graphical display in Android and only use Java for touchscreen input.
Is this the best way to go about this? Or do I really need to move more to Java?
Thanks for any advise. If someone with more experience is interested in this, that would be great - I don't have much experience in this space.
xnappo

Porting MAME to Android

I'm not a programmer, I just want to compile MAME for the Android. But, of course compiling code within the Android platform is not possible (as one would do it in Ubuntu or Debian), so I need the Android SDK and enough knowledge of java to call the native code, which needs to be packaged by the NDK, launched from within Cygwin.
Seems there will also be some video issues, beyond my comprehension. MAME developer R. Belmont posted this on porting MAME to Android:
The OpenGL support won't help you with GLES, that'll need to be an entirely separate code path
Click to expand...
Click to collapse
Whatever that means, it sounds like a lot of work. Looking around for similar projects for examples on how to call native code like the source for MAME , I found the java activity source code for aDosBox. It's also an emulator, but also has video requirements and uses native source as it's base. I'm still decrypting what it does, but for a developer (perhaps you!) looking to port MAME, it might be a good place to start.
What would be cool, is a couple templates I could just plug the needed particulars into. One for the Android.mk file that adds any required libraries needed for video stuff when I use ndk-build, and one for the java activity that simply calls the native code.
The MAME source code also has an SDL backend in the included build system. The build system 'detects' what platform it's on and builds accordingly. Can SDL be used in the Android SDK?

[APP] Lua library for WinRT?

Hi, just a question - has anybody tried converting the Lua library into WinRT / C++ ? I would really like to use Lua in my Metro app (I plan to port one great logic game), but sadly I'm not C/C++ programmer and there is currently no WinRT library for Lua to use.
In my opinion it should not be hard for someone, who knows C++ and to convert it to WinRT.
Lua is written in C, source code is here: http://www.lua.org/ftp/
Can anyone help me port Lua library to WinRT?
N3croman said:
Hi, just a question - has anybody tried converting the Lua library into WinRT / C++ ? I would really like to use Lua in my Metro app (I plan to port one great logic game), but sadly I'm not C/C++ programmer and there is currently no WinRT library for Lua to use.
In my opinion it should not be hard for someone, who knows C++ and to convert it to WinRT.
Lua is written in C, source code is here: http://www.lua.org/ftp/
Can anyone help me port Lua library to WinRT?
Click to expand...
Click to collapse
Wait to rovio, angry birds uses LUA for their levels. Try to reverse the Angry Birds Metro App. I don't know if the released it yet if not wait till it's for downloading.
Then you'll see how they work with Lua / Metro.
Remember that the Metro apps are in Program Files too and you can get source code.
I've already disassembled their WP7 binaries some time ago - they use Lua for describing levels, but these Lua files are encoded scrambled somehow and as far as I know, it's just a subset of Lua codebase they use there.
There is also no Metro Angry Birds right now, but I'll definitely check the binaries once Angry Birds for Metro are released

Develpoing GUI in Java

Hi everyone,
some days ago, i was substancially forced to join an Android project by my professor.
The fact is that his course was about C++ (your equivalent of that course should be Compuer Science II, and i have a good knowledge of C++), and this project is in Java. I have a little experience in Java (in fact, one of the courses that i am attending is focused on Java). Now, i think that in order to be a Computer Science engineer i have to fit myself to the situation ( i have some docs about the project) but i have no experience in Android app development and a very little knowledge of XML, so i ask you some help :good:.
What i have to do is to realize some GUI for his application. It is not very difficult, but i have no idea about from where i have to begin. In these 2 days i have managed to start some very simple application from Eclipse on my smartphones, but that's all, nothing more. So, is there any book or (better) some short guide or video to follow?
I use, as IDE, Eclipse (because i usually use it for Cpp, but some people said me that Android Studio should be better). I know that Eclipse is a really god IDE (For Cpp i tried also CodeBlocks, VisualStudio and Netbeans), but i know too that it raises some error that newbie user could not managed to solve easily: one of them is a java.lang.nullPointerException raised in every main.xml file...
Moreover, the project has to connect to a IBM Bluemix-stored database.
Last but not least please share a comment about my English (that, i have to admit, is not very good). I would really like to know how it - really - is.
(Excepting the typo in the thread title).
So, i ask you to kindly share resources (video, guides ...) about realizing GUI in Android.
Well first i'd recommend using android studio since it is the official ide for android by google, and I have worked with eclipse for 2 years and the android plugin is just too buggy.
About designing the ui it is usually done in xml rather than in code since its more intuitive and there is a preview.
You should start learning the basics and from there they teach you how to design the ui.
Try the official guide in the google developers section for android "developers android training"
Are you talking about https: //developer .android.com /training/index .html ?
Yes exactly, they have some nice guides there.
Here is a very nice guide for creating your first app in Android Studio: http://www.raywenderlich.com/78574/android-tutorial-for-beginners-part-1
Here is a layout tutorial: http://code.tutsplus.com/tutorials/android-user-interface-design-layout-basics--mobile-3671
Here is a compilation of Android beginners tutorials: http://www.sitepoint.com/12-android-tutorials-beginners/
If you give a more focused description of what you are trying to achieve (what are you intending to display and how do you want to display it), more focused tutorials can be suggested.
Best of luck
EliteRazor said:
Hi everyone,
some days ago, i was substancially forced to join an Android project by my professor.
The fact is that his course was about C++ (your equivalent of that course should be Compuer Science II, and i have a good knowledge of C++), and this project is in Java. I have a little experience in Java (in fact, one of the courses that i am attending is focused on Java). Now, i think that in order to be a Computer Science engineer i have to fit myself to the situation ( i have some docs about the project) but i have no experience in Android app development and a very little knowledge of XML, so i ask you some help :good:.
What i have to do is to realize some GUI for his application. It is not very difficult, but i have no idea about from where i have to begin. In these 2 days i have managed to start some very simple application from Eclipse on my smartphones, but that's all, nothing more. So, is there any book or (better) some short guide or video to follow?
I use, as IDE, Eclipse (because i usually use it for Cpp, but some people said me that Android Studio should be better). I know that Eclipse is a really god IDE (For Cpp i tried also CodeBlocks, VisualStudio and Netbeans), but i know too that it raises some error that newbie user could not managed to solve easily: one of them is a java.lang.nullPointerException raised in every main.xml file...
Moreover, the project has to connect to a IBM Bluemix-stored database.
Last but not least please share a comment about my English (that, i have to admit, is not very good). I would really like to know how it - really - is.
(Excepting the typo in the thread title).
So, i ask you to kindly share resources (video, guides ...) about realizing GUI in Android.
Click to expand...
Click to collapse
You can take a look at vogella web site tutorials
They have very usable tutorials, easy to understand.
Thanks everyone, i'll give a look to these resources

Categories

Resources