Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Arcthunder Pixel Movement - Physics Editor, Editor available! Now you can edit the whole map collisions
Khas
post Jul 22 2011, 05:40 AM
Post #1



Group Icon

Group: Member
Posts: 3
Type: Scripter
RM Skill: Masterful




Arcthunder Pixel Movement
by Khas Arcthunder


Intro:
Pixel Movement is a script that converts the movement of all game characters by Tiles to Pixels. The Arcthunder Pixel Movement was developed to enhance the integration between the characters and the map, improving the collision either.

Features:
- Pixel steps
- Plug and Play
- Advanced collision system
- Lag-free
- Work with RMVX counters
- Loading system (Khas Physics)
- Changes the movement of the player, the map events and the vehicles
- You may set an unique collision for each event
- Much more…

How to use:
Instructions on demo.

Screenshot:


Video:
http://www.youtube.com/watch?v=8RUANqmxQ2k


Download:
Download .txt attached or...
You can download the demo, the editor and the readme file from mediafire.com

How does the collision work?
Consider the default settings: the tiles are divided by 4. To understand how the system works, you must know that there are a new coordinates system: the (PX, PY) system. The PX coordinate is 4 times bigger than the default X, and so the PY does. Example:
5 PX = 1.25 X
8 PY = 2 Y
31 PX = 7.75 X
Now, considering an simple event, there are two cases of collision:

- The "priority type" of the event is 1 or 3 (the player can pass through the event):
The trigger will be activated when the following conditions occur:
a. The difference between the player's PX and the event's PX is equal or smaller than the event's collision constant?
b. The difference between the player's PY and the event's PY is equal or smaller than the event's collision constant?
If this two conditions happen, the event will be triggered! In practical instances:
[collision 0] will make the collision happen when the player is exactly above the event.
[collision 4] will make the collision happen as the default system of the RMVX: 1 tile next to the event.
Conclusions: Inserting values between 0 and 4 on the [collision X] command will make the collision happen between 0 and 1 tile.

- The "priority type" of the event is 2 (the player can not pass through the event):
The event acts as a obstacle to the player. The player can not pass when the following conditions occur:
a. The difference between the player's PX and the event's PX is equal or smaller than the event's collision constant?
b. The difference between the player's PY and the event's PY is equal or smaller than the event's collision constant?
Note that the conditions are the same, but here the event acts as a obstacle, so the player can not pass through the event. In practical instances:
[collision 0] means that the player can walk around the event, but the player can't step exactly above the event!
[collision 1] defines a little range of collision, the player can't pass through the middle of the event
[collision 3] defines a good collision value for characters
[collision 4] means that the player can not walk through any part of the event!
Conclusions: In this case, [collision X] defines the size of the event!
Hint: for big events, you may set values bigger than 4. You can use it with big trees for example.

Well, that's it. It's a little complicated, you may test different values to understand how it works.
I tried to explain in the best way I can. Sorry for any mistake, I'm brazilian as you know xD

Arcthunder Physics Editor:
Now you can edit the "Khas Physics.rgss2a" file.
The instructions and the editor can be downloaded at mediafire.com
Compare the screenshot and the video bellow:



http://www.youtube.com/watch?v=JCIA7o_ZGmI


The editor is a little complex, it's only recommended for advanced users.
If you are using simple tilesets (square passages), you may not use the editor.

Credits:
By Khas Arcthunder, please read the Terms of Use.

This post has been edited by Khas: Jul 26 2011, 08:59 AM
Attached File(s)
Attached File  _US__Arcthunder_Pixel_Movement.txt ( 27.04K ) Number of downloads: 64
 
Go to the top of the page
 
+Quote Post
   
Athrun77
post Jul 24 2011, 02:23 PM
Post #2


Level 1
Group Icon

Group: Member
Posts: 11
Type: None
RM Skill: Undisclosed




This is beautiful.
Great work.
Go to the top of the page
 
+Quote Post
   
Ratty524
post Jul 24 2011, 06:52 PM
Post #3


Level NINE-THOUSAAAAND!
Group Icon

Group: Local Mod
Posts: 1,633
Type: Artist
RM Skill: Skilled
Rev Points: 5




Works nicely. When I try your demo, however, I get an error that says "RGSS200E.dll could not be found". Strange...


__________________________
The userbar links to the right thread this time. :P



Click here for other crap

QUOTE (gamezerstudios @ Jan 18 2010, 03:29 AM) *
i don't like blogs last time i got one my desktop blew up!

ROFL!!

Dragons and Eggs! Please click :3

Weird Dragon is weird.Pretty Dragon is pretty.
Midjet Dragon is a midget.Cool Dragon is cool.
Awesome Dragon is AWESOMEOkay Dragon is... Meh
UGLY DRAGON IS UGLY! >_<... Ok seriously WTF!?
Another Pretty DragonPrettier Dragon
WOAH BADASS!Woah... Same as before. >_>
Ooh it's a godly looking dragon!Ooh, it's a dragon prettier than the other two!
... Okay seriously what the hell is this thing?


thank you Holder for the card!


Feast your eyes on the failure!


Best Thread Ever Made
Go to the top of the page
 
+Quote Post
   
Khas
post Jul 25 2011, 06:20 AM
Post #4



Group Icon

Group: Member
Posts: 3
Type: Scripter
RM Skill: Masterful




Thanks =D

@Ratty524
The demo was made on the brazilian version of RMVX
So you may change the library in the Game.ini file
Library=RGSS200E.dll
Go to the top of the page
 
+Quote Post
   
Rukiri
post Jul 25 2011, 07:17 AM
Post #5


emerge -avt awesome! Wait... it brings me.... HERE?!
Group Icon

Group: Revolutionary
Posts: 1,722
Type: Scripter
RM Skill: Advanced




This is pretty cool.
Here's a snippet if anyone's using this for a abs.

CODE
degree = radtodeg(arctan2(character.py -enemy.py, enemy.px - character.px));


Dunno if rpg maker will make it work though, but this is what I've used in C++, Game Maker, and lua.


__________________________
Xeilsoft
- Follow your dreams to the very end..

Kits that I'm working on.
[Unity3D 4.0] LTTP/Minish Cap - I don't have time for custom gfx like what the pze folks are doing but I will try and work on some enhanced LTTP graphics.

Main PC
Core i7 3820 overclocked @ 4.8GHZ
Galaxy: Nvidia Geforce GTX 680 GDDR5 2GB
Asrock X79 Extreme9 w' creative sound
64GB corsair platinum @ 1600MHZ
Muchkin 128GB SSD(boot), OZKIN 2TB SSD, Western Digital GREEN 1TB HDD.
Rosewill Lightning 1000W PSU
OS: Funtoo Linux, Windows 8 (Virtual Machine)

iMac (March 2013)
3.4GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
16GB 1600MHz DDR3 SDRAM - 2X8GB
1TB Serial ATA Drive @ 7200 rpm
NVIDIA GeForce GTX 680MX 2GB GDDR5
Go to the top of the page
 
+Quote Post
   
Khas
post Jul 26 2011, 09:01 AM
Post #6



Group Icon

Group: Member
Posts: 3
Type: Scripter
RM Skill: Masterful




Now there's a editor for the Physics file!

@Rukiri
It's very simple to make an ABS, just check the difference between $game_player.px and $game_map.events[id].px, and so with the py coordinate.

Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 20th May 2013 - 10:53 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker