Näytetään tekstit, joissa on tunniste OPL. Näytä kaikki tekstit
Näytetään tekstit, joissa on tunniste OPL. Näytä kaikki tekstit

perjantai 19. joulukuuta 2008

Uusi peli 9210(i):lle / New game for 9210(i)

Jos jollain sattuu olemaan vielä antiikkivehje Nokia 9210 tai sen i-malli, niin tässä olis uutta polttopuuta pelien saralle:



Porttasin SDL:ää käyttävän Dodgin' Diamond 2:n tälle alustalle, vaikka tiedän että kohderyhmä on todella, todella pieni. Sanokaa mua vaikka hulluksi tai jotain, mutta tämän siistin alustan ei pidä kuolla vielä :)
OPL runtime pitää olla asennettuna ennen pelin pelaamista.

Asennustiedosto

PS. Ei ole ääntä, ainakaan vielä, ja ampumisnappi on a.
Lisää osoitteesta

http://www.symbioosi.net/projektit.html


If someone still owns a Nokia 9210 or its i model (or 9290, or 9210c), he/ she might be interested in the recent port of Dodgin' Diamond 2 arcade space shooter game:

I ported the game which uses SDL although I know the user base is amazingly small. Call me crazy or something, but I think this platform is not yet to be buried.

Before you can play, you will have to install OPL runtime. The installation file is located here.

PS. The game lacks sound currently, and the shooting button is a.

More info at http://www.symbioosi.net/English/projects.html

sunnuntai 27. heinäkuuta 2008

Sihdissä Nokia 9210(i)/ Nokia 9210(i) in sight

Nyt on sen verran hulluksi mennyt tuo kännyköiden vaihtelu että pitää vähän vaihdella lisää. Nokia 9210 tai sen i-malli on siis hankinnassa, vaikka onkin älyttömän vanha puhelinmalli. Käytin sitä joskus nuoruusvuosinani, ja haluaisin vielä kerran saada sen henkilökohtaiseksi data-avustajalaitteekseni. Oli se sen verran hyvä kännykkämalli, kun sille tehtiin sen kultavuosina raivokkaasti erilaisia ohjelmia, mm. kaksi Doom-versiotakin (Hannu Viitalan ja Wildpalmin).

Pääsen myös jatkamaan puolitoista vuotta sitten stopanneita OPL-projektejakin. OPL-ohjelmointi on hauskaa, toisin kuin C++:n. Ai niin, C++:sta tulikin mieleen, että Hannu Viitalan sivuillahan on SDL-julkaisu Nokia 9210:lle, joka toimii (toisin kuin Nokia 9300:n ja 9500:n sekä 7710:n versiot). Tarjoa Nokia 9210:aasi minulle, jos sinulla on sellainen ja haluat päästä siitä eroon. Mailia vain osoitteeseen sambonenpoistatämäosa@gmail!!!PISTE!!!com


All this changing phone model too often has gone so crazy that I must practice it some more. I'm currently looking for Nokia 9210 or its i model although its a really old model. I used it in my younger years, and would like to get it to act as my personal data assistant once more. It was such a good phone model because in its golden years it got made all these wonderful applications, and even two Doom versions (Hannu Viitala's and Wildpalm's).

I can also continue my OPL projects which ended some year and a half ago. OPL programming is fun, unlike C++. Oh yes, C++ reminds me the fact that in Hannu Viitala's site there is the SDL release for Nokia 9210 which actually works (unlike Nokia 9300's and 9500's or 7710's versions).

perjantai 31. elokuuta 2007

OPL:n tulevaisuus/ OPL's future

Koodaaminen on jännää ja hauskaa puuhaa. Kun taannoin koodailin OPL:llä ohjelmia, se oli todella helppoa ja vaivatonta. Toimiva käyttöliittymä oli helppo rakentaa ja koodailu onnistui puhelimellakin. Nyt OPL on suuren kuolemisuhan alla S60 3rd Editionin binääriyhteensopimattomuuden ja projektin ylläpitäjien vähyyden (kaksi aktiivista ohjelmoijaa) vuoksi.

