Gamestudio Links
Zorro Links
Newest Posts
How to continuing Zorro trading statistics after restarting VPS?
by Zheka
15 minutes 25 seconds ago
Entity Memory steigt ins Unendliche
by jcl
Today at 08:42
What are you working on?
by HellThunder
Today at 03:47
Strange behaviour
by alibaba
Yesterday at 22:58
Recoil + aftershock + proper bullet creation
by 3run
Yesterday at 20:21
How to do a windows update on vps?
by mcteilchen
Yesterday at 13:57
Some general questions
by easyX
Yesterday at 00:28
AUM Magazine
Latest Screens
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
Who's Online
14 registered (preacherX, jenGs, DMB, Lobo, firecrest, JoFo, sivan, Dbat, MasterQ32, 1 invisible), 480 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
byano, Tuguldur717, jmgrnt7, AGI, Materz
17831 Registered Users
Topic Options
Rate This Topic
#465319 - 04/17/17 18:42 Pixel Collision Example V2 : JRPG Basic Starter Template
EVO Offline
Junior Member

Registered: 02/09/13
Posts: 74
Loc: Maysville, Ga
Pixel Collision Example V2 : JRPG Basic Starter Template



I updated the original 2D pixel Collision template that I previously posted. It should now have the basic features for others to improve and be more usable as a simple foundation for a JRPG style game.

OVERVIEW :
Example displays Full 2D Pixel Collision and shows how large 2D levels can be created with a few layers of artwork.

UPDATE v2 :
Modified the 2d collision and fixed a few bugs.
There is now full movement at level edges and boundary limits (Camera will stop at level edges and allow player movement)

Extra Features :
* findPlayer(); //Function used to set the correct level positions for the level images and find the player in the level. (Used when loading a new level)

NOTE 1 : The player is not animated in this example and the level change code is in a while loop in the main function. Pressing Key 1 or 2 will instantly change 2D levels. It will be up to you how you wish to organize your code.
NOTE 2 : The collision settings are currently only set up for the small jrpg size player. Changing player size will require editing the players collision points that detect pixel collision.
NOTE 3 : When creating your own collision layers, make sure that there are no small spaces that the player can get wedged in. Otherwise the player could be pushed into and through the collision.

Download : JRPG Basic Starter Template

...


Edited by EVO (08/05/17 05:35)
Edit Reason: New Version Update
_________________________
Games / Music / Workshop - Beta Marketplace - Twitter


Top
#465323 - 04/18/17 10:59 Re: 2D Pixel Collision - AUM84 Update [Re: EVO]
preacherX Online
Senior Member

Registered: 09/09/05
Posts: 327
Loc: Germany
Nice one!

Top
#467479 - 08/05/17 05:36 Re: 2D Pixel Collision - AUM84 Update [Re: preacherX]
EVO Offline
Junior Member

Registered: 02/09/13
Posts: 74
Loc: Maysville, Ga
Update :
2D Pixel Collision v2 : Basic JRPG Starter Template
New version now available above.
_________________________
Games / Music / Workshop - Beta Marketplace - Twitter


Top


Moderator:  HeelX, Lukas, Rei_Ayanami, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net