Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

pramirez351

3
Posts
8
Following
A member registered Dec 31, 2017

Creator of

Recent community posts

I would LOVE to see the un-obfuscaded code for this. I've been meaning to make a game like this (psudo 3-D racing) for a while and this looks fantastic

Am I doing this right?

--rythm circle by pedro ramirez
--5/19/19
//initiating variables that //control the game states //(whether the game
//is running, high score
//the radius and color of the //circle, current points and
//the sound your input makes)
highscore=0
function _init()
    radius=63
    circcolor=0
 points=0
 x=64
 running=true
 sound=1
end

function _draw()
 //restart by calling the init
 //function
 if(btnp(🅾️))then
  _init()
 end
 //if you dont have a game  //over screen
 if(running==true)then
  //clear screen but use   //the opposite color the of   //the circle to avoid matching
  //colors and an invisible circle
  cls(circcolor+7)
  //print the points and high score
  print(points,1,1,circcolor)
  print(highscore,1,10,circcolor)
  //if user presses x then...
  if(btnp(❎))then
   //if the radius is between 2 and 10
   if(radius > 2 and radius < 10)then
    //there's only 4 keys i used
    //so it needs to reset after     //4 times you've pressed it
    if (sound < 5) then
        sound += 1
    else
     sound = 2
    end
    //increment the points, color
    //of the circle, reset
    //the radius of the circle,
    //play the sound in the key
    //you are in and loop the song
    //(by playing it again)
    points += 1
    circcolor += 1
    radius = 63
    sfx(sound)
    music(1)
   else
    //if you pressed the x key
    //and it wasn't in that range
    //then here's the game over     //condition. first set the
    //high score to the current
    //points if highscore is     //less than points
    if (highscore < points) then
        highscore = points
    end
    //end the game
    running = false       end
  end
 
 //draw the circle in green if
 //its between radius 10 to 2
 //so people kinda know
 //when they're supposed to know
 //when to press the button
 if (radius > 2 and radius < 10)then
     circ(x,x,radius,11)
 else
     //at all other radii the color
     //is set by the iterator
     circ(x,x,radius,circcolor)
 end
 //if radius is smaller than 2
 //you lose the game
 if(radius > 2)then
     radius = radius - 1
 elseif (radius == 2)then
     running = false
 end
 
 else
 //if you get game over,  //clear the screen and display
 //the message on how to restart
 cls(circcolor + 1)
 print("play again? press 🅾️", x/3,x,c)
 end
end

I loved this game. Actually ingenious puzzle design. I had a great time-- especially on the second time around. Very evocative of old school NES games. Very intuitive and, personally, I find it aesthetically pleasing. The engrish is apparent but nothing that will kill anyone. I've gotten both 2 out of three endings so, hopefully someone can help find how to get the A ending