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.

P#126150 2023-02-22 14:39 ( Edited 2023-02-23 10:27)

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
P#126164 2023-02-22 18:08 ( Edited 2023-02-22 18:10)

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

P#126202 2023-02-23 10:27

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.

P#126203 2023-02-23 10:36 ( Edited 2023-02-23 10:37)

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

P#126209 2023-02-23 15:29

@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.

P#126225 2023-02-24 04:51

meep.

P#139852 2024-01-09 01:30 ( Edited 2024-01-09 01:34)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 22:28:16 | 0.022s | Q:28