Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 May, 2013, 08:13:26 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: NSpire Gamekit - a game framework for Ndless (WIP) -  (Read 359 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
tangrs
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: Yesterday at 03:13:59
Date Registered: 13 July, 2011, 04:32:25
Location: Australia
Posts: 188

Topic starter
Total Post Ratings: +84

View Profile WWW
« on: 13 September, 2011, 10:29:19 »
0

I got bored and decided to try and write homebrew for the calcs again.

Bascially, I wanted to port a game but I thought it might be better to write a reusable framework instead. That would mean for future games, I wouldn't have to rewrite a lot of the stuff relating to graphics and all and others could potentially use it.

So here it is: https://code.google.com/p/nspire-gamekit/

The code probably isn't the most prettiest you've seen and it doesn't exactly run fast but it does the job. It's a work in progress.
I hope this could be useful to some people and would appreciate some feedback.

Cheers,
Logged
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:21:22
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #1 on: 13 September, 2011, 10:57:06 »
0

Looks very interesting Smiley
Sadly enough I'm not in the Ndless camp, but in the Lua one, so I can't test it.

I wish you good luck with it, and most of all, have fun Cheesy
« Last Edit: 13 September, 2011, 10:57:47 by jimbauwens » Logged

Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:24:33
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1853

Total Post Ratings: +208

View Profile WWW
« Reply #2 on: 13 September, 2011, 11:00:18 »
0

Hello and welcome on Omnimaga Smiley

Game frameworks are indeed one of the many things Nspire C/ASM development needs - but it's a lot of work...

For sources of inspiration (or perhaps even C source compatibility ?), have you looked at other GFX libraries (some of which have functions related to a game framework) used on other graphing calculators, such as:
* GenLib ( http://www.yaronet.com/t3 ), run-time dynamic "kernel-based" library for the TI-68k series;
* ExtGraph ( http://tict.ticalc.org, https://github.com/debrouxl/ExtGraph ), compile-time static library for the TI-68k series;
* the smaller libraries embedded in HPGCC ( http://sourceforge.net/projects/hpgcc/ ), which are, unlike the two ones I've just mentioned, are already targetted at an ARM-based platform ?

One last note for now: you probably want to leave room for two sets of functions, one for the Nspire Clickpad & Touchpad (4-bit grayscale) and one for the Nspire CX & CM (16-bit color). The latter does not currently have native code, but it will eventually become accessible.
And the distinction between those modes should be taken into account early in the design and coding of any framework, because adding it later is harder Smiley
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
tangrs
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: Yesterday at 03:13:59
Date Registered: 13 July, 2011, 04:32:25
Location: Australia
Posts: 188

Topic starter
Total Post Ratings: +84

View Profile WWW
« Reply #3 on: 13 September, 2011, 11:46:08 »
0

Hmm, the thought of the NSpire CX had not occurred to me. I'll take a look at the libraries you posted, thanks for the heads up Smiley

Thanks for the feedback guys!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.171 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.