Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2016, 08:35 PM   #1
miomaz
Junior Member
miomaz began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2012
Device: kindle 4.1.0
Programming Games for the Kindle (PW3 & others)

Hello,
I am considering programming a game for the Kindle, though I am not sure where to exactly begin.

I can code in C++ and some Java but I've only developed games for PC and to be honest I have no experience with the hardware side of things, which I assume is essential to programming anything for the Kindle.

In other words:
what programming language would one use?
are there any games' source code one could look at?

Good morrow.
miomaz is offline   Reply With Quote
Old 06-28-2016, 10:06 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,119
Karma: 82937363
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
There are a couple games you can find linked from the master index sticky here (and from there to the master list of KUAL extensions).
As a general rule everything posted here comes with source code.

I suppose you could use any programming language as long as you can get it to compile and run on the Kindle but you will probably want to either use a Java kindlet or link to the gtk library from the builtin firmware.
eschwartz is offline   Reply With Quote
Old 06-29-2016, 07:44 PM   #3
miomaz
Junior Member
miomaz began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2012
Device: kindle 4.1.0
Thanks for the info. I'm no fan of java to be honest, I much prefer C++. I looked up the wikipedia entry for the gtk+ library: it is written in C.. which is good. Does the OS of the kindle use the same library available at gtk.org?
This library is for creating graphical user interfaces. Are there other libraries for handling basic drawing operations (the equivalent of, say, OpenGL, with much less baggage).
For the game I am programming it would make things look much nicer if I could do this.

If you're interested, I'm planning on making a game similar to NEO scavenger with elements from the game Dwarf fortress. In terms of complexity it will be much less so compared to Dwarf Fortress and I will not add any drawn game representations such as in NEO scavenger. The plan is to start out simple and to build upon that if the project turns out good.

Dwarf Fortress

Neo Scavenger:



edit: its really a shame that the kindle uses java for all the crap it does. The device is already quite resource limited and running in a VM is counter productive to say the least.
I found a website with some useful info on how to programm stuff for the kindle:
site

Last edited by miomaz; 06-29-2016 at 07:54 PM.
miomaz is offline   Reply With Quote
Old 06-29-2016, 07:54 PM   #4
knc1
¯\_(ツ)_/¯ <- Clueless
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 11,815
Karma: 12397053
Join Date: Feb 2012
Location: Central Texas
Device: No PW2, KV, KOA
Why don't just review the libraries installed on your Kindle?

You will need to either jailbreak your Kindle so you can see the system libraries;
or
Download a system update_*.bin package from Amazon for the oldest version you intend to support and open it with KindleTool;
or
Read my thread on how to install/support (concurrently) another (different) set of system libraries.

It will not be a waste of your time, you'll learn things and get access to things you will be needing.
knc1 is online now   Reply With Quote
Old 06-29-2016, 10:07 PM   #5
geekmaster
Overthinking reality.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,420
Karma: 10764602
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Doom has been ported to eink kindles, using dithering (and with sound too), as a native mode app. Twobob was working on that.

http://www.mobileread.com/forums/sho....php?p=2268259

Last edited by geekmaster; 06-29-2016 at 10:14 PM.
geekmaster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW3 PW3 & azw2 support + miscellaneous questions ntamas Kindle Developer's Corner 20 06-18-2016 08:28 AM
Amazon PW3/Fire 10 .... & Calibre Katie1 Devices 2 04-16-2016 11:41 PM
Help to recover Kindle PW3 Jack_daw Kindle Developer's Corner 11 04-03-2016 04:28 AM
Some advice on selecting games for Kindle 3 & Kindle 4? truseva Amazon Kindle 6 11-15-2011 07:44 AM
Sell games for PocketPC & Palm & Symbian - Make me an offer Nate the great Flea Market 4 04-30-2008 08:51 PM


All times are GMT -4. The time now is 12:13 AM.


MobileRead.com is a privately owned, operated and funded community.