• 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.
Ekans Game!

Resource Ekans Game! 1.0.0

Swdfm

Game Developer
Member
Joined
Sep 3, 2018
Posts
32
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...
 

ardicoozer

Cooltrainer
Member
Joined
Sep 29, 2020
Posts
173
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.
 

Thomwell

Trainer
Member
Joined
Mar 8, 2024
Posts
63
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.
 

kingdomharms

Novice
Member
Joined
Aug 29, 2023
Posts
33
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.
 

Swdfm

Game Developer
Member
Joined
Sep 3, 2018
Posts
32
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
 

ClessioTV

Elite Trainer
Member
Joined
Sep 24, 2022
Posts
270
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'
 

kingdomharms

Novice
Member
Joined
Aug 29, 2023
Posts
33
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
The above post is the same error I receive.

Thanks for the info regarding other characters.
 

Swdfm

Game Developer
Member
Joined
Sep 3, 2018
Posts
32
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:

Luck1973

Novice
Member
Joined
Jan 20, 2021
Posts
18
A noob question, Is there some way to store the score of one play at some variable to use later?, maybe in some event.
 

Swdfm

Game Developer
Member
Joined
Sep 3, 2018
Posts
32
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
 
Back
Top