Log In  

Cart #46703 | 2017-11-25 | Code ▽ | Embed ▽ | No License
3

A more complete version of this game is available here: https://www.lexaloffle.com/bbs/?tid=30330
They are separated projects because I consider them to be two different games, but if that's spammy I can get rid of this one. I don't want to rock the boat.

This is my first project in Pico-8. It's not amazing, but it works and that's good enough for me.

Collect the keys and avoid cutting the chickens.

Code, art and sound by me.

P#46704 2017-11-25 16:25 ( Edited 2017-11-27 19:42)

simple but nice, even though I'd recommand going back to the title screen rather than stopping the cartridge when uploaded on the BBS (as there is no way to use the console on the webcarts of pico).

Other than that, it is pretty looking.

Code wise I guess there can be improvements done to ensure a better readability but since the mechanics are quite simple I wouldn't bother, however you have hardcoded your chickens (hard to pull-out sentence) to have exactly three, there may be a more flexible way to do this (not saying you should do it in this case, just know that if you plan to make other games, flexible ways do exist).

However great job on completing your first pico-8 game. I enjoyed it, kinda has this "game and watch" feel to it but with better graphics.

P#46705 2017-11-25 16:50 ( Edited 2017-11-25 21:50)

Hey! Thank you for your input. I've been working on an improved version of this that I'll put up sometime soon.

I wanted to ask you about what you mean about flexible chickens. Are there any resources you can point me to that would help me figure that out? That would be very helpful to know.

P#46735 2017-11-27 02:54 ( Edited 2017-11-27 07:54)

By that I mean instead of using something like

--things for chicken 1
c1d=0
c1x=8
c1y=64
--things for chicken 2
c2d=0
c2x=8
c2y=64
--things for chicken 3
c3d=0
c3x=8
c3y=64

--do stufff for chicken 1
--do stufff for chicken 2
--do stufff for chicken 3

maybe something like

c={} --container for chickens
add(c,{d=0,x=8,y=64})
add(c,{d=0,x=8,y=64})
add(c,{d=0,x=8,y=64})

--for each element in c (aka for each chicken) do stuff
--c[1].d I think would retrun the first chicken d value, aka 0

Which would let you add a chicken or remove one with a single line of code.

or there may be other ways too, but basically, the idea is to make it so you write less code long term and you can modify it easily.

I don't know how you currently manage exactly your chicken currently so I cannot help more than that.

P#46745 2017-11-27 13:35 ( Edited 2017-11-27 18:35)

Thank you for the advice! I will be looking into that :)

P#46746 2017-11-27 13:43 ( Edited 2017-11-27 18:43)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-12-09 18:49:03 | 0.007s | Q:19