Log In  

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

Hi everyone,

I am writing, for pure fun, a small shoot'em'up.
I would like to do things the "right way".

What tutorials / readings do you suggest to implement main topics:
ship movement / projectile & enemy movement?

I've already implemented a very basic version of movement simply adding to x or y if the player is pressing a button but then I thought...
I need also acceleration in order to enable power ups...
Same problem will be with enemy waves (acceleration, rotation, specular patterns).

How should I proceed?

Is there any book to read or tutorial or article about those topics?

Really thanks :)

4 comments


Hi everyone!

I would like to be able to use my games from Android browser.

I know that this is possible because I saw a few games doing it.

I am using latest PICO-8 version but, if I export to html, this is not working:
http://www.davidenastri.it/engioi

Thanks for your time and help :)

6 comments


Hello,

Apologies, I am very new to this.

I'm making an old-school dungeon crawler, and I want to store info for each floor of the dungeon in a table, including intro text, player starting x,y coordinates and facing direction, etc. Then I would initialize each new floor with a start_floor(n) function where n = floor level.

So I have something like this:

floor1 = {
  text = "you descend the stairs."
  spawn = {x = 8, y = 6, dir = 1}
}

function start_floor(n)
  local fl = "floor"..n
  pl.x, pl.y, pl.dir = fl.spawn.x, fl.spawn.y, fl.spawn.dir
end

But it just doesn't like using the concatenated local "fl" -- if I switch that from "floor"..n to the correct fixed value (floor1) then it pulls everything from the table, no problem. But when it has to concatenate the floor number n, it the runtime error, "attempt to index local 'fl' (a string value)"

What am I missing, or misunderstanding? Any suggestions wold be greatly appreciated!

Thanks,
daggermoor

3 comments


Cart #42505 | 2017-07-15 | Code ▽ | Embed ▽ | No License
1

A story thing I am still working on - it's far from done, and may never be a real game~

1
1 comment


Cart #42859 | 2017-07-28 | Code ▽ | Embed ▽ | No License
19

THE BALLZ ARE LAVA!
"Nobody knows why - it's just always been this way. Our chance of survival is to absorb all the Green Orbs floating around, while avoiding certain death by touching the Lava - all before the time runs out!"

My entry to the #FC_JAM that came 2nd Place, where the theme was "Union".

For the best experience, download or Click here to play on Itch.io, coz it can hide the mouse cursor!

[ Continue Reading.. ]

19
5 comments


Cart #42499 | 2017-07-15 | Code ▽ | Embed ▽ | No License
3


My first cartridge!

I might use it before some other cartridge I make in the future, though it's a little too long, I probably gonna make a simple version for that. The code is unnecessarily verbose, but I like it that way. It's a self-contained function of roughly 325 tokens and kinda heavy on sprites as well.

3
0 comments


Cart #42491 | 2017-07-15 | Code ▽ | Embed ▽ | No License
5


This is a little game I made for the Fantasy Console Game Jam.
It stars Gerald the Glue Bottle, who must unite the panicking creatures to rescue them.
Score as many points as possible, and try to get a combo!
Here's a link to the itch.io page:
https://jclermont.itch.io/dungeon-of-unity

1
0 comments


Cart #42491 | 2017-07-15 | Code ▽ | Embed ▽ | No License
5


This is a little game I made for the Fantasy Console Game Jam.
It stars Gerald the Glue Bottle, who must unite the panicking creatures to rescue them.
Score as many points as possible, and try to get a combo!
Here's a link to the itch.io page:
https://jclermont.itch.io/dungeon-of-unity

5
2 comments


Cart #42480 | 2017-07-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

So I went a little crazy after doing my contribution for the invent a title screen thread. I thought it would be nice if the two Gs drew at the same time and I came to the conclusion (in a huge leap) that the best way of doing it would be to some kind of co-operative multitasking co-routine system.

It doubled the token count from 200ish to 400ish but I'me pretty happy with it and I think it works well as a demonstration of the power of closures and co-routines.

EDIT: So the library is based around additive drawing - there is no clearing of screen state between each frame so everything builds up. My next plan is to build a "display list" system when you can attach co-routines to properties of each display item to animate them - more flexible than this current system.

4
0 comments


Cart #42476 | 2017-07-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Reference to game by whingeford and johnnyri.
First game in Pico-8. This game is based on the story of Exodus in Bible. Hope you enjoy!

