This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e1b0be
commit cb71b2d
Showing
862 changed files
with
127,401 additions
and
154,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--[[ | ||
Pixel Vision 8 - AddScript Example | ||
Copyright (C) 2017, Pixel Vision 8 (http://pixelvision8.com) | ||
Created by Jesse Freeman (@jessefreeman) | ||
Learn more about making Pixel Vision 8 games at | ||
https://www.pixelvision8.com/getting-started | ||
]]-- | ||
|
||
-- Create Lua code as a string | ||
local textFile = | ||
[===[ | ||
function test() | ||
DrawText("Hello World", 1, 1, DrawMode.Tile, "large", 15) | ||
end | ||
]===] | ||
|
||
-- Register the text file as a script | ||
AddScript("textFile", textFile) | ||
|
||
function Init() | ||
-- Call the text method | ||
test() | ||
end | ||
|
||
function Draw() | ||
-- Redraw the display | ||
RedrawDisplay() | ||
end |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.