How to run a program on Raspbian

Previous topic - Next topic

quangdx

Hello,
my brother has just got hold of a Raspberry PI and is running Raspbian on it,
does anyone know how to get my games to run on it?
Do I compile for Raspberry PI or Linux?
Also any idea how I would make it automatically boot up into my game.
So we can install it into an arcade cab of sorts.

many thanks, Quang

Asobi tech - the science of play.
Spare time indiegame developer.

matchy

#1
8) It would be nice to build an arcade cabinet or a table.  :good: Now I have been testing GLBasic on the RPI2 recently and also with simple Arduino input and output via a shell gpio command. This is cool for hardware buttons, controls and displays, and also fine for a entertainment unit or kiosk.  :P

There are issues though with only able to use LOADFONT, PRINT and DRAWSRITE.  :help: Music is fine and but some 2D polys or even 3D would be good.  :sick:

quangdx

I want to know how to run the games I make with GLBasic on a Raspberry PI.
If I compile for GLBasic I get a .bin file and if I compile for Linux I get a .linux file.

I used the ./ before the file name and some of the programs I've compiled start playing music,
but then error on trying to load a font :(
Anyone have any ideas?
Asobi tech - the science of play.
Spare time indiegame developer.

matchy

#3
I can load the font fine by placing it in the Media subfolder and then LOADFONT "Media/font.png" and not using SETCURRENTDIR$().

quangdx

So it looks like the problem I am having is
VSync unsupported on old SDL versions (before 1.2.10)

I am still using GLBasic 12.308
The PI I believe is running SDL 2.0.3
Asobi tech - the science of play.
Spare time indiegame developer.