Itse koodailin alaani liittyvää laskinohjelmaa S80-alustalle, joka auttoi minua melkoisesti opiskelupaikassani. Ohjelmassa täytyi syöttää vain luvut dialogiboksiin ja ohjelma tulosti näytölle tuloksen (esimerkiksi ideaalikaasun lain lasku, pV = nRT). Hauskaa oli. Ja nopeaa koodaamista, kun kielenä toimi OPL. Nyt täytyy sitten alkaa vähitellen opetella Symbian C++:aa, jotta pystyy jotain tuollaista tekemään. Tai no, onhan noita Pythoneita ja muitakin kieliä, joista valita. Olisi ehkä järkevämpää opetella niitä ennen "hirviöön" siirtymistä...

Tässä kun kirjoittelen niin alkaa hirmuisesti kasvamaan taas koodailuinto. Pythonin alkeita siis opettelemaan.


Coding is exciting and fun. When I some time ago coded applications with OPL, it was very easy and painless. A working interface was easy to build and coding could be done on the phone also. Now OPL is under a threat of dying completely because of the binary uncompatibility with S60 3rd Edition and the project administrators' fewness (two active developers).

I myself coded for S80 platform a calculation application connected to my occupation, which helped me a lot in my school. In the program there was meant to enter only the figures into a dialog box and then the application printed the result onto the screen (for example the ideal gas law, pV = nRT). It was fun. And quick coding, for that matter, when the language was OPL. Now I must step by step learn Symbian C++ to be able to do that kind of applications. Well, there are these Python and other languages to choose from as well. It might be reasonable to learn them before moving onto the "monster"...

Now when I'm writing this, the coding enthusiasm begins to rise up extensively. So let's go to learn Python's ABC.

torstai 30. elokuuta 2007

C++-ohjelmointi/ C++ programming

Nyt kolme kuukautta tosissaan opeteltuani C++:aa (aiemmin lainailin kirjoja mutta ne eivät oikein auenneet silloin) voisin sanoa, että perusasiat on oppinut älyttömän nopeasti kun on noin vuoden koodaillut OPL:llä ohjelmia Symbianille (S80-alustalle). Luokkajuttuja pitää vielä kerrata ennen kuin ne aukeavat kunnolla, jos aukeavat. Sitten siirrytään taas eteen päin kohti vaikeampia asioita. Vapaan itseopiskelun merkeissä tietysti, mitä nyt jonnekin tunneille tämän vuoksi vaivautua, kun kotona kaiken saa tehdä omaan tahtiin ja yritys-erehdyssilmukkakin pääsee täällä oikein perusteellisesti valloilleen.

Jos luet tätä etkä ole koskaan ohjelmoinut ja haluaisit aloittaa, en suosittele C++:aa, vaikka se kuulostaisikin kivalta. Kannattaa aloittaa esim. BASIC:n kaltaisesta helposta kielestä, jossa ei ole sekaannuttavia ominaisuuksia (puolipilkut, kaarisulut yms.) ja jossa vähäisellä koodimäärällä voi saada kiinnostavia tuloksia aikaan.


Now when I have been learning C++ seriously for three months (formerly I borrowed books but they didn't open up then), I'd say that I have learnt basic things really fast, because I have been programming applications for Symbian (S80 user interface) with OPL. I need to rehearse class things before they open up completely, if they ever will. Then I'll move forward towards more difficult things. Of course this is done by private studying; why bother going to some class for this, as one can progress at his own rhythm, and the trial and error loop gets loose here very thoroughly.

If you read this and have never programmed before and would like to start, I don't recommend C++, although it may sound like a nice option. You should start with, for example BASIC-like rather easy language, which has no confusing properties (semicolons, parentheses and others) and a little amount of code can produce some interesting results.