1
0 comments


If you copy "\128" to the clipboard, and then paste it back, you get a solid block character instead of the 4-character escape sequence. Somewhere in the paste handler, it's actually converting the escape sequence.

Oddly, it only does this if the value is 128 or higher. Pasting "\127" works fine.

Also, it doesn't happen with hex escape codes, so "\x80" works fine.


(As an aside, the bug where you can't use the Del key at the first character of the buffer is still there too...)

0 comments



I needed a filter for something on another project, so I implemented the very cool 1 euro filter from:
http://cristal.univ-lille.fr/~casiez/1euro/

The parameters are tuned in this gif to make it very obvious, but its controllable.

The code for the filter is at the top of the cart, if you want to see the source. It has a :filter() method that can filter the incoming noisy value.

In the cart: if you click it draws lines. Green line is the input signal, yellow is the filtered signal.

Based on stdlib.p8, built with @stevelavieties.

2
0 comments



My first Pico-8 Game. Spent the first week learning Lua and Pico-8, then I spent the second week refactoring EVERYTHING and adding a touch of polish.

Hope everyone enjoys it.

0 comments


Cart #42526 | 2017-07-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
15

I got a lot of comments about my smooth camera transitions in a recent WIP that I posted. I thought I'd just go ahead and share how I did it with a code sample cart. I'm posting the important function below, but feel free to look at the cart's code to see how it's implemented. I'm not a wizard, and I know it could probably be simplified somehow, so feel free to use and improve as you see fit. If you do improve it, let me know here so I can update the code for others to see!

function smooth_cam(spd)
 cam_x+=(flr(p.x/128)*128-cam_x)*spd
 cam_y+=(flr(p.y/128)*128-cam_y)*spd
 if (abs(cam_x-flr(p.x/128)*128)<0.5) cam_x=flr(p.x/128)*128
 if (abs(cam_y-flr(p.y/128)*128)<0.5) cam_y=flr(p.y/128)*128
 camera(cam_x,cam_y)
end

[ Continue Reading.. ]

15
2 comments


It feels eerily similar.
It even uses the term "Fantasy Game Console". It looks like it has more features than Pico-8, but for less.

6 comments


Cart #42450 | 2017-07-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Build blocks by clicking on the screen and reach the goal in each level. If you lose all your lives, then you die and will have to restart from the first level. Good luck!!!!

Press the arrow keys to move.
Press Z to reset the level.
Click on the screen to place the blocks.

2
1 comment


Cart #42744 | 2017-07-24 | Code ▽ | Embed ▽ | No License
97

Cart #42720 | 2017-07-22 | Code ▽ | Embed ▽ | No License
97

Cart #42445 | 2017-07-13 | Code ▽ | Embed ▽ | No License
97

So after a while of not making any games, PICO-8 has made me productive again! Here's a little arcade game called NETTY. Should be pretty easy to understand, but there's more detailed instructions on the itch page: https://tesselode.itch.io/netty

I'm planning on adding a couple things in future updates. Let me know what you think?

97
28 comments


Cart #42441 | 2017-07-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

This is a port of http://maximecb.github.io/Turing-Drawings/ to PICO-8. I've had a lot of fun discovering interesting drawings on that site, and for some reason I was inspired this morning to make a PICO-8 version.

You can share the drawings you discover by writing down the code on the second page of the menu -- press the up arrow to see it. You can load them again from that same page (or just play around with the code) by holding X.

Have fun, and feel free to post anything interesting you find here in the thread!

4
1 comment


Cart #42488 | 2017-07-14 | Code ▽ | Embed ▽ | No License
4

Made this for the Fantasy console jam. Theme: Unity (https://itch.io/jam/fantasy-console-game-jam-1/)

Help a distressed system regain their independence by unifying the planets! This is be done by protecting them from attacks and helping them build a well-rounded planet with housing, defenses, business/industry, trees, communication towers, etc by distributing buildings between planets.

I still have a little more I'd like to do with this game, but it's in a fully playable/finished state!

Controls:

Z + up - Beam up a structure

Z+down - Beam down a structure

Z+ left or right - Select structure in your inventory

X - shoot

Fly upwards to leave planet!

4
2 comments


Is it possible to create a cutscene or animated introduction?

1
3 comments




Top    Load More Posts ->