Log In  

0

Cart [#40628#] | Copy | Code | 2017-05-15 | Link
0

Hello,

this is a first try of a game in PICO 8/LUA.

I hope you guys "like" (there is not much to do here) it.

Just try to avoid the green pixels and try to survive.

(Maybe) Thanks for playing ;)

P#40629 2017-05-15 14:46

::

Hi there, that's a nice first try.
I've noticed that the player's starting direction never goes left due to this piece of code

player.dir = flr(rnd(3))

You can fix it by changing the 3 to a 4. The problem occurs because rnd x Returns a random number n, where 0 <= n < x
So the result will always be less than 3 in your code, meaning they'll never start moving towards the left.

I gave the game a couple of playthroughs http://i.imgur.com/Uw9BgS6.png and found that a good strategy was to either mash left+right, or up+down, or like in the screenshotted game keep mashing the direction to bump into the wall. You might want to disallow the use of the last two previously used directions to prevent this sort of strategy from working as it makes the game quite easy to do well in.

As for some suggestions you could also make the player's starting position random, add some sound effects and a looping track and change the "game over" text colour so it isn't lost among all the green dots.

I'd also recommend changing the blurb in the cartridge image https://www.lexaloffle.com/bbs/cposts/4/40628.p8.png
Currently it's set to

--0=up;1=right;2=bottom;3=left

PICO-8 takes the first two lines if they're commented and puts them there, so I'd recommend something like

--mine wars v0.1
--by goldwing studios

You can see the result here http://i.imgur.com/H9kj5GL.png

If you want to see the cartridge image before uploading you can use save minewar.p8.png and visit your carts directory.

P#40650 2017-05-16 05:17

::

That was surprisingly fun for such a simple concept. I dig it! I also like the pulsing circles upon death.

P#40658 2017-05-16 12:48

Log in to post a comment

user:
password:

New User | Account Help
:: New User
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2017-10-23 19:09 | 0.299s | 1572k | Q:19