Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GBA_engine

32bits, gameboy advance like engine · By Magnus Oblerion

Fast start Sticky Locked

A topic by Magnus Oblerion created Dec 10, 2023 Views: 68
This topic is locked
Viewing posts 1 to 1
Developer (10 edits)

a1.5

Setup new project

  • Download palette image .png <= 32 color lospec.com
  • on browser touch « + » , it create new.lua and new.png
  • click on « new » project, click on « spr » button
  • drag and drop palette image to window
  • save, quit and rename new .lua/.png with your projet name

Debug (GUI)

  • load projet with browser
  • press space for start/stop debug

Create EGBA from script/sprite

  • After load projet , « -> » button or  ctrl + e
  • ctrl + l for locked egba (can’t import lua/spr from egba)

Import sprite/script from EGBA

After load projet , « <- » button or ctrl + i

Run EGBA (GUI)

After load projet, press enter for start/stop running EGBA

Build standalone game from EGBA

After load projet, ctrl + b

If you have egba and egba.exe, it create binairy for linux (no ext) and window (.exe)

Debug (CLI)

open cmd, tape it

egba.exe project.lua 

it use .png for load color and sprite

Run (CLI)

open cmd, tape it

egba.exe project.egba

Load spritesheet

  • drag and drop 256x256 img, it to browser→project→spr
  • drag and drop 256x257 img, it to browser→project→spr

a0.1

setup cartbridge .egba

  • Download palette image .png <= 32 color lospec.com

  • launch egba.exe

  • drag and drop image to window

  • btn save create save.egba next to egba.exe, rename it with your project name

load .egba

  • launch egba.exe
  • drag and drop it to editor

lua script

  • create .lua next your .egba with same name.
  • edit it with it
-- hello world example
function EGBA()
  print("hello world",50,50,1,20)
end

full api

launch external script

  • open cmd, tape it
egba.exe project.lua

it use .egba for load color and sprite

load script to cartbridge

  • launch egba.exe -> script section
  • drag and drop it to editor

export spritesheet

  • goto sprite section
  • ctrl + E

load spritesheet

  • drag and drop it to editor

launch cartbridge with intern script

  • open cmd, tape it
egba.exe project.egba

build standalone game.exe

  • launch egba.exe
  • load cartbridge ,goto script section
  • right ctrl+B -> project.exe

build game.exe work only for window , not with wine