This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-17 21:47:23

User52
New Scratcher
Registered: 2010-11-11
Posts: 4

Pokemon Game

Hey guys. I'm new here but I'm getting very good at coding. I'm so modest lol. Anyway I'm making a Pokemon game I've done most of the sprites and animations but I need help with damage calculations (the advanced calculations from the real game)

More about that here: http://www.serebii.net/games/damage.shtml

What happens is the damage doesn't calculate or send to the opponents HP properly.

Theres mine.

http://img96.imageshack.us/f/damageh.png/

Any problems?

In the over-world the sprite takes 2 steps at a time. I what him to take one if you tap the key and then the other if you tap it again.

So, any help?

Offline

 

#2 2011-04-17 23:48:49

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Pokemon Game

I prefer this site for the formulas in pokemon
http://www.smogon.com/dp/articles/damage_formula

If you look at the project in my signature, collab monsters you can see the proper formulas (without stab and some other modifiers).

Collab Monsters, is actually more or less a pokemon clone with unique monsters, you can catch and train pokemon, learn new moves, level up, ect.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#3 2011-04-18 10:05:28

User52
New Scratcher
Registered: 2010-11-11
Posts: 4

Re: Pokemon Game

Um, where's the calculations? Pretty cool, thought. I'll make my own engine. Any help with the over-world? Oh is there any individual grass sprites ripped from the game.

Offline

 

#4 2011-04-18 13:32:21

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Pokemon Game

Oh sorry, I forgot to say where the calculations are. Look at the "moves" sprite and all the scripts for attacks are located there.

Heres a pic. http://i.imgur.com/2dPK1.gif

Not sure if this is 100% accurate in the case of the modifiers but in any case its pretty close and does a good job with damage.

Just as a tip I'll tell you what I think you need to do and in what order.

1. Basic battle engine with complete forumla with stats n stuff
2. Make it so there can be several moves you can use
3. Make it so that you can switch monsters
4. Make items
5. Leveling up
6. Whatever else left to do for the battle engine
7. Overworld, maps
8. Visuals

I know doing it this way may be harder because you are leaving the easiest parts for last but I think you will have more success if you do it this way. I am also making my own realistic pokemon game  smile

Last edited by archmage (2011-04-18 13:36:22)


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#5 2011-04-26 14:54:21

User52
New Scratcher
Registered: 2010-11-11
Posts: 4

Re: Pokemon Game

hanks for the help. you wanna make one with me? I do good sprites and such and even have a basic shiny pokemon engine.

Offline

 

#6 2011-04-27 11:14:59

gearbot
Scratcher
Registered: 2010-12-01
Posts: 2

Re: Pokemon Game

if you need sprites go to http://www.arkeis.com/animatedsprites.html

Offline

 

#7 2011-05-02 21:25:19

gummyyummybub
Scratcher
Registered: 2011-05-02
Posts: 2

Re: Pokemon Game

cool cant wait

Offline

 

#8 2011-05-02 21:54:15

ninjaaa
Scratcher
Registered: 2011-05-01
Posts: 63

Re: Pokemon Game

Cool  wink

Offline

 

Board footer