[Game]Pokitto Grand Prix

Cool, how’d you do it? PROJ_SOUND_BUFFERED ?

I used Jonne’s SynthTest InPokittoLib as a reference. It is really simple:

In My_Settings.h:

#define PROJ_ENABLE_SOUND 1     // 0 = all sound functions disabled
#define PROJ_ENABLE_SYNTH 1
#define PROJ_AUD_FREQ 8000

In the code:

Pokitto::Sound snd;
snd.ampEnable(1);
snd.playTone(1,tonefreq,amplitude,wavetype,arpmode);
2 Likes

Oh, playtone:-(

Sorry for the delay in getting art up.
I had a few setbacks with some catestrophic bugs on the project I was hoping to be done with earlier in the week (mainly stack overflow bugs because I forgot to validate some data - you know you’re doing extreme and dangerous things when you get a stack overflow :P).

And if you’ve been following the other threads you’ll see I’ve had a powercut eat 4 hours out of my day so I’ve been unable to work on the art today.

Next week I’m going to set aside some time to focus on nothing but art for FZero.


The other thread has reminded me we never discussed the licencing for the art.
Do you have a preference for what you’d like to release the art under?
I’m happy to release under any of the Creative Commons licences (other than CC0).
The licences are also available in Finnish if you prefer. :P
(Though I doubt you’ll need that. I hear most Finnish people speak excellent English.)

2 Likes

Ok, good to know.

I am currently making a tool chain, so that I can manage changing the global 256 color palette and easily add new graphics to the game. I was thinking to use ImageMagick, but ended up to use the good old NetPbm tools (+ Bmp2Pok ) for the task.

I will release the code under the MIT license or something like that. For the graphics do as you will.

It is true that you can manage quite well with English in Finland. Finnish itself is very far from English as a language, but we study English a lot at school. Also, foreign films are never dubbed here, except for small children, so we are “exposing” to the English language a lot :wink:

1 Like

If you’ve got no plans to use this commercially then I’ll go CC BY-NC-SA, otherwise I’m happy with CC BY-SA.

(Even if we go CC BY-NC-SA, I’m happy to licence it separately to Pokitto Oy if @jonne has any plans about using it for promotional or financial purposes.)


Indeed. I could see that from the thread about the Finnish article from Skrolli.

It’s a very interesting language, particularly its rule about how suffixes change a word’s usage (I suppose technically it’s similar to how English uses different suffixes for different tenses, but it doesn’t feel that way).

It seems that quite a lot of countries do.

Yeah, I get what you mean.

I just wish more films were EN-GB instead of EN-US,
seeing American spellings everywhere on the internet drives me nuts. :P


Tangentally related, I watched a documentary called “The Rise and Fall of Nokia” earlier in the year.
It was very interesting.

I was there, exiting times! But what goes up, must come down. Nokia lost its mobile phone business to Apple and Google, but is still strong in mobile phone networks ( what many people do not realise).

1 Like

Also, a lot of Nokia’s talented former employees have moved on to other tech companies, so it’s still making an impact on the world. :)

One of the former employees bought a laundrette. :P


Another interesting thing, they showed this guy who had built a modern smart phone (touch screen, swipe action, internet browsing) back in 2002, and none of the companies would touch it.

The day Apple announced the iPhone he got so angry he threw his phone at the wall.
Unlike an iPhone it didn’t break.

1 Like

Me being a libre-freak I’d probably want to create a CC0 alternative graphics, @Pharap and @Hanski would you be okay with it? @Pharap’s assets would stay as the default ones for the game demo while there being a folder with my assets as an alternative – could that be? :slight_smile:

Absolutely, anybody can make more graphics to this demo! Waiting for your contribution :slight_smile:

2 Likes

Speaking of which, got a couple of different palettes for you to chose from for the revamped ships:

Green
GreenA

Blue
BlueA BlueB

Yellow
YellowA YellowB YellowC

Pink
PinkA PinkB PinkC

Grey
GreyA

Each ship uses 4 colours common to all ships and 4 unique colours.

Since each ship has 4 levels of shading,
it should be possible to substitute the 4 unique colours,
effectively leaving you with 5 ship styles and 5 ‘paint jobs’, for a possibility of 25 total ship variants.


Any idea how long before the code is made public?
(Or is it already public and I missed the link?)

Thanks! I will take those into use.

That is a good idea :slight_smile: The player just selects the ship model and then colors.

The current code is a bit messy, and lacks comments. Would you like to make code contribution too, or just be able to test graphics by you own?

Let me know which of those palettes you prefer so I know how many colours we’re up to.

If I can think of something to contribute then I’d be happy to contribute something.
Programming is what I usually do after all.
I’m not afraid of messy code, I’ve seen a lot of messy code over time.

But if you’d rather not have to deal with git during development then I understand that.
I sometimes don’t publish to GitHub until I’ve got a fully working game.


Here’s a grass tile to trial.
It reuses the greens from the ‘Pokitto’ ship palette.

GrassTile

I was there, as a young student. My colleagues made the mechanical design. The MyOrigo also had haptic response AND an accelerometer. It was too ahead of its time: there was nothing to consume on that device, and mobile web browsing was still a joke. Apple succeeded because iPhone built on the success of iPod: the 1st gen 2G iPhone was not an internet device, and early iPhone adopters were iPod users - a detail often forgotten. BTW, Nokia should be given zero credit for the MyOrigo device. They just failed to do anything about it. The whole hardware / software design was not Nokia.

EDIT: apologies for the off-topic comment

4 Likes

If there’s one thing I’ve learned in the last 2-3 years it’s that you have to allow for one or two off-topic comments because they give a forum intrigue and character.


I never owned an iPod, but they were notable enough by the time I came to do my GCSEs that the examiners would often say ‘iPods’ instead of ‘mp3 players’.
I remember some of the students would ‘jailbreak’ theirs.
(I much preferred my friend’s Archos media player to the iPods.)

I’m not surprised that it was the iPod’s success that the iPhone piggy-backed off of.
I’ve never been one to be taken in by branding, but a lot of my peers were the kind of people who wanted the flashiest phones, clothes etc.

2 Likes

That would be great! I will try to put the codes in GitHub soon.

1 Like

The differences are really small. I also did not try them on Pokitto screen, just on laptop screen.

  • Blue: 1
  • Yellow: 2 or 3
  • Pink 2 or 3

Is that tileable? It also would be better to do the tiles so that they can be used in any degrees : 0,90,180,270. When testing that I got a bit of Mario Kart feeling :slight_smile: It is a great game, but I think somewhat more futuristic or sci-fi style would fit better with the ships. What do you think?

Hm, if your tile is all-direction compatible, you’ll lose even more the depth effect.

One way to circumvent this would be to select a different tile depending on the “camera angle” -which, I think, depends solely on the X coordinates of the center of said tile. Like, make the tile seemingly look at you by having 0, 45, 90° versions! Not sure how to do that thought without losing too much perfs

1 Like

Yes, that can be a problem. But making a smooth rotation would be difficult if I switched the tile bitmaps depending on the angle.

edit: Below some examples of the off-road tiles:

image
image
image
image
image

2 Likes