Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

Okay, I know this sounds ridiculous, but hear me out for a second:
The "POCKULUS CHIP" is just a piece of plastic you attach to the front of the PocketC.H.I.P case to split the screen in half, making one eye look at the left half of the screen and the other eye look at the right half. Unlike the Oculus Rift, the Pockulus does not require any fisheye rendering, nor include any headtracking. It has more in common with a View-Master than modern VR.

That means, all it would take for the Pico-8 to have "VR support" with the Pockulus, is to change Pico-8's screen space usage to draw twice, split far enough apart that it uses the 420x272 pixel display evenly, and then either call the _draw() function twice per frame with an argument saying whether the left or right screen is rendering or use one of the already existing secret "stretched 1/2 resolution" screen modes and actually use the entire 128x128 Pico-8 screen to render two stretched images for the left eye and right eye. You can use clip() to constrain rendering to one side or the other. Let the cartridge developer figure out how they want to make depth perception.

[ Continue Reading.. ]

2
7 comments


I'm working up the basics for a small tile puzzle game where players navigate through a maze filling the path behind them so that they can only move on each tile once. so a trail that will then have some collision so it can't be crossed

I'm having trouble working out how to leave a trail of sprites. I have a grid set up, and a player sprite to move as follows:

function _init()
x = 0 
y = 64
end

function _update()
 if (btnp(0)) 
  then x=x-8 
 end

 if (btnp(1)) 
  then x=x+8 
 end

 if (btnp(2)) 
  then y=y-8 
 end

 if (btnp(3)) 
  then y=y+8
 end
end

function _draw()
	rectfill(0,0,127,127,7)
 spr(1,x,y)
end

I've tried having something in draw but this ended with the designated sprite following the player around and I tried adding something in the update function with the keystrokes but this b0rked it.

It seems to be something beyond what I kno so even if someone can point me in the right direction of something to read up on or code to review that would be much appreciated.

1 comment


Is anyone making carts that use 4x4 sprites? How do you manage clipping and printing them?

4 comments


Cart #20176 | 2016-05-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Just an example of an analog clock you are welcome to use in any project.

Will work in a realtime fashion, like the demo. Or could be passed a static hour/minute and work as a nice background prop in a game. Obviously you could style things up a bit better.

The basic code (see cart for full detail, though):

clock_size=10 --radius of clock
clock_color=12 --blue
hr_hand_color=10 --yellow
min_hand_color=7 --white

-- draw_clock(minute, hour, origin x, origin y, radius)
-- ex: `draw_clock(45,3,50,50,10)` would draw a clock at 50,50 with a 
--    radius of 10 pixels and the hands set accordingly
function draw_clock(m,h,x,y,r)
  -- min hand 1 px smaller than the clock radius
  local mh_len=(r-1)*1.0
  -- hr hand 2 px smaller than the clock radius
  local hh_len=(r-3)*1.0

  m_x,m_y=clock_hand_position(m,x,y,mh_len)
  -- multiply the hour value by 5 for hand position
  h_x,h_y=clock_hand_position(h*5,x,y,hh_len)

  -- draw the outline of the clock
  circ(x,y,r,clock_color)

  -- draw the minute hand
  line(x,y,m_x,m_y,min_hand_color)

  -- draw the hour hand
  line(x,y,h_x,h_y,hr_hand_color)
end

-- clock_hand_position(tick, origin x, origin y, multiplier for hand length)
function clock_hand_position(t,o_x,o_y,m)
  -- rusty trig ahead. beware.
  t-=15
  t=t%60 -- handle 60 tick factors
  t=60-t
  -- determine x,y from cos/sin
  local x=cos(t/60.0)
  local y=sin(t/60.0)
  -- multiply the x & y by `m`
  x*=m
  y*=m
  -- offset from originating coords
  x+=o_x
  y+=o_y
  return x,y
end
1
0 comments


Is anyone else getting crashes when using Pico 8 in Windows? I'm using pico 1.6 in Windows 7, never had a problem before 1.6, but now I'm getting seemingly random crashes.

I don't think it's my code causing it, though I can't be entirely sure. But my code isn't really any different than past projects of mine, so if it is being caused by the code I have no idea how.

1 comment



May the fourth be with you! My friend and I would like to share our nerdy addiction with starwars!

Feel free to edit it, and like... KYLO REN, WHY?

0 comments


I've been doing some SPLORE'ing and set up a list of Favorites - now I'd sort of like to have a look at the cartridge files .. but try as I might I can't work out where PICO8 is storing my Favourited carts .. its not in ~/Library/Application Support, like I thought it might be .. is there somewhere else to look?

2
4 comments


Hi,

I can't seem to get SPD to decrement with a right-click using my MacbookPro trackpad - call me stupid, but isn't CTRL-Click supposed to simulate a right-click? This is borked, it seems .. or I'm stupid. Can someone enlighten me?

4 comments


Copying and pasting code in the editor results in the pasted code having a space added at the end of each line. Also, spaces at the end of lines count for a token. These two bugs together make it frustrating to reuse code.

2 comments


Hi there,

In my up-to-date standalone PICO-8, my score display works great; however, in the web player in the BBS, the score displays as something not-rounded and weird like 1000.232823. Is there a difference in how integers are handled?

19 comments


Hi!

I'm looking very much forward to getting my PocketCHIP hardware, with PICO8 built-in .. and one of the things I'll be doing with the PocketCHIP is using it as the basis of a MIDI processor system.

So I was wondering - if we get PICO8 on PocketCHIP, would it be possible to request a feature for a new version of PICO8 in the future: MIDI I/O support?

This would be awesome! :)

1
5 comments


Cart #20139 | 2016-05-04 | Code ▽ | Embed ▽ | No License
5


demo

5
1 comment


Cart #20136 | 2016-05-04 | Code ▽ | Embed ▽ | No License
22

                    [](http://www.robysoft.net/kidorion_box_600.png)

Kid Orion is a short, twitchy, 5-level space exploration game inspired by Lunar Lander and Solar Jetman. Find the landing pad to advance levels, but don't run out of fuel or health! Beware the Space Ram! Features music by Mark DeNardo. Excellent faux box art by Jacob Smiley.

Controls:

Left and Right Arrows: Tilt Ship

Z: Fire Cannon (once obtained)

Comments welcome! Post your score if you win! I make other games and weird stuff at ROBYSOFT

22
3 comments


Cart #20134 | 2016-05-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
19

How To Play

  • X to Shoot Stuff
  • Arrow Keys to move and jump
  • Fire at health crates to turn them into ammo

Description
The pollen wars are in full effect and it's up to you to destroy the robots that seek to eradicate all pollen from your planet.

Shoot Stuff is a small arcade game that can be completed in a single sitting. This was my first Pico-8 game and I had a blast making it. Everything about this game was inspired by the Pico community and all the awesome things you guys are making.

Acknowledgements:

[ Continue Reading.. ]

19
9 comments


https://atom.io/packages/language-pico8

I based this extremely heavily on someone's Lua highlighter, but there's a few nifty features. It'll only highlight lua code in the lua section, and it displays stuff in the gfx section as pictures.

3
0 comments


If you're looking for a complete portable PICO-8 solution, good news! PICO-8 is going to ship pre-installed on Next Thing Co.'s upcoming PocketC.H.I.P. -- a complete portable mini-computer with built-in storage, wifi, keyboard, battery, touchscreen and everything else PICO-8 needs! The last few months, I've been working closely with the team at Next Thing Co. to create "PICO-8 C" -- a fully functioning and compatible edition designed to integrate nicely with NTC's hardware and software. It will be available to Kickstarter backers, or you can also pre-order one for just $49 bucks.

You can read more about the PocketC.H.I.P. over at getchip.com

[ Continue Reading.. ]

7
42 comments


According to this website, the PocketCHIP is going to be shipping with PICO-8. Zep, do you have any comments on this? Will PocketCHIP owners be getting updates?

11 comments


For my first work in progress, a colourful little demo/scroller. No music yet, and it doesn't have much to say.

Cart #20111 | 2016-05-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
0 comments


Cart #20108 | 2016-05-02 | Embed ▽ | No License

0 comments


Cart #20101 | 2016-05-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


Arrow keys to move the circle
Z key to stamp down a circle
wahoo

2
1 comment




Top    Load More Posts ->