Platform Builder Forums

Help and Support => Working with Platform Builder => Topic started by: Aeterna Games | Æ on April 23, 2020, 02:45:09 AM

Title: Show pictures or maps
Post by: Aeterna Games | Æ on April 23, 2020, 02:45:09 AM
Is there a way to show a picture like a map or something?
A map like Castlevania or Metroid or just a random picture?
I didn’t find any command for that.


Example:

(https://i.ibb.co/CWwvxFt/743431-AD-AC89-4-C84-8-B55-75-F2648602-CA.jpg) (https://ibb.co/XVWpmT4)
Title: Re: Show pictures or maps
Post by: CGM on April 23, 2020, 02:51:54 AM
You can spawn sprites (pictures) and manipulate them using X and Y commands. You can place spawn blocks and spawn them from there and over the player as well.
Title: Re: Show pictures or maps
Post by: Aeterna Games | Æ on April 23, 2020, 02:55:57 AM
Do u have any example Code for me?
Title: Re: Show pictures or maps
Post by: CGM on April 23, 2020, 03:39:06 AM
Spawn sprite 1, picture

That command tells PB to spawn a Sprite with an ID of 1 onto all nearby spawn blocks with an ID of picture.
You can upload a sprite from Game Setup.
Title: Re: Show pictures or maps
Post by: Aeterna Games | Æ on April 23, 2020, 01:48:08 PM
Thank u I will try it out later.
Title: Re: Show pictures or maps
Post by: Antikore on April 23, 2020, 02:24:19 PM
This will be easier if TingThing makes a better depth system.
Title: Re: Show pictures or maps
Post by: CGM on April 23, 2020, 05:51:17 PM
A better depth system? 3D tile depth? Or...what?
Title: Re: Show pictures or maps
Post by: Antikore on April 24, 2020, 08:38:51 AM
A better depth system? 3D tile depth? Or...what?
Like choosing what sprites should be above, and which ones below, and not just having BG and FG
Title: Re: Show pictures or maps
Post by: CGM on April 24, 2020, 06:43:07 PM
Oh! Layering system...Can you believe PB has gone on without that? It should be added someday, but I've been able to pull off complicated layering systems with PB's simple layering system.