Log In  


itch io link

Cart #runomonia-1 | 2023-02-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

What is This?

The cat has eaten a magic pill, giving him Runomonia - The obsession with running. The cat needs to get the MAGIC BUBBLE in order to get rid of Runomonia.
But the bad enemies have been ensuring that the MAGIC BUBBLE will never be taken!
What will he do? Will he get help from you?
Jump and Bop enemies, and if you are courageous enough, you shalt help the poor cat.

How To Play?

You move automatically. Press X to Jump. Kill on enemies by hitting them on their head, or avoid them.

Collect coins and don't die!

Behind The Scenes

This game was made in Pico-8 by D3V? under 1 week. The music was made by Gruber Music, and was the, "Demented Mario" tune from his Pico Tunes Vol.1 pack. The inspiration for the game was Yeah Bunny and its sequel, by Adrian Zarzycki.

10


2

Nice work with a single concept.

One major drawback: the game lags a lot - looking that code, the ani_map function is causing a massive cpu spike every 0.5s.

CPU "virtual cpu" cannot do 128*64 calls to mget per frame (at least, with a running game on top!)

Suggest to scan the map for "active tiles" at init and then use that table to animate tiles.

Something like:

anim_tiles={}
function _init()
 ...
 for x=0,127 do
  for y=0,63 do
   local tle=mget(x,y)
   if tle==22 or tle==23 then
    add(anim_tiles,{x=x,y=y})
   end
  end
 end
end

function ani_map()
 tani+=1
 if (tani<15) return
 tani=0
 -- iterate only over animated tiles!
 for tile in all(anim_tiles) do
  local x,y=tile.x,tile.y
  local id=mget(x,y)
  if id==22 then
   id+=1
  else
   id-=1
  end
  mset(x,y,id)
 end
end

@freds72, thanks for giving the feedback! I have now fixed the issue.


Runs a lot better now, but IMO would be even nicer if you used the _update60() method instead of the standard _update() method. Reaction-based games like this benefit hugely from running at 60fps. You may need to adjust your physics to account for the increased framerate though.


Curremania would be the obsession with running... Unless you were going for a pneumonia pun


@VgBlade, I know that "Runomonia" isn't the proper term, but I purely named it, "Runomonia" so that I could add a cat in the, "OMO" part.


meep.



[Please log in to post a comment]