Some time ago I used the following steps to run Stencyl on Raspberry PI 3.
The problem was with RUNNING a game. Java (with which Stencyl is made) runs just fine with the path adjustment.
I used Mac to create the image and the steps.
I am waiting for openfl version to try the last link in the text:
"
https://www.raspberrypi.org/downloadsRaspBian (jessie)
jar xvf 2016-02-26-raspbian-jessie.zip
Make sure that the disk you want is unmounted from Mac
diskutil unmountDisk /dev/disk5
SD Formatter Macintosh Download
Overwrite Format
sudo dd bs=1m if=2016-03-18-raspbian-jessie.img of=/dev/rdisk5
sudo diskutil unmountDisk /dev/disk5
ssh -l pi 192.168.x.x
raspberry is password
Enlarge the Raspberry PI when booted with jessie.
$ sudo bash
$ fdisk /dev/mmcblk0
mmand (m for help): p
Disk /dev/mmcblk0: 14.9 GiB, 16021192704 bytes, 31291392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0cf63fa8
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 131071 122880 60M c W95 FAT32 (LBA)
/dev/mmcblk0p2 131072 7870463 7739392 3.7G 83 Linux
Command (m for help): d
Partition number (1,2, default 2): 2
Partition 2 has been deleted.
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2):
First sector (2048-31291391, default 2048): 131072
Last sector, +sectors or +size{K,M,G,T,P} (131072-31291391, default 31291391): 31291100
Created a new partition 2 of type 'Linux' and of size 14.9 GiB.
Command (m for help): p
Disk /dev/mmcblk0: 14.9 GiB, 16021192704 bytes, 31291392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0cf63fa8
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 131071 122880 60M c W95 FAT32 (LBA)
/dev/mmcblk0p2 131072 31291100 31160029 14.9G 83 Linux
w = write
reboot
sudo resize2fs /dev/mmcblk0p2
reboot
DONE
== VNC ==
apt-get install tightvncserver
vncserver
(Password)
aspberrypi:~/Downloads $ cd
pi@raspberrypi:~ $ cd .config/
pi@raspberrypi:~/.config $ mkdir autostart
pi@raspberrypi:~/.config $ cd autostart/
pi@raspberrypi:~/.config/autostart $ nano tightvnc.desktop
[Desktop Entry]
Type=Application
Name=TightVNC
Exec=vncserver :1
StartupNotify=false
^O
^X
Mac Client
Finder
Go -> Connect to server
vnc://192.168.2.1:5901
====
Stencyl download with browser epiphany.
Modify the Stencyl command: cp Stencyl run
vi run
Remove path in front of java
mv /usr/bin/haxe /usr/bin/old_haxe
mv /usr/bin/haxelib /usr/bin/old_haxelib
Follow : (Need new openfl version to be used by Stencyl)
http://www.gepatto.nl/get-piratepig-running-on-a-raspberry-pi-2-with-raspbian-jessie/"