Amaranth Games   Games   News   Order   Community   Help   Blog   Goodies   Updates   Guides Developers
Username:    Password:      Register now!
Game Genres
All Games
RPG
Adventure
SIM
Story
Cute
Game Kits
Amaranth Games (games only by us)
Newest Game
Featured Game
Love's Triumph
Love's Triumph
Popular Games
Report message:*
 

Scripting

Subject: Scripting
by AveyondFanNr1 on 2012/3/3 9:02:27

Hello, I am making a game in RMXP and I put some scripts in it, and the battle script I put is:


##########################################################################
#
# Sideview Battlers
#
# Ripped from Ccoa's Side View battle system, courtesy of Rhazdel
#
# Inspired by Lambchop's Aveyond Battle System
##########################################################################

class Game_Actor
  
#-----------------------------------------------------------------------
  # * Get Battle Screen X-Coordinate
  #------------------------------------------------------------------------
  
def screen_x
    
if self.index != nil
      pos 
$data_classes[self.class_id].position
        
return (self.index 20) + (pos 40) + 480
    
else
      return 
0
    end
  end
  
#------------------------------------------------------------------------
  # * Get Battle Screen Y-Coordinate
  #------------------------------------------------------------------------
  
def screen_y
    
return self.index 45 175
  end
end


I want to move the enemies position from the default like the one from aveyond.

Default:
http://img195.imageshack.us/img195/6483/dsaff.png

Aveyond's:
http://pc-games4free.com/images/stori ... s/3_1018_en_aveyond_1.jpg
http://www.sodaware.net/rsc/affil/aveyond/av-screen5.jpg


And I have another problem, when I make battles, in the beginning it keeps saying "Just testing things out." and I do not know how to remove it! Screenshot:
http://img140.imageshack.us/img140/5628/fdsadsa.png

And here's the copy of my project without the resources of it, except the scripts and battlers:
http://www.mediafire.com/?jjbh2as8r65x7x2

Thanks



Join our Newsletter!

RSS Feed

Coming Soon!

June, 2013

RPGs
Dragons Among Us
Edolie
Aveyond 4

Sandbox
Pixel Pygmies

Sim/Match 3
Butterfly Adventure

Kingdom Chat
Sargon > 05/25 04:49:51[Sargon] Bye bye
Aveyond Wiki
Click to Visit!
made by fans, for fans
Kingdom Map

(Laws)



(Forums)



(News)



(Art Gallery)



(Cottages)



(Guilds)



(Experiments)

Who's Online
47 user(s) are online (19 user(s) are browsing My Forum Entries)

Members: 0
Guests: 47

more...
About Us |  Sell Our Games |  Add Your Game to Our Site
©2007 Amaranth Games, LLC
Powered by Xoops