• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Ekans Game!

Resource Ekans Game! 1.0.0

Swdfm

Game Developer
Member
Joined
Sep 3, 2018
Posts
49
Swdfm submitted a new resource:

Ekans Game! - The classic snake game, but with a Pokémon twist!

Anyone remember the classic snake game from Nokia phones?
No? Well, look it up, zoomer!
Anyway, here is a Pokémon twist on the game that I made in 2020 and remade for v21, featuring Ekans, Seviper, Silicobra, Serperior and yes, even Onix!
Just download the file, and stick them in the game folder

Use the script:
pbEkansGame
To call the game

Enjoy!
Swdfm

Read more about this resource...
 
it's possible to give a rewards after player make a highscore in that game?
example,
if player reach a 2300 score, they'll get a masterball.
 
it's possible to give a rewards after player make a highscore in that game?
example,
if player reach a 2300 score, they'll get a masterball.
Wow, the point based gameplay with rewards is becoming more and more interesting.
 
I get a NoMethodError trying to play on any game type but the default. Also I can't seem to choose any Pokemon but Ekans.

I second the idea of adding a way to reward the player with items based on their high score.
Can you send me the error, please? I tested it on every game type, and had no errors

Yes, it is definitely possible to add rewards upon hitting a certain score. This would be done in the section where the score is added to the hiscores upon losing

The reason you cannot play with anything other than Ekans is because by default, all other characters are unlocked if you see them in the Pokedex. This can be changed by editing the Characters Page
 
Hello, I received this report when I tried to change the gameplay style:
=================

[2024-09-19 17:46:11 +0200]
[Pokémon Essentials version 21.1]
[v21 Hotfixes 1.0.1]
[v21.1 Hotfixes 1.0.9]
[EBDX v1.4.7.1 (E21)]

Script error in event 6 (coords 13,12), map 2 (Test)
Exception: NoMethodError
Message: undefined method `quot' for 12:Integer

***Full script:
pbEkansGame

Backtrace:
[Ekans Game] Ekans - Field.rb:111:in `interpret_metal_array'
[Ekans Game] Ekans - Field.rb:98:in `block in compile_metal'
[Ekans Game] Ekans - Field.rb:97:in `each'
[Ekans Game] Ekans - Field.rb:97:in `compile_metal'
[Ekans Game] Ekans - Data.rb:48:in `set_up_board'
[Ekans Game] Ekans - Data.rb:24:in `start_new_game'
[Ekans Game] Ekans - Interface - Game.rb:21:in `initialize'
[Ekans Game] Ekans - Interface - Main.rb:101:in `new'
[Ekans Game] Ekans - Interface - Main.rb:101:in `do_action'
[Ekans Game] Ekans - Interface - Main.rb:69:in `block in main_loop'
 
The above post is the same error I receive.

Thanks for the info regarding other characters.
Thanks
I have realised the error
It is completely my fault. I used some custom code
Will patch it up, but in the meantime, it can be fixed by typing
Code:
Expand Collapse Copy
class Integer
 def quot(n)
    return (self / n).floor
  end
 
  def rem(m)
    q = quot(m)
    return [q, self - m * q]
 end
end
anywhere
 
Last edited:
A noob question, Is there some way to store the score of one play at some variable to use later?, maybe in some event.
 
A noob question, Is there some way to store the score of one play at some variable to use later?, maybe in some event.
Yes, that can be done at the stage where you lose the game and it stores it in the hiscores
 
I love this plugin so far! quick question though. I want to make it to where you have to have the Coin Case to access it at the Game Corner. Where in the code do I put this:

def pbEkansGame(difficulty = 1)
if !$bag.has?(:COINCASE)
pbMessage(_INTL("It's a Slot Machine."))
elsif $player.coins == 0
pbMessage(_INTL("You don't have any Coins to play!"))
elsif $player.coins == Settings::MAX_COINS
pbMessage(_INTL("Your Coin Case is full!"))
else
pbFadeOutIn do
scene = EkansGameScene.new
screen = EkansGame.new(scene)
screen.pbStartScreen(difficulty)
end
end
end

Thanks in advance!
 
I love this plugin so far! quick question though. I want to make it to where you have to have the Coin Case to access it at the Game Corner. Where in the code do I put this:

def pbEkansGame(difficulty = 1)
if !$bag.has?(:COINCASE)
pbMessage(_INTL("It's a Slot Machine."))
elsif $player.coins == 0
pbMessage(_INTL("You don't have any Coins to play!"))
elsif $player.coins == Settings::MAX_COINS
pbMessage(_INTL("Your Coin Case is full!"))
else
pbFadeOutIn do
scene = EkansGameScene.new
screen = EkansGame.new(scene)
screen.pbStartScreen(difficulty)
end
end
end

Thanks in advance!
Sorry, I only just saw this

Would you not put it anywhere in a plugin, or in a script page above Main?
 
Back
Top