I started my first game ever on january 25th, 2014.
What is Pixel Space?
Pixel Space is a splash of everything from Terraria to JunkJack, In Pixel space you can explore planets 2D style, Upgrade your ship making it look cool and faster so you can travel to planets way faster.
Planned Features:
Shop (Costumes, Swords, Special Items(FlashLight etc.), Ship Parts and more.
Random pirate attacks
Ship building ( Make custom ships)
Random alien ships and other ships floating through main menu.
Looking nice. I suggest using a pixeled font as well
function setup()
title = pixelText("Pixel Space")
end
function draw()
background()
sprite(title, WIDTH/2, HEIGHT/2, 500)
end
function pixelText(str,x,y)
fontSize(8)
noSmooth()
local w,h = textSize(str)
local img = image(w,h)
setContext(img)
text(str, w/2, h/2)
setContext()
return img
end
@Codeabin - I like the retro ‘pixels the size of a house’ look - reminds me of an arcade style coin-op from the early eighties! (Which is always a good thing!) - need to see more to comment on the game itself. Whats the general concept?
@tnlogy, i tried your code in my program and im getting an area where exactly do i put your function? Because it says pixelText is nil?
Play = class()
local startTime = 0
function Play:init()
title = pixelText("Pixel Space")
-- you can accept and set parameters here
self.x = x
supportedOrientations(LANDSCAPE_RIGHT, LANDSCAPE_LEFT)
displayMode(FULLSCREEN)
end
function pixelText(str,x,y)
fontSize(8)
noSmooth()
local w,h = textSize(str)
local img = image(w,h)
setContext(img)
text(str, w/2, h/2)
setContext()
return img
end
function Play:draw()
-- This sets a dark background color
imagePosition = vec2 (WIDTH/2, HEIGHT/2)
background(255, 255, 255, 255)
sprite("Documents:space", WIDTH/2, HEIGHT/2, 1024, 768)
sprite("Documents:magnetic", WIDTH/2, HEIGHT/2, 900, 900)
fill(45, 45, 45, 255)
font("Copperplate-Bold")
fontSize(100)
sprite(title, WIDTH/2, HEIGHT/2, 500)
startTime = startTime + 1
if (startTime > 120) then
Scene.Change("mainmenu")
end
if (startTime > 118) then
doSound3=true
end
if doSound3==true then
sound(DATA, "ZgBANQA2N0lKP0NGEWOuvFN1Ob7RYPg+XQBAfx04PFJIQVRb")
end
end
@andymac3d, the main concept of the game is to explore, build and upgrade your ship and discover new planets, More ideas might come later but for now thats the main concept.