Jump to content

  • Log In with Google      Sign In   
  • Create Account

6677

Member Since 12 Jun 2012
Offline Last Active Mar 16 2013 08:42 AM

Topics I've Started

Feasibility of writing android apps purely through the NDK

01 December 2012 - 03:59 PM

How feasible would it be to write an app written in as close to pure native code as possible?

Let me elaborate a bit. I fully understand that most ndk apps for android will still need a few lines of java to initialize your native code so we'll leave that part out of the equation. I have also read an article on the ndk from google stating that using the NDK simply because you are more familiar with C or C++ than java is not recommended.

I do actually have a fairly extensive language background so although I don't know java if I was serious about writing an android app I would probably find it easy enough to learn. This is purely from a theoretical point of view. I don't have any intentions on getting into android app development as I don't have access to a working android handset, I use a windows phone and my old android handset has a dodgy touchscreen and crashes alot. Its just I came across a reference to the NDK somewhere once and am learning C to use on a microcontroller and then started thinking about this question.

Do you think it is possible to write an entire android app with either C or C++ (with the exception of the lines required to initialise your native code.

What problems do you think someone would come across?

Are there any apps that somewhat bizarrely use this approach?

Is there really any speed benefit? (I would normally expect there to be but apparently there are some weird quirks with how "native" code runs on android)

Wouldn't you lose support for x86 and MIPS handsets?

Bug with losing 10 rep points

06 August 2012 - 02:45 PM

I went into my profile and looked at my reputation events and there is a -10 entry in there.
Now looking at this page: http://www.gamedev.net/page/resources/_/gdnethelp/reputation-system-point-breakdown-r2925 it appears that a rep of 10 being deducted means a moderator report got turned down, the thing is all my other reputation entries have a reason posted under the item header, this one didn't. I think that might be a bug or someone hasn't set a message for it correctly but either way if I hadn't found that page (which I only found by reading one of the other threads complaining about losing rep points) I wouldn't have known why I had lost 10 points.

Really one of the following needs to happen:
a) Text needs to be added under the item header
b) Alternately every time this does happen the moderator dealing with the report sends you a forum message, this is the only forum I have visited where I don't get a message back after filing reports on other users.

2d lighting

02 August 2012 - 04:03 AM

I've been working my way through a few XNA tutorials recently and think its finally come to the time where I can actually start a project. I'm not particularly new to programming, hadn't used C# before XNA but have used python, VB.net and a little ruby and lua before but never used graphics before XNA (if you ignore GUI's with winforms and messing around with pygame when your not really ready to go there). I have a few small projects in mind (1 may well be able to be made into a larger project aswell) but one of them requires some form of lighting in it, this is something I've not ever used before.

Has anyone got any links to good resources on 2d lighting techniques?

The only thing I've thought of so far is the old pokemon GBA games where they covered the screen with black with a small hole in the middle for the player, I guess that might work and would be easy enough to code but really I want to do some proper lighting.

Any help much appreciated.

Spoiler

Audio Library For .NET

12 June 2012 - 03:51 PM

I do hope this is the right section.

I've been developing a windows application using VB.net and it needs to be able to playback sound files of various formats, although mostly MP3's being used with the odd wav popping up. wma support would be a nice bonus but not necessarily needed. I tried using the default soundplayer class available on the .net framework already and found that it can only play wma files. The windows media player ActiveX control didn't really make any sense either and I only needed its audio playback abilities so it was horrifically complicated overkill.

So does anyone know of any easy to use audio playback libraries with mp3 support at least, preferably more. Some sort of way of implementing pause/resume functionality would also be good, even if its just retrieving the progress through the current track and programmatically skipping the track to that point (if the library supports it).

Thankyou, and I apologise if this is in the wrong section

PARTNERS