Log In  

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

Hello everyone, time to show you another project I just made last night : a stack-based Window Manager (WM), cleverfully named StackWM.

A WM is a program or library to manage windows, dispatch events/interactivity to them and draw them. THink of your Windows/Linux/Mac's windows. So yeah, that's totally overkill and eating most of your cart space but it was fun to do and it put me on the tracks for another unrelated project.

Sooo... What does the WM do?

  • Update/render events
  • Window render context :clipping and camera offsetting to limit the renderer to the window's area:
  • Focus or Global events : both aren't exclusive, you can manage both of them on one window.
  • Button/Buttonp events : global or focused (available only if the window is focused)
  • There is always one focused window. THere are helper functions to switch focus to another window.

What do I plan or think of adding to StackWM?

  • Easier customisation? (colors? booleans to set functionnalities like notitle, grabbable, resizable?)
  • Mouse support (emulated with pressing arrow keys and a button for click) and interaction support? (Click+grab on title -> grab window? CLick on close button : Close event?)

And here's a demo to show what I can do with StackWM. That's maybe a simple game but with time, better examples could be done. Have Fun!

[ Continue Reading.. ]

7
4 comments


I'm trying to delete this blogpost, but can't find any deletebutton. Is there no way to delete it?

Also, I'm having problems getting my profilepicture to load, as is just shows a brokenlink icon.

4 comments


On my system (OS X), F9 is Exposé and is captured by the OS before PICO-8 gets it. I've had this keybinding for years, and changing it would be a pain. Can I remap the "save video" key, or trigger it in some other way?

1
8 comments


Note both tables SHOULD be identical for all purposes but those of foreach().

13 comments


Blog post: http://yal.cc/introducing-hxpico8/
Repository: https://github.com/YellowAfterlife/hxpico8
Examples: https://github.com/YellowAfterlife/hxpico8xm

In short, this project permits to use Haxe programming language to create programs for PICO-8 (by transpiling Haxe into PICO-8's flavour of Lua).
This grants you classes, compile-time optimizations, constant and function inlining, and a whole bunch of other "syntactic sugar" features while keeping the output size reasonably small.
For example, this class compiles to this .p8.
Obviously, you can do more complex things with it too.

Have fun :)

6
2 comments


Cart #12242 | 2015-08-04 | Code ▽ | Embed ▽ | No License
32


This is a small demo that I've been showing on Twitter/Tumblr yesterday. Currently there isn't much going on other than concept demonstration (and most of "engine" code needed). The code is laid out to allow taking it in various directions from here.
Source code

32
7 comments


Cart #12235 | 2015-08-04 | Code ▽ | Embed ▽ | No License


Local multiplayer! Two cowboy dudes are shuffling around the saloon and get into a tense situation somehow. What should they do? Shoot? Hide? Nothing?

Button 1 (P1: Z, P2: Tab) fires, button 2 (P1: X, P2: Q) hides. Make your decision quickly, because doing nothing is very risky!

I'm calling this finished because I mayyyy at some point want to spruce it up, but I don't want to get anyone's hopes up, least of all my own.

0 comments


Cart #12231 | 2015-08-04 | Embed ▽ | No License


Just making a switch to turn audio on and off.
Does anyone have a suggestion on how to make a switch that turns on off on off etc...
My just go on and off once.
Thank you.

1 comment


Cart #12274 | 2015-08-04 | Code ▽ | Embed ▽ | No License
15


Updated to 1.01

Beware! Aliens have invaded earth! Of course - we are the aliens...

[i]On behalf of High Commander XL'ARGH - you have been tasked to fetch the puny humans for our gruesome experiments etc. The mothership is too valuable to risk for close quarters operations. Therefore we dispatch you - our great minion T'URD with smaller crafts to capture specimens with your tractor beam and carry them upwards into thinner atmosphere so that they can be collected by the mothership. Beware that the ship will lose movement speed when you activate the tractor beam with holding down your big ACTION BUTTON. Good luck, and break a tentacle!

[ Continue Reading.. ]

15
9 comments


Cart #12222 | 2015-08-03 | Embed ▽ | No License

0 comments


OK here's an idea for a little pico8 gamejam.

48 hours over a weekend.

Day 1. Come up with a game, (it should have the basic mechanics and gameplay but doesn't need to be polished, leave some space for day 2: 4096 token limit!!!) and submit it here.

Day 2. It gets given to another jammer at random to complete and polish.

It'll be a good way to see how other people work and forces you to do both the game design and the polishing/juicing sides.

What do you think?

2
2 comments


Cart #12194 | 2015-08-03 | Code ▽ | Embed ▽ | No License

I was going to make a game, but I've been putting it off a lot so I figured I'd share the sprites I was going to use instead.

Besides that I'm pretty new to LUA.

I'll probably start with something less ambitious.

0 comments


So I've made a few carts now, and am enjoying the hell out of it. Primarily for the joy of just building things, but also for the implicit little bit of roleplaying involved: I'm not just programming a game, I'm programming a game for a fictional console from another universe, from another time. I'm not just me, really; I'm the company that would have existed to be producing these things. I'm some scrappy no-budget third-party game dev concern from alternate universe 198X.

And a game company needs a brand identity.

And so: I came up with a name and drew a logo, and wrote up a little basically self-contained function to do a quick splash screen render, using a single 2*2 sprite:

Cart #12182 | 2015-08-02 | Code ▽ | Embed ▽ | No License
64

[ Continue Reading.. ]

64
80 comments


This is a quick version of that game known as RHINO on the CBM PET. Googling has told me that this was written by Jeff Minter.

Still a lot to do but the basic gameplay works. Don't get trampled!

See how sausage is made: https://github.com/wstephenson/rhino

v0.6

  • Pincho Edition!

Cart #gomusahuyi-0 | 2020-01-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

v0.5

  • Add attract mode. Not very attractive yet
  • Implement lives. Extra life every 4 levels
  • Implement high score
  • Add game mode (easy/hard)

Cart #12324 | 2015-08-05 | Code ▽ | Embed ▽ | No License
3

[ Continue Reading.. ]

3
11 comments


Cart #12492 | 2015-08-09 | Code ▽ | Embed ▽ | No License

Update 8/9/2015

Added a lot to this, now that I had some more time.

-The dragon can now burn things with Z. He cannot move while burning, adding a little strategy. This whole little fire system took me over 2 hours to figure out how to do. Shameful really, but it all works beautifully and now I don't need to poke it. (I hope.)

-Burning snacks will leave gold pickups of random values behind. These show up as single pixel drawn pickups.

-Collecting gold will add to your gold amount.

-Flying over the hoard in the center will "deposit" the gold into your hoard. The hoard also updates it's graphical representation based on how much is in it(with cap on the amount of scaling to keep it sane).

-A few new sound effects. Snacks can now scream when burned, and the fire of course has a looping sound while it's hit area is active.

-Eaten enemies sometimes manage to scream before the dragon munches on them. I thought it was funny at 4 AM to make it random. Don't ask.

-Enemy ai is updated a bit in prep for later. Now in addition to random wandering, they also move closer to the hoard. I eventually plan to make them steal gold and attempt to run, adding to their gold amount when defeated, and potentially taking it off screen for good. For now they all just crowd into the middle eventually. The dragon says it's very convenient for eating them.

-Updated the print commands to set the color before printing. This fixes a bug adding the gold had created. Yay for saved drawing color commands.


original first post:

The cart title is a terrible pun, I know. No, I'm not sorry. More puns might, or might not, be on their way.

NOM ALL THE THINGS!

Well, currently only little silly people that walk around randomly and even sometimes straight into your belly. Not very bright really. Tasty though.

Ok, so it [i]might

[ Continue Reading.. ]

1 comment


Hi, I'm wondering if there is no way to download pico8 for free, I have to purchase voxatron to get pico8?, Thanks

And by the way, if we have to purchase it, then that's the wrong marketing estrategy, a tool with features for developing 2d retro games for everyone, millions of users would make their own games and twitt them , publish them, just my oppinion.

Thanks for your answers guys

1 comment


What will be the long-term view on publishing games made for Pico-8? Will developers be able to post them elsewhere? Will devs be able to charge for the games?

1
1 comment


Cart #12162 | 2015-08-01 | Code ▽ | Embed ▽ | No License
58

Quick little bit of silliness, inspired by the awkward little grand piano minigame/toy in that spooky mansion in Final Fantasy VII.

Use Z to toggle right hand, X to toggle higher chords/notes, arrow keys to play a chord or note.

Question: the thing I'd like to do with this is check to see if a sound is already playing on a given channel before I play another, so that e.g. btnp() doesn't keep retriggering a given note or chord every 4 frames if the player holds the button down instead of tapping. I'm guessing I'd have to peek() at a specific bit of memory, but I have no idea where!

58
8 comments


So after having a play with PICO for a while I've decided to sink my teeth in. I suspect I'm going to run out of tokens on this unless I get smart about how I implement enemy racers.

Cart #12156 | 2015-08-01 | Code ▽ | Embed ▽ | No License
5

Cursor keys to control the ship, final game will have 9 stages (currently it doesn't check for end of game).

8/1/2015 - So far I've been focusing on the momentum of the ship and movement of the ground.

Next tasks...
-- add engine jets to each side
-- add engine noise
-- change the colour of the grid when you change stages
-- check when you've reached the end of stage 9
-- add enemy ships to bump into
-- bullets
-- lasers
-- music

5
1 comment


running sqrt(0) will hang pico8, infinite loop I guess?
should just return 0

1 comment




Top    Load More Posts